Skip to content

Commit

Permalink
spec release
Browse files Browse the repository at this point in the history
  • Loading branch information
Adyen Automation committed May 22, 2024
1 parent 586d75a commit 87c58f7
Show file tree
Hide file tree
Showing 6 changed files with 81 additions and 55 deletions.
14 changes: 7 additions & 7 deletions json/BalancePlatformTransferNotification-v3.json
Original file line number Diff line number Diff line change
Expand Up @@ -466,15 +466,15 @@
"additionalProperties" : false,
"properties" : {
"status" : {
"description" : "Possible values:\n\n - **credited**: Transfer is credited to beneficiary.",
"description" : "The status of the transfer.\n\nPossible values:\n\n - **credited**: the funds are credited to your user's transfer instrument or bank account.",
"enum" : [
"credited"
],
"type" : "string"
},
"type" : {
"default" : "confirmation",
"description" : "**confirmation**",
"description" : "The type of the tracking event.\n\nPossible values:\n\n - **confirmation**: the transfer passed Adyen's internal review.",
"enum" : [
"confirmation"
],
Expand Down Expand Up @@ -550,7 +550,7 @@
},
"type" : {
"default" : "estimation",
"description" : "**estimation**",
"description" : "The type of tracking event. \n\nPossible values: \n\n- **estimation**: the estimated date and time of when the funds will be credited has been determined.",
"enum" : [
"estimation"
],
Expand Down Expand Up @@ -662,14 +662,14 @@
"additionalProperties" : false,
"properties" : {
"reason" : {
"description" : "Possible values:\n\n - **refusedForRegulatoryReasons**.",
"description" : "The reason why the transfer failed Adyen's internal review. \n\nPossible values:\n\n- **refusedForRegulatoryReasons**: the transfer does not comply with Adyen's risk policy. For more information, [contact the Support Team](https://www.adyen.help/hc/en-us/requests/new). ",
"enum" : [
"refusedForRegulatoryReasons"
],
"type" : "string"
},
"status" : {
"description" : "Possible values:\n\n - **pending**: Transfer is under internal review.\n\n- **failed**: Transfer failed to pass internal review. See field **reason** for details.\n\n",
"description" : "The status of the transfer.\n\nPossible values:\n\n - **pending**: the transfer is under internal review.\n\n- **failed**: the transfer failed Adyen's internal review. For details, see `reason`.\n\n",
"enum" : [
"pending",
"failed"
Expand All @@ -678,7 +678,7 @@
},
"type" : {
"default" : "internalReview",
"description" : "**internalReview**",
"description" : "The type of tracking event. \n\nPossible values: \n\n - **internalReview**: the transfer was flagged because it does not comply with Adyen's risk policy.",
"enum" : [
"internalReview"
],
Expand Down Expand Up @@ -1538,7 +1538,7 @@
},
"tracking" : {
"x-addedInVersion" : "3",
"description" : "Most recent tracking information for the transfer.",
"description" : "The latest tracking information of the transfer.",
"oneOf" : [
{
"$ref" : "#/components/schemas/ConfirmationTrackingData"
Expand Down
16 changes: 8 additions & 8 deletions json/BalancePlatformTransferNotification-v4.json
Original file line number Diff line number Diff line change
Expand Up @@ -493,15 +493,15 @@
"additionalProperties" : false,
"properties" : {
"status" : {
"description" : "Possible values:\n\n - **credited**: Transfer is credited to beneficiary.",
"description" : "The status of the transfer.\n\nPossible values:\n\n - **credited**: the funds are credited to your user's transfer instrument or bank account.",
"enum" : [
"credited"
],
"type" : "string"
},
"type" : {
"default" : "confirmation",
"description" : "**confirmation**",
"description" : "The type of the tracking event.\n\nPossible values:\n\n - **confirmation**: the transfer passed Adyen's internal review.",
"enum" : [
"confirmation"
],
Expand Down Expand Up @@ -577,7 +577,7 @@
},
"type" : {
"default" : "estimation",
"description" : "**estimation**",
"description" : "The type of tracking event. \n\nPossible values: \n\n- **estimation**: the estimated date and time of when the funds will be credited has been determined.",
"enum" : [
"estimation"
],
Expand Down Expand Up @@ -713,14 +713,14 @@
"additionalProperties" : false,
"properties" : {
"reason" : {
"description" : "Possible values:\n\n - **refusedForRegulatoryReasons**.",
"description" : "The reason why the transfer failed Adyen's internal review. \n\nPossible values:\n\n- **refusedForRegulatoryReasons**: the transfer does not comply with Adyen's risk policy. For more information, [contact the Support Team](https://www.adyen.help/hc/en-us/requests/new). ",
"enum" : [
"refusedForRegulatoryReasons"
],
"type" : "string"
},
"status" : {
"description" : "Possible values:\n\n - **pending**: Transfer is under internal review.\n\n- **failed**: Transfer failed to pass internal review. See field **reason** for details.\n\n",
"description" : "The status of the transfer.\n\nPossible values:\n\n - **pending**: the transfer is under internal review.\n\n- **failed**: the transfer failed Adyen's internal review. For details, see `reason`.\n\n",
"enum" : [
"pending",
"failed"
Expand All @@ -729,7 +729,7 @@
},
"type" : {
"default" : "internalReview",
"description" : "**internalReview**",
"description" : "The type of tracking event. \n\nPossible values: \n\n - **internalReview**: the transfer was flagged because it does not comply with Adyen's risk policy.",
"enum" : [
"internalReview"
],
Expand Down Expand Up @@ -1618,7 +1618,7 @@
},
"tracking" : {
"x-addedInVersion" : "3",
"description" : "Most recent tracking information for the transfer.",
"description" : "The latest tracking information of the transfer.",
"oneOf" : [
{
"$ref" : "#/components/schemas/ConfirmationTrackingData"
Expand Down Expand Up @@ -1714,7 +1714,7 @@
"x-addedInVersion" : "3",
"deprecated" : true,
"x-deprecatedInVersion" : "4",
"x-deprecatedMessage" : "This will be removed in v5. Please use **trackingData.estimatedArrivalTime**.",
"x-deprecatedMessage" : "This property will be removed in v5 and replaced by the [trackingData.estimatedArrivalTime](https://docs.adyen.com/api-explorer/transfer-webhooks/latest/post/balancePlatform.transfer.updated#request-data-tracking-EstimationTrackingData).",
"description" : "The estimated time the beneficiary should have access to the funds.",
"format" : "date-time",
"type" : "string"
Expand Down
16 changes: 8 additions & 8 deletions json/TransferService-v4.json
Original file line number Diff line number Diff line change
Expand Up @@ -1687,15 +1687,15 @@
"additionalProperties" : false,
"properties" : {
"status" : {
"description" : "Possible values:\n\n - **credited**: Transfer is credited to beneficiary.",
"description" : "The status of the transfer.\n\nPossible values:\n\n - **credited**: the funds are credited to your user's transfer instrument or bank account.",
"enum" : [
"credited"
],
"type" : "string"
},
"type" : {
"default" : "confirmation",
"description" : "**confirmation**",
"description" : "The type of the tracking event.\n\nPossible values:\n\n - **confirmation**: the transfer passed Adyen's internal review.",
"enum" : [
"confirmation"
],
Expand Down Expand Up @@ -1807,7 +1807,7 @@
},
"type" : {
"default" : "estimation",
"description" : "**estimation**",
"description" : "The type of tracking event. \n\nPossible values: \n\n- **estimation**: the estimated date and time of when the funds will be credited has been determined.",
"enum" : [
"estimation"
],
Expand Down Expand Up @@ -1973,14 +1973,14 @@
"additionalProperties" : false,
"properties" : {
"reason" : {
"description" : "Possible values:\n\n - **refusedForRegulatoryReasons**.",
"description" : "The reason why the transfer failed Adyen's internal review. \n\nPossible values:\n\n- **refusedForRegulatoryReasons**: the transfer does not comply with Adyen's risk policy. For more information, [contact the Support Team](https://www.adyen.help/hc/en-us/requests/new). ",
"enum" : [
"refusedForRegulatoryReasons"
],
"type" : "string"
},
"status" : {
"description" : "Possible values:\n\n - **pending**: Transfer is under internal review.\n\n- **failed**: Transfer failed to pass internal review. See field **reason** for details.\n\n",
"description" : "The status of the transfer.\n\nPossible values:\n\n - **pending**: the transfer is under internal review.\n\n- **failed**: the transfer failed Adyen's internal review. For details, see `reason`.\n\n",
"enum" : [
"pending",
"failed"
Expand All @@ -1989,7 +1989,7 @@
},
"type" : {
"default" : "internalReview",
"description" : "**internalReview**",
"description" : "The type of tracking event. \n\nPossible values: \n\n - **internalReview**: the transfer was flagged because it does not comply with Adyen's risk policy.",
"enum" : [
"internalReview"
],
Expand Down Expand Up @@ -3433,7 +3433,7 @@
},
"tracking" : {
"x-addedInVersion" : "3",
"description" : "Most recent tracking information for the transfer.",
"description" : "The latest tracking information of the transfer.",
"oneOf" : [
{
"$ref" : "#/components/schemas/ConfirmationTrackingData"
Expand Down Expand Up @@ -3529,7 +3529,7 @@
"x-addedInVersion" : "3",
"deprecated" : true,
"x-deprecatedInVersion" : "4",
"x-deprecatedMessage" : "This will be removed in v5. Please use **trackingData.estimatedArrivalTime**.",
"x-deprecatedMessage" : "This property will be removed in v5 and replaced by the [trackingData.estimatedArrivalTime](https://docs.adyen.com/api-explorer/transfer-webhooks/latest/post/balancePlatform.transfer.updated#request-data-tracking-EstimationTrackingData).",
"description" : "The estimated time the beneficiary should have access to the funds.",
"format" : "date-time",
"type" : "string"
Expand Down
28 changes: 18 additions & 10 deletions yaml/BalancePlatformTransferNotification-v3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -376,14 +376,15 @@ components:
additionalProperties: false
properties:
status:
description: "Possible values:\n\n - **credited**: Transfer is credited\
\ to beneficiary."
description: "The status of the transfer.\n\nPossible values:\n\n - **credited**:\
\ the funds are credited to your user's transfer instrument or bank account."
enum:
- credited
type: string
type:
default: confirmation
description: '**confirmation**'
description: "The type of the tracking event.\n\nPossible values:\n\n -\
\ **confirmation**: the transfer passed Adyen's internal review."
enum:
- confirmation
type: string
Expand Down Expand Up @@ -443,7 +444,9 @@ components:
type: string
type:
default: estimation
description: '**estimation**'
description: "The type of tracking event. \n\nPossible values: \n\n- **estimation**:\
\ the estimated date and time of when the funds will be credited has been\
\ determined."
enum:
- estimation
type: string
Expand Down Expand Up @@ -528,21 +531,26 @@ components:
additionalProperties: false
properties:
reason:
description: "Possible values:\n\n - **refusedForRegulatoryReasons**."
description: "The reason why the transfer failed Adyen's internal review.\
\ \n\nPossible values:\n\n- **refusedForRegulatoryReasons**: the transfer\
\ does not comply with Adyen's risk policy. For more information, [contact\
\ the Support Team](https://www.adyen.help/hc/en-us/requests/new). "
enum:
- refusedForRegulatoryReasons
type: string
status:
description: "Possible values:\n\n - **pending**: Transfer is under internal\
\ review.\n\n- **failed**: Transfer failed to pass internal review. See\
\ field **reason** for details.\n\n"
description: "The status of the transfer.\n\nPossible values:\n\n - **pending**:\
\ the transfer is under internal review.\n\n- **failed**: the transfer\
\ failed Adyen's internal review. For details, see `reason`.\n\n"
enum:
- pending
- failed
type: string
type:
default: internalReview
description: '**internalReview**'
description: "The type of tracking event. \n\nPossible values: \n\n - **internalReview**:\
\ the transfer was flagged because it does not comply with Adyen's risk\
\ policy."
enum:
- internalReview
type: string
Expand Down Expand Up @@ -1372,7 +1380,7 @@ components:
type: string
tracking:
x-addedInVersion: '3'
description: Most recent tracking information for the transfer.
description: The latest tracking information of the transfer.
oneOf:
- $ref: '#/components/schemas/ConfirmationTrackingData'
- $ref: '#/components/schemas/EstimationTrackingData'
Expand Down
31 changes: 20 additions & 11 deletions yaml/BalancePlatformTransferNotification-v4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -423,14 +423,15 @@ components:
additionalProperties: false
properties:
status:
description: "Possible values:\n\n - **credited**: Transfer is credited\
\ to beneficiary."
description: "The status of the transfer.\n\nPossible values:\n\n - **credited**:\
\ the funds are credited to your user's transfer instrument or bank account."
enum:
- credited
type: string
type:
default: confirmation
description: '**confirmation**'
description: "The type of the tracking event.\n\nPossible values:\n\n -\
\ **confirmation**: the transfer passed Adyen's internal review."
enum:
- confirmation
type: string
Expand Down Expand Up @@ -490,7 +491,9 @@ components:
type: string
type:
default: estimation
description: '**estimation**'
description: "The type of tracking event. \n\nPossible values: \n\n- **estimation**:\
\ the estimated date and time of when the funds will be credited has been\
\ determined."
enum:
- estimation
type: string
Expand Down Expand Up @@ -593,21 +596,26 @@ components:
additionalProperties: false
properties:
reason:
description: "Possible values:\n\n - **refusedForRegulatoryReasons**."
description: "The reason why the transfer failed Adyen's internal review.\
\ \n\nPossible values:\n\n- **refusedForRegulatoryReasons**: the transfer\
\ does not comply with Adyen's risk policy. For more information, [contact\
\ the Support Team](https://www.adyen.help/hc/en-us/requests/new). "
enum:
- refusedForRegulatoryReasons
type: string
status:
description: "Possible values:\n\n - **pending**: Transfer is under internal\
\ review.\n\n- **failed**: Transfer failed to pass internal review. See\
\ field **reason** for details.\n\n"
description: "The status of the transfer.\n\nPossible values:\n\n - **pending**:\
\ the transfer is under internal review.\n\n- **failed**: the transfer\
\ failed Adyen's internal review. For details, see `reason`.\n\n"
enum:
- pending
- failed
type: string
type:
default: internalReview
description: '**internalReview**'
description: "The type of tracking event. \n\nPossible values: \n\n - **internalReview**:\
\ the transfer was flagged because it does not comply with Adyen's risk\
\ policy."
enum:
- internalReview
type: string
Expand Down Expand Up @@ -1397,7 +1405,7 @@ components:
type: string
tracking:
x-addedInVersion: '3'
description: Most recent tracking information for the transfer.
description: The latest tracking information of the transfer.
oneOf:
- $ref: '#/components/schemas/ConfirmationTrackingData'
- $ref: '#/components/schemas/EstimationTrackingData'
Expand Down Expand Up @@ -1476,7 +1484,8 @@ components:
x-addedInVersion: '3'
deprecated: true
x-deprecatedInVersion: '4'
x-deprecatedMessage: This will be removed in v5. Please use **trackingData.estimatedArrivalTime**.
x-deprecatedMessage: This property will be removed in v5 and replaced by
the [trackingData.estimatedArrivalTime](https://docs.adyen.com/api-explorer/transfer-webhooks/latest/post/balancePlatform.transfer.updated#request-data-tracking-EstimationTrackingData).
description: The estimated time the beneficiary should have access to the
funds.
format: date-time
Expand Down
Loading

0 comments on commit 87c58f7

Please sign in to comment.