Skip to content

Commit

Permalink
spec release
Browse files Browse the repository at this point in the history
  • Loading branch information
Adyen Automation committed Oct 27, 2023
1 parent 32e0b22 commit a8688f4
Show file tree
Hide file tree
Showing 12 changed files with 335 additions and 198 deletions.
5 changes: 4 additions & 1 deletion json/BalancePlatformAcsNotification-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@
"General"
],
"tags" : [
],
{
"name" : "General"
}
],
"webhooks" : {
"balancePlatform.authentication.created" : {
"post" : {
Expand Down
8 changes: 7 additions & 1 deletion json/BalancePlatformPaymentNotification-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,13 @@
"Fund movements"
],
"tags" : [
],
{
"name" : "Payment authorisation, refund, or funds transfer initiated"
},
{
"name" : "Fund movements"
}
],
"x-staticResponse" : "response.json",
"webhooks" : {
"balancePlatform.incomingTransfer.created" : {
Expand Down
10 changes: 6 additions & 4 deletions json/BalancePlatformTransferNotification-v3.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@
"General"
],
"tags" : [
],
{
"name" : "General"
}
],
"x-staticResponse" : "response.json",
"webhooks" : {
"balancePlatform.transfer.created" : {
Expand Down Expand Up @@ -505,8 +508,8 @@
"additionalProperties" : false,
"properties" : {
"accountNumber" : {
"description" : "The 9- to 12-character bank account number (alphanumeric), without separators or whitespace. Starts with the 3-digit branch code.",
"maxLength" : 12,
"description" : "The 9- to 15-character bank account number (alphanumeric), without separators or whitespace. Starts with the 3-digit branch code.",
"maxLength" : 15,
"minLength" : 9,
"type" : "string"
},
Expand Down Expand Up @@ -1252,7 +1255,6 @@
"description" : "The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Required for transfers with `category` **bank**.\n\nPossible values:\n\n* **regular**: For normal, low-value transactions.\n\n* **fast**: Faster way to transfer funds but has higher fees. Recommended for high-priority, low-value transactions.\n\n* **wire**: Fastest way to transfer funds but has the highest fees. Recommended for high-priority, high-value transactions.\n\n* **instant**: Instant way to transfer funds in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html).\n\n* **crossBorder**: High-value transfer to a recipient in a different country.\n\n* **internal**: Transfer to an Adyen-issued business bank account (by bank account number/IBAN). This will be removed in v4 and replaced with a new field.",
"enum" : [
"crossBorder",
"directDebit",
"fast",
"instant",
"internal",
Expand Down
40 changes: 9 additions & 31 deletions json/TransferService-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,14 @@
"Capital"
],
"tags" : [
{
"name" : "Transfers"
},
{
"name" : "Transactions"
},
{
"name" : "Transfers"
"name" : "Capital"
}
],
"paths" : {
Expand Down Expand Up @@ -207,7 +210,7 @@
],
"parameters" : [
{
"description" : "Unique identifier of the transaction.",
"description" : "The unique identifier of the transaction.",
"name" : "id",
"in" : "path",
"required" : true,
Expand All @@ -221,7 +224,7 @@
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/TransactionData"
"$ref" : "#/components/schemas/Transaction"
}
}
},
Expand Down Expand Up @@ -522,31 +525,6 @@
],
"type" : "object"
},
"JSONObject" : {
"properties" : {
"paths" : {
"items" : {
"$ref" : "#/components/schemas/JSONPath"
},
"type" : "array"
},
"rootPath" : {
"$ref" : "#/components/schemas/JSONPath"
}
},
"type" : "object"
},
"JSONPath" : {
"properties" : {
"content" : {
"items" : {
"type" : "string"
},
"type" : "array"
}
},
"type" : "object"
},
"Link" : {
"properties" : {
"href" : {
Expand Down Expand Up @@ -683,7 +661,7 @@
},
"response" : {
"description" : "JSON response payload.",
"$ref" : "#/components/schemas/JSONObject"
"type" : "object"
},
"status" : {
"description" : "The HTTP status code.",
Expand Down Expand Up @@ -734,7 +712,7 @@
},
"type" : "object"
},
"TransactionData" : {
"Transaction" : {
"properties" : {
"accountHolderId" : {
"x-addedInVersion" : "1",
Expand Down Expand Up @@ -909,7 +887,7 @@
"data" : {
"description" : "Contains the transactions that match the query parameters.",
"items" : {
"$ref" : "#/components/schemas/TransactionData"
"$ref" : "#/components/schemas/Transaction"
},
"type" : "array"
}
Expand Down
41 changes: 9 additions & 32 deletions json/TransferService-v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,14 @@
"Capital"
],
"tags" : [
{
"name" : "Transfers"
},
{
"name" : "Transactions"
},
{
"name" : "Transfers"
"name" : "Capital"
}
],
"paths" : {
Expand Down Expand Up @@ -212,7 +215,7 @@
],
"parameters" : [
{
"description" : "Unique identifier of the transaction.",
"description" : "The unique identifier of the transaction.",
"name" : "id",
"in" : "path",
"required" : true,
Expand All @@ -231,7 +234,7 @@
}
},
"schema" : {
"$ref" : "#/components/schemas/TransactionData"
"$ref" : "#/components/schemas/Transaction"
}
}
},
Expand Down Expand Up @@ -482,7 +485,6 @@
"description" : "The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. If you don't provide this in the request, Adyen sets the optimal priority.\n\nPossible values:\n\n* **regular**: For normal, low-value transactions.\n\n* **fast**: Faster way to transfer funds but has higher fees. Recommended for high-priority, low-value transactions.\n\n* **wire**: Fastest way to transfer funds but has the highest fees. Recommended for high-priority, high-value transactions.\n\n* **instant**: Instant way to transfer funds in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html).\n\n* **crossBorder**: High-value transfer to a recipient in a different country.\n\n* **internal**: Transfer to an Adyen-issued business bank account (by bank account number/IBAN).",
"enum" : [
"crossBorder",
"directDebit",
"fast",
"instant",
"internal",
Expand Down Expand Up @@ -571,31 +573,6 @@
],
"type" : "object"
},
"JSONObject" : {
"properties" : {
"paths" : {
"items" : {
"$ref" : "#/components/schemas/JSONPath"
},
"type" : "array"
},
"rootPath" : {
"$ref" : "#/components/schemas/JSONPath"
}
},
"type" : "object"
},
"JSONPath" : {
"properties" : {
"content" : {
"items" : {
"type" : "string"
},
"type" : "array"
}
},
"type" : "object"
},
"Link" : {
"properties" : {
"href" : {
Expand Down Expand Up @@ -719,7 +696,7 @@
},
"response" : {
"description" : "JSON response payload.",
"$ref" : "#/components/schemas/JSONObject"
"type" : "object"
},
"status" : {
"description" : "The HTTP status code.",
Expand Down Expand Up @@ -770,7 +747,7 @@
},
"type" : "object"
},
"TransactionData" : {
"Transaction" : {
"properties" : {
"accountHolderId" : {
"x-addedInVersion" : "1",
Expand Down Expand Up @@ -945,7 +922,7 @@
"data" : {
"description" : "Contains the transactions that match the query parameters.",
"items" : {
"$ref" : "#/components/schemas/TransactionData"
"$ref" : "#/components/schemas/Transaction"
},
"type" : "array"
}
Expand Down
Loading

0 comments on commit a8688f4

Please sign in to comment.