Skip to content

Commit

Permalink
spec release
Browse files Browse the repository at this point in the history
  • Loading branch information
Adyen Automation committed Sep 8, 2023
1 parent e4345c3 commit f95bb24
Show file tree
Hide file tree
Showing 6 changed files with 200 additions and 0 deletions.
36 changes: 36 additions & 0 deletions json/LegalEntityService-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2770,6 +2770,11 @@
"requestBody" : {
"content" : {
"application/json" : {
"examples" : {
"updateTransferInstrument" : {
"$ref" : "#/components/examples/patch-transferInstruments-id-updateTransferInstrument"
}
},
"schema" : {
"$ref" : "#/components/schemas/TransferInstrumentInfo"
}
Expand Down Expand Up @@ -2800,6 +2805,11 @@
"200" : {
"content" : {
"application/json" : {
"examples" : {
"updateTransferInstrument" : {
"$ref" : "#/components/examples/patch-transferInstruments-id-updateTransferInstrument-200"
}
},
"schema" : {
"$ref" : "#/components/schemas/TransferInstrument"
}
Expand Down Expand Up @@ -5008,6 +5018,32 @@
"id" : "YOUR_LEGAL_ENTITY_2"
}
},
"patch-transferInstruments-id-updateTransferInstrument" : {
"summary" : "Update a transfer instrument",
"description" : "Example request for updating a transfer instrument",
"value" : {
"bankAccount" : {
"currencyCode" : "EUR",
"iban" : "NL02ABNA0123456789"
},
"legalEntityId" : "YOUR_LEGAL_ENTITY",
"type" : "bankAccount"
}
},
"patch-transferInstruments-id-updateTransferInstrument-200" : {
"summary" : "Transfer instrument updated",
"description" : "Example response for updating a transfer instrument",
"value" : {
"bankAccount" : {
"countryCode" : "NL",
"currencyCode" : "EUR",
"iban" : "NL02ABNA0123456789"
},
"legalEntityId" : "YOUR_LEGAL_ENTITY",
"type" : "bankAccount",
"id" : "SE576BH223222F5GJVKHH6BDT"
}
},
"post-businessLines-createBusinessLines-businessAccounts" : {
"summary" : "Create a business line for a business account",
"description" : "Example request for creating a business line for a business account",
Expand Down
36 changes: 36 additions & 0 deletions json/LegalEntityService-v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -2896,6 +2896,11 @@
"requestBody" : {
"content" : {
"application/json" : {
"examples" : {
"updateTransferInstrument" : {
"$ref" : "#/components/examples/patch-transferInstruments-id-updateTransferInstrument"
}
},
"schema" : {
"$ref" : "#/components/schemas/TransferInstrumentInfo"
}
Expand Down Expand Up @@ -2926,6 +2931,11 @@
"200" : {
"content" : {
"application/json" : {
"examples" : {
"updateTransferInstrument" : {
"$ref" : "#/components/examples/patch-transferInstruments-id-updateTransferInstrument-200"
}
},
"schema" : {
"$ref" : "#/components/schemas/TransferInstrument"
}
Expand Down Expand Up @@ -5492,6 +5502,32 @@
"id" : "YOUR_LEGAL_ENTITY_1"
}
},
"patch-transferInstruments-id-updateTransferInstrument" : {
"summary" : "Update a transfer instrument",
"description" : "Example request for updating a transfer instrument",
"value" : {
"bankAccount" : {
"currencyCode" : "EUR",
"iban" : "NL02ABNA0123456789"
},
"legalEntityId" : "YOUR_LEGAL_ENTITY",
"type" : "bankAccount"
}
},
"patch-transferInstruments-id-updateTransferInstrument-200" : {
"summary" : "Transfer instrument updated",
"description" : "Example response for updating a transfer instrument",
"value" : {
"bankAccount" : {
"countryCode" : "NL",
"currencyCode" : "EUR",
"iban" : "NL02ABNA0123456789"
},
"legalEntityId" : "YOUR_LEGAL_ENTITY",
"type" : "bankAccount",
"id" : "SE576BH223222F5GJVKHH6BDT"
}
},
"post-businessLines-createBusinessLines-businessAccounts" : {
"summary" : "Create a business line for a business account",
"description" : "Example request for creating a business line for a business account",
Expand Down
44 changes: 44 additions & 0 deletions json/LegalEntityService-v3.json
Original file line number Diff line number Diff line change
Expand Up @@ -3004,6 +3004,11 @@
"requestBody" : {
"content" : {
"application/json" : {
"examples" : {
"updateTransferInstrument" : {
"$ref" : "#/components/examples/patch-transferInstruments-id-updateTransferInstrument"
}
},
"schema" : {
"$ref" : "#/components/schemas/TransferInstrumentInfo"
}
Expand Down Expand Up @@ -3034,6 +3039,11 @@
"200" : {
"content" : {
"application/json" : {
"examples" : {
"updateTransferInstrument" : {
"$ref" : "#/components/examples/patch-transferInstruments-id-updateTransferInstrument-200"
}
},
"schema" : {
"$ref" : "#/components/schemas/TransferInstrument"
}
Expand Down Expand Up @@ -3335,6 +3345,10 @@
"description" : "The type of bank account.",
"type" : "string"
},
"bankName" : {
"description" : "The name of the banking institution where the bank account is held.",
"type" : "string"
},
"countryCode" : {
"description" : "The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the bank account is registered. For example, **NL**.",
"type" : "string"
Expand Down Expand Up @@ -6230,6 +6244,36 @@
"id" : "YOUR_LEGAL_ENTITY_1"
}
},
"patch-transferInstruments-id-updateTransferInstrument" : {
"summary" : "Update a transfer instrument",
"description" : "Example request for updating a transfer instrument",
"value" : {
"bankAccount" : {
"accountIdentification" : {
"type" : "iban",
"iban" : "NL02ABNA0123456789"
}
},
"legalEntityId" : "YOUR_LEGAL_ENTITY",
"type" : "bankAccount"
}
},
"patch-transferInstruments-id-updateTransferInstrument-200" : {
"summary" : "Transfer instrument updated",
"description" : "Example response for updating a transfer instrument",
"value" : {
"bankAccount" : {
"accountIdentification" : {
"type" : "iban",
"iban" : "NL02ABNA0123456789"
},
"countryCode" : "NL"
},
"legalEntityId" : "YOUR_LEGAL_ENTITY",
"type" : "bankAccount",
"id" : "SE322KH223222F5GXZFNM3BGP"
}
},
"post-businessLines-createBusinessLines-businessAccounts" : {
"summary" : "Create a business line for a business account",
"description" : "Example request for creating a business line for a business account",
Expand Down
26 changes: 26 additions & 0 deletions yaml/LegalEntityService-v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1739,6 +1739,9 @@ paths:
requestBody:
content:
application/json:
examples:
updateTransferInstrument:
$ref: '#/components/examples/patch-transferInstruments-id-updateTransferInstrument'
schema:
$ref: '#/components/schemas/TransferInstrumentInfo'
parameters:
Expand All @@ -1760,6 +1763,9 @@ paths:
'200':
content:
application/json:
examples:
updateTransferInstrument:
$ref: '#/components/examples/patch-transferInstruments-id-updateTransferInstrument-200'
schema:
$ref: '#/components/schemas/TransferInstrument'
description: OK - the request has succeeded.
Expand Down Expand Up @@ -3708,6 +3714,26 @@ components:
type: listedPublicCompany
type: organization
id: YOUR_LEGAL_ENTITY_2
patch-transferInstruments-id-updateTransferInstrument:
summary: Update a transfer instrument
description: Example request for updating a transfer instrument
value:
bankAccount:
currencyCode: EUR
iban: NL02ABNA0123456789
legalEntityId: YOUR_LEGAL_ENTITY
type: bankAccount
patch-transferInstruments-id-updateTransferInstrument-200:
summary: Transfer instrument updated
description: Example response for updating a transfer instrument
value:
bankAccount:
countryCode: NL
currencyCode: EUR
iban: NL02ABNA0123456789
legalEntityId: YOUR_LEGAL_ENTITY
type: bankAccount
id: SE576BH223222F5GJVKHH6BDT
post-businessLines-createBusinessLines-businessAccounts:
summary: Create a business line for a business account
description: Example request for creating a business line for a business account
Expand Down
26 changes: 26 additions & 0 deletions yaml/LegalEntityService-v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1815,6 +1815,9 @@ paths:
requestBody:
content:
application/json:
examples:
updateTransferInstrument:
$ref: '#/components/examples/patch-transferInstruments-id-updateTransferInstrument'
schema:
$ref: '#/components/schemas/TransferInstrumentInfo'
parameters:
Expand All @@ -1836,6 +1839,9 @@ paths:
'200':
content:
application/json:
examples:
updateTransferInstrument:
$ref: '#/components/examples/patch-transferInstruments-id-updateTransferInstrument-200'
schema:
$ref: '#/components/schemas/TransferInstrument'
description: OK - the request has succeeded.
Expand Down Expand Up @@ -4104,6 +4110,26 @@ components:
street: Simon Carmiggeltstraat 6 - 50
type: individual
id: YOUR_LEGAL_ENTITY_1
patch-transferInstruments-id-updateTransferInstrument:
summary: Update a transfer instrument
description: Example request for updating a transfer instrument
value:
bankAccount:
currencyCode: EUR
iban: NL02ABNA0123456789
legalEntityId: YOUR_LEGAL_ENTITY
type: bankAccount
patch-transferInstruments-id-updateTransferInstrument-200:
summary: Transfer instrument updated
description: Example response for updating a transfer instrument
value:
bankAccount:
countryCode: NL
currencyCode: EUR
iban: NL02ABNA0123456789
legalEntityId: YOUR_LEGAL_ENTITY
type: bankAccount
id: SE576BH223222F5GJVKHH6BDT
post-businessLines-createBusinessLines-businessAccounts:
summary: Create a business line for a business account
description: Example request for creating a business line for a business account
Expand Down
32 changes: 32 additions & 0 deletions yaml/LegalEntityService-v3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1881,6 +1881,9 @@ paths:
requestBody:
content:
application/json:
examples:
updateTransferInstrument:
$ref: '#/components/examples/patch-transferInstruments-id-updateTransferInstrument'
schema:
$ref: '#/components/schemas/TransferInstrumentInfo'
parameters:
Expand All @@ -1902,6 +1905,9 @@ paths:
'200':
content:
application/json:
examples:
updateTransferInstrument:
$ref: '#/components/examples/patch-transferInstruments-id-updateTransferInstrument-200'
schema:
$ref: '#/components/schemas/TransferInstrument'
description: OK - the request has succeeded.
Expand Down Expand Up @@ -2126,6 +2132,10 @@ components:
x-deprecatedInVersion: '2'
description: The type of bank account.
type: string
bankName:
description: The name of the banking institution where the bank account
is held.
type: string
countryCode:
description: The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
country code where the bank account is registered. For example, **NL**.
Expand Down Expand Up @@ -4681,6 +4691,28 @@ components:
street: Simon Carmiggeltstraat 6 - 50
type: individual
id: YOUR_LEGAL_ENTITY_1
patch-transferInstruments-id-updateTransferInstrument:
summary: Update a transfer instrument
description: Example request for updating a transfer instrument
value:
bankAccount:
accountIdentification:
type: iban
iban: NL02ABNA0123456789
legalEntityId: YOUR_LEGAL_ENTITY
type: bankAccount
patch-transferInstruments-id-updateTransferInstrument-200:
summary: Transfer instrument updated
description: Example response for updating a transfer instrument
value:
bankAccount:
accountIdentification:
type: iban
iban: NL02ABNA0123456789
countryCode: NL
legalEntityId: YOUR_LEGAL_ENTITY
type: bankAccount
id: SE322KH223222F5GXZFNM3BGP
post-businessLines-createBusinessLines-businessAccounts:
summary: Create a business line for a business account
description: Example request for creating a business line for a business account
Expand Down

0 comments on commit f95bb24

Please sign in to comment.