Files
adyen-openapi/yaml/MarketPayNotificationService-v5.yaml
Adyen Automation 8e528c4487 spec release
2024-09-16 13:58:33 +02:00

4603 lines
168 KiB
YAML

openapi: 3.1.0
info:
version: '5'
x-publicVersion: true
title: Classic Platforms - Notifications
description: "This API is used for the classic integration. If you are just starting\
\ your implementation, refer to our [new integration guide](https://docs.adyen.com/adyen-for-platforms-model)\
\ instead.\n\nThe Notification API sends notifications to the endpoints specified\
\ in a given subscription. \nSubscriptions are managed through the Notification\
\ Configuration API. The API specifications listed here detail the format of each\
\ notification.\n\nFor more information, refer to our [documentation](https://docs.adyen.com/classic-platforms/notifications)."
termsOfService: https://www.adyen.com/legal/terms-and-conditions
contact:
name: Adyen Developer Experience team
url: https://github.com/Adyen/adyen-openapi
tags:
- name: Account holders
- name: Accounts
- name: Fund management
- name: Other
webhooks:
/ACCOUNT_CLOSED:
post:
tags:
- Accounts
summary: Account closed
description: Adyen sends this webhook when [an account is closed](https://docs.adyen.com/api-explorer/#/Account/latest/post/closeAccount).
operationId: post-ACCOUNT_CLOSED
x-sortIndex: 3
x-methodName: accountClosed
security:
- BasicAuth: []
requestBody:
content:
application/json:
examples:
accountClosed:
$ref: '#/components/examples/post-ACCOUNT_CLOSED-accountClosed'
schema:
$ref: '#/components/schemas/AccountCloseNotification'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/NotificationResponse'
description: OK - the request has succeeded.
/ACCOUNT_CREATED:
post:
tags:
- Accounts
summary: Account created
description: Adyen sends this webhook when [an account is created](https://docs.adyen.com/api-explorer/#/Account/latest/post/createAccount).
operationId: post-ACCOUNT_CREATED
x-sortIndex: 1
x-methodName: accountCreated
security:
- BasicAuth: []
requestBody:
content:
application/json:
examples:
accountCreated:
$ref: '#/components/examples/post-ACCOUNT_CREATED-accountCreated'
schema:
$ref: '#/components/schemas/AccountCreateNotification'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/NotificationResponse'
description: OK - the request has succeeded.
/ACCOUNT_FUNDS_BELOW_THRESHOLD:
post:
tags:
- Fund management
summary: Liable account's funds are below configured threshold
description: Adyen sends this notification when the current funds of your liable
account are below the configured threshold.
operationId: post-ACCOUNT_FUNDS_BELOW_THRESHOLD
x-sortIndex: 7
x-methodName: liableAccountsFundsAreBelowConfiguredThreshold
security:
- BasicAuth: []
requestBody:
content:
application/json:
examples:
accountFundsBelowThreshold:
$ref: '#/components/examples/post-ACCOUNT_FUNDS_BELOW_THRESHOLD-accountFundsBelowThreshold'
schema:
$ref: '#/components/schemas/AccountFundsBelowThresholdNotification'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/NotificationResponse'
description: OK - the request has succeeded.
/ACCOUNT_HOLDER_CREATED:
post:
tags:
- Account holders
summary: Account holder created
description: Adyen sends this webhook when [an account holder is created](https://docs.adyen.com/api-explorer/#/Account/latest/post/createAccountHolder).
operationId: post-ACCOUNT_HOLDER_CREATED
x-sortIndex: 1
x-methodName: accountHolderCreated
security:
- BasicAuth: []
requestBody:
content:
application/json:
examples:
accountHolderCreated-businesses:
$ref: '#/components/examples/post-ACCOUNT_HOLDER_CREATED-accountHolderCreated-businesses'
accountHolderCreated-failed:
$ref: '#/components/examples/post-ACCOUNT_HOLDER_CREATED-accountHolderCreated-failed'
accountHolderCreated-individuals:
$ref: '#/components/examples/post-ACCOUNT_HOLDER_CREATED-accountHolderCreated-individuals'
schema:
$ref: '#/components/schemas/AccountHolderCreateNotification'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/NotificationResponse'
description: OK - the request has succeeded.
/ACCOUNT_HOLDER_PAYOUT:
post:
tags:
- Fund management
summary: Paid out to account holder
description: Adyen sends this notification when a [payout request](https://docs.adyen.com/api-explorer/#/Fund/latest/post/payoutAccountHolder)
to an account holder is processed and the payout is scheduled.
operationId: post-ACCOUNT_HOLDER_PAYOUT
x-sortIndex: 1
x-methodName: paidOutToAccountHolder
security:
- BasicAuth: []
requestBody:
content:
application/json:
examples:
accountHolderPayout-failed:
$ref: '#/components/examples/post-ACCOUNT_HOLDER_PAYOUT-accountHolderPayout-failed'
accountHolderPayout-initiated:
$ref: '#/components/examples/post-ACCOUNT_HOLDER_PAYOUT-accountHolderPayout-initiated'
schema:
$ref: '#/components/schemas/AccountHolderPayoutNotification'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/NotificationResponse'
description: OK - the request has succeeded.
/ACCOUNT_HOLDER_STATUS_CHANGE:
post:
tags:
- Account holders
summary: Account holder status changed
description: Adyen sends this webhook when [the status of an account holder
is changed](https://docs.adyen.com/api-explorer/#/Account/latest/post/updateAccountHolderState).
operationId: post-ACCOUNT_HOLDER_STATUS_CHANGE
x-sortIndex: 4
x-methodName: accountHolderStatusChanged
security:
- BasicAuth: []
requestBody:
content:
application/json:
examples:
accountHolderStatusChange:
$ref: '#/components/examples/post-ACCOUNT_HOLDER_STATUS_CHANGE-accountHolderStatusChange'
schema:
$ref: '#/components/schemas/AccountHolderStatusChangeNotification'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/NotificationResponse'
description: OK - the request has succeeded.
/ACCOUNT_HOLDER_STORE_STATUS_CHANGE:
post:
tags:
- Account holders
summary: Store status changed
description: Adyen sends this webhook when [the status of a store](https://docs.adyen.com/api-explorer/#/Account/latest/post/createAccountHolder__reqParam_accountHolderDetails-storeDetails-status)
associated with an account holder is changed.
operationId: post-ACCOUNT_HOLDER_STORE_STATUS_CHANGE
x-sortIndex: 4
x-methodName: storeStatusChanged
security:
- BasicAuth: []
requestBody:
content:
application/json:
examples:
accountHolderStoreStatusChange:
$ref: '#/components/examples/post-ACCOUNT_HOLDER_STORE_STATUS_CHANGE-accountHolderStoreStatusChange'
schema:
$ref: '#/components/schemas/AccountHolderStoreStatusChangeNotification'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/NotificationResponse'
description: OK - the request has succeeded.
/ACCOUNT_HOLDER_UPCOMING_DEADLINE:
post:
tags:
- Account holders
summary: Upcoming deadline
description: Adyen sends this notification when an account holder's deadline
to fulfill the requirements of a specific event is coming up.
operationId: post-ACCOUNT_HOLDER_UPCOMING_DEADLINE
x-sortIndex: 1
x-methodName: upcomingDeadline
security:
- BasicAuth: []
requestBody:
content:
application/json:
examples:
accountHolderUpcomingDeadline:
$ref: '#/components/examples/post-ACCOUNT_HOLDER_UPCOMING_DEADLINE-accountHolderUpcomingDeadline'
schema:
$ref: '#/components/schemas/AccountHolderUpcomingDeadlineNotification'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/NotificationResponse'
description: OK - the request has succeeded.
/ACCOUNT_HOLDER_UPDATED:
post:
tags:
- Account holders
summary: Account holder updated
description: Adyen sends this webhook when [an account holder is updated](https://docs.adyen.com/api-explorer/#/Account/latest/post/updateAccountHolder).
operationId: post-ACCOUNT_HOLDER_UPDATED
x-sortIndex: 2
x-methodName: accountHolderUpdated
security:
- BasicAuth: []
requestBody:
content:
application/json:
examples:
accountHolderUpdated:
$ref: '#/components/examples/post-ACCOUNT_HOLDER_UPDATED-accountHolderUpdated'
schema:
$ref: '#/components/schemas/AccountHolderUpdateNotification'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/NotificationResponse'
description: OK - the request has succeeded.
/ACCOUNT_HOLDER_VERIFICATION:
post:
tags:
- Account holders
summary: Verification results received
description: Adyen sends this webhook when verification results are available.
operationId: post-ACCOUNT_HOLDER_VERIFICATION
x-sortIndex: 3
x-methodName: verificationResultsReceived
security:
- BasicAuth: []
requestBody:
content:
application/json:
examples:
accountHolderVerification:
$ref: '#/components/examples/post-ACCOUNT_HOLDER_VERIFICATION-accountHolderVerification'
schema:
$ref: '#/components/schemas/AccountHolderVerificationNotification'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/NotificationResponse'
description: OK - the request has succeeded.
/ACCOUNT_UPDATED:
post:
tags:
- Accounts
summary: Account updated
description: Adyen sends this webhook when [an account is updated](https://docs.adyen.com/api-explorer/#/Account/latest/post/updateAccount).
operationId: post-ACCOUNT_UPDATED
x-sortIndex: 2
x-methodName: accountUpdated
security:
- BasicAuth: []
requestBody:
content:
application/json:
examples:
accountUpdated:
$ref: '#/components/examples/post-ACCOUNT_UPDATED-accountUpdated'
schema:
$ref: '#/components/schemas/AccountUpdateNotification'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/NotificationResponse'
description: OK - the request has succeeded.
/BENEFICIARY_SETUP:
post:
tags:
- Fund management
summary: Beneficiary defined
description: Adyen sends this notification when a [benefactor/beneficiary relationship
is created](https://docs.adyen.com/api-explorer/#/Fund/latest/post/transferFunds).
operationId: post-BENEFICIARY_SETUP
x-sortIndex: 3
x-methodName: beneficiaryDefined
security:
- BasicAuth: []
requestBody:
content:
application/json:
examples:
beneficiarySetup:
$ref: '#/components/examples/post-BENEFICIARY_SETUP-beneficiarySetup'
schema:
$ref: '#/components/schemas/BeneficiarySetupNotification'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/NotificationResponse'
description: OK - the request has succeeded.
/COMPENSATE_NEGATIVE_BALANCE:
post:
tags:
- Fund management
summary: Negative account balances compensated
description: Adyen sends this notification when funds are transferred from your
platform's liable account to an overdrawn account to compensate for the overdraft.
operationId: post-COMPENSATE_NEGATIVE_BALANCE
x-sortIndex: 5
x-methodName: negativeAccountBalancesCompensated
security:
- BasicAuth: []
requestBody:
content:
application/json:
examples:
compensateNegativeBalance:
$ref: '#/components/examples/post-COMPENSATE_NEGATIVE_BALANCE-compensateNegativeBalance'
schema:
$ref: '#/components/schemas/CompensateNegativeBalanceNotification'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/NotificationResponse'
description: OK - the request has succeeded.
/DIRECT_DEBIT_INITIATED:
post:
tags:
- Fund management
summary: Automated direct debit initiated
description: Adyen sends this notification when a [direct debit is initiated](https://docs.adyen.com/api-explorer/#/Fund/latest/post/debitAccountHolder).
operationId: post-DIRECT_DEBIT_INITIATED
x-sortIndex: 7
x-methodName: automatedDirectDebitInitiated
security:
- BasicAuth: []
requestBody:
content:
application/json:
examples:
directDebitInitiated:
$ref: '#/components/examples/post-DIRECT_DEBIT_INITIATED-directDebitInitiated'
schema:
$ref: '#/components/schemas/DirectDebitInitiatedNotification'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/NotificationResponse'
description: OK - the request has succeeded.
/PAYMENT_FAILURE:
post:
tags:
- Other
summary: Booking for a capture or refund failed
description: Adyen sends this notification when a [split payment](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information)
booking for a capture or refund fails. When a booking fails due to an invalid
account status or an unknown `accountCode`, the funds are credited or debited
to or fromyour platform's liable account instead of the account specified
in the split data.
operationId: post-PAYMENT_FAILURE
x-sortIndex: 1
x-methodName: bookingForCaptureOrRefundFailed
security:
- BasicAuth: []
requestBody:
content:
application/json:
examples:
paymentFailure:
$ref: '#/components/examples/post-PAYMENT_FAILURE-paymentFailure'
schema:
$ref: '#/components/schemas/PaymentFailureNotification'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/NotificationResponse'
description: OK - the request has succeeded.
/REFUND_FUNDS_TRANSFER:
post:
tags:
- Fund management
summary: Funds transfer between accounts refunded
description: Adyen sends this notification when [funds transferred between accounts
are refunded](https://docs.adyen.com/api-explorer/#/Fund/v6/latest/refundFundsTransfer).
operationId: post-REFUND_FUNDS_TRANSFER
x-sortIndex: 6
x-methodName: fundsTransferBetweenAccountsRefunded
security:
- BasicAuth: []
requestBody:
content:
application/json:
examples:
refundFundsTransfer:
$ref: '#/components/examples/post-REFUND_FUNDS_TRANSFER-refundFundsTransfer'
schema:
$ref: '#/components/schemas/RefundFundsTransferNotification'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/NotificationResponse'
description: OK - the request has succeeded.
/REPORT_AVAILABLE:
post:
tags:
- Other
summary: Report available
description: Adyen sends this notification when a report has been generated
and it is available for download.
operationId: post-REPORT_AVAILABLE
x-sortIndex: 2
x-methodName: reportAvailable
security:
- BasicAuth: []
requestBody:
content:
application/json:
examples:
reportAvailable:
$ref: '#/components/examples/post-REPORT_AVAILABLE-reportAvailable'
schema:
$ref: '#/components/schemas/ReportAvailableNotification'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/NotificationResponse'
description: OK - the request has succeeded.
/SCHEDULED_REFUNDS:
post:
tags:
- Fund management
summary: '''Refund Transfers Not Paid Out'' call processed and refunds scheduled'
description: Adyen sends this notification when a request to [refund transfers
that are not yet paid out](https://docs.adyen.com/api-explorer/#/Fund/latest/refundNotPaidOutTransfers)
is processed and the associated refunds are scheduled.
operationId: post-SCHEDULED_REFUNDS
x-sortIndex: 4
x-methodName: refundTransfersNotPaidOutCallProcessedAndRefundsScheduled
security:
- BasicAuth: []
requestBody:
content:
application/json:
examples:
scheduledRefunds:
$ref: '#/components/examples/post-SCHEDULED_REFUNDS-scheduledRefunds'
schema:
$ref: '#/components/schemas/ScheduledRefundsNotification'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/NotificationResponse'
description: OK - the request has succeeded.
/TRANSFER_FUNDS:
post:
tags:
- Fund management
summary: Funds transferred between accounts
description: Adyen sends this notification when [funds are transferred between
accounts](https://docs.adyen.com/api-explorer/#/Fund/latest/post/transferFunds).
operationId: post-TRANSFER_FUNDS
x-sortIndex: 2
x-methodName: fundsTransferredBetweenAccounts
security:
- BasicAuth: []
requestBody:
content:
application/json:
examples:
transferFunds:
$ref: '#/components/examples/post-TRANSFER_FUNDS-transferFunds'
schema:
$ref: '#/components/schemas/TransferFundsNotification'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/NotificationResponse'
description: OK - the request has succeeded.
components:
schemas:
AccountCloseNotification:
additionalProperties: false
properties:
content:
description: The details of the Account update.
$ref: '#/components/schemas/CloseAccountResponse'
error:
x-addedInVersion: '5'
description: Error information of failed request. No value provided here
if no error occurred on processing.
$ref: '#/components/schemas/NotificationErrorContainer'
eventDate:
x-addedInVersion: '4'
description: The date and time when an event has been completed.
format: date-time
type: string
eventType:
description: The event type of the notification.
type: string
executingUserKey:
description: The user or process that has triggered the notification.
type: string
live:
description: Indicates whether the notification originated from the live
environment or the test environment. If true, the notification originated
from the live environment. If false, the notification originated from
the test environment.
type: boolean
pspReference:
description: The PSP reference of the request from which the notification
originates.
type: string
required:
- executingUserKey
- pspReference
- eventType
- live
- eventDate
type: object
AccountCreateNotification:
additionalProperties: false
properties:
content:
description: The details of the account creation.
$ref: '#/components/schemas/CreateAccountResponse'
error:
x-addedInVersion: '5'
description: Error information of failed request. No value provided here
if no error occurred on processing.
$ref: '#/components/schemas/NotificationErrorContainer'
eventDate:
x-addedInVersion: '4'
description: The date and time when an event has been completed.
format: date-time
type: string
eventType:
description: The event type of the notification.
type: string
executingUserKey:
description: The user or process that has triggered the notification.
type: string
live:
description: Indicates whether the notification originated from the live
environment or the test environment. If true, the notification originated
from the live environment. If false, the notification originated from
the test environment.
type: boolean
pspReference:
description: The PSP reference of the request from which the notification
originates.
type: string
required:
- executingUserKey
- pspReference
- eventType
- live
- eventDate
type: object
AccountEvent:
additionalProperties: false
properties:
event:
description: 'The event.
>Permitted values: `InactivateAccount`, `RefundNotPaidOutTransfers`.
For more information, refer to [Verification checks](https://docs.adyen.com/classic-platforms/verification-process).'
enum:
- InactivateAccount
- RefundNotPaidOutTransfers
type: string
executionDate:
description: The date on which the event will take place.
format: date-time
type: string
reason:
description: The reason why this event has been created.
type: string
type: object
AccountFundsBelowThresholdNotification:
additionalProperties: false
properties:
content:
description: Details of the liable account with funds under threshold.
$ref: '#/components/schemas/AccountFundsBelowThresholdNotificationContent'
error:
x-addedInVersion: '5'
description: Error information of failed request. No value provided here
if no error occurred on processing.
$ref: '#/components/schemas/NotificationErrorContainer'
eventDate:
x-addedInVersion: '4'
description: The date and time when an event has been completed.
format: date-time
type: string
eventType:
description: The event type of the notification.
type: string
executingUserKey:
description: The user or process that has triggered the notification.
type: string
live:
description: Indicates whether the notification originated from the live
environment or the test environment. If true, the notification originated
from the live environment. If false, the notification originated from
the test environment.
type: boolean
pspReference:
description: The PSP reference of the request from which the notification
originates.
type: string
required:
- executingUserKey
- pspReference
- eventType
- live
- eventDate
type: object
AccountFundsBelowThresholdNotificationContent:
additionalProperties: false
properties:
accountCode:
description: The code of the account with funds under threshold
type: string
balanceDate:
description: The date of the funds were found to be below threshold.
$ref: '#/components/schemas/LocalDate'
currentFunds:
description: The current funds in the liable account.
$ref: '#/components/schemas/Amount'
fundThreshold:
description: The configured fund threshold for the liable account
$ref: '#/components/schemas/Amount'
merchantAccountCode:
description: The code of the merchant account.
type: string
required:
- merchantAccountCode
- fundThreshold
type: object
AccountHolderCreateNotification:
additionalProperties: false
properties:
content:
description: The details of the account holder creation.
$ref: '#/components/schemas/CreateAccountHolderResponse'
error:
x-addedInVersion: '5'
description: Error information of failed request. No value provided here
if no error occurred on processing.
$ref: '#/components/schemas/NotificationErrorContainer'
eventDate:
x-addedInVersion: '4'
description: The date and time when an event has been completed.
format: date-time
type: string
eventType:
description: The event type of the notification.
type: string
executingUserKey:
description: The user or process that has triggered the notification.
type: string
live:
description: Indicates whether the notification originated from the live
environment or the test environment. If true, the notification originated
from the live environment. If false, the notification originated from
the test environment.
type: boolean
pspReference:
description: The PSP reference of the request from which the notification
originates.
type: string
required:
- executingUserKey
- pspReference
- eventType
- live
- eventDate
type: object
AccountHolderDetails:
additionalProperties: false
properties:
address:
description: The address of the account holder.
$ref: '#/components/schemas/ViasAddress'
bankAccountDetails:
description: Array of bank accounts associated with the account holder.
For details about the required `bankAccountDetail` fields, see [Required
information](https://docs.adyen.com/classic-platforms/verification-process/required-information).
items:
$ref: '#/components/schemas/BankAccountDetail'
type: array
bankAggregatorDataReference:
x-addedInVersion: '5'
description: The opaque reference value returned by the Adyen API during
bank account login.
type: string
businessDetails:
description: 'Details about the business or nonprofit account holder.
Required when creating an account holder with `legalEntity` **Business**
or **NonProfit**.'
$ref: '#/components/schemas/BusinessDetails'
email:
description: The email address of the account holder.
type: string
fullPhoneNumber:
description: 'The phone number of the account holder provided as a single
string. It will be handled as a landline phone.
**Examples:** "0031 6 11 22 33 44", "+316/1122-3344", "(0031) 611223344"'
type: string
individualDetails:
description: 'Details about the individual account holder.
Required when creating an account holder with `legalEntity` **Individual**.
'
$ref: '#/components/schemas/IndividualDetails'
lastReviewDate:
description: Date when you last reviewed the account holder's information,
in ISO-8601 YYYY-MM-DD format. For example, **2020-01-31**.
type: string
merchantCategoryCode:
description: 'The Merchant Category Code of the account holder.
> If not specified in the request, this will be derived from the platform
account (which is configured by Adyen).'
type: string
metadata:
additionalProperties:
type: string
description: 'A set of key and value pairs for general use by the account
holder or merchant.
The keys do not have specific names and may be used for storing miscellaneous
data as desired.
> The values being stored have a maximum length of eighty (80) characters
and will be truncated if necessary.
> Note that during an update of metadata, the omission of existing key-value
pairs will result in the deletion of those key-value pairs.'
type: object
payoutMethods:
x-addedInVersion: '5'
description: Array of tokenized card details associated with the account
holder. For details about how you can use the tokens to pay out, refer
to [Pay out to cards](https://docs.adyen.com/classic-platforms/payout-to-cards).
items:
$ref: '#/components/schemas/PayoutMethod'
type: array
phoneNumber:
description: 'The phone number of the account holder.
> Required if a `fullPhoneNumber` is not provided.'
$ref: '#/components/schemas/ViasPhoneNumber'
principalBusinessAddress:
description: The principal business address of the account holder.
$ref: '#/components/schemas/ViasAddress'
storeDetails:
x-addedInVersion: '5'
description: Array of stores associated with the account holder. Required
when onboarding account holders that have an Adyen [point of sale](https://docs.adyen.com/classic-platforms/platforms-for-pos).
items:
$ref: '#/components/schemas/StoreDetail'
type: array
webAddress:
description: The URL of the website of the account holder.
type: string
required:
- address
type: object
AccountHolderPayoutNotification:
additionalProperties: false
properties:
content:
description: Details of the payout to the Account Holder.
$ref: '#/components/schemas/AccountHolderPayoutNotificationContent'
error:
x-addedInVersion: '5'
description: Error information of failed request. No value provided here
if no error occurred on processing.
$ref: '#/components/schemas/NotificationErrorContainer'
eventDate:
x-addedInVersion: '4'
description: The date and time when an event has been completed.
format: date-time
type: string
eventType:
description: The event type of the notification.
type: string
executingUserKey:
description: The user or process that has triggered the notification.
type: string
live:
description: Indicates whether the notification originated from the live
environment or the test environment. If true, the notification originated
from the live environment. If false, the notification originated from
the test environment.
type: boolean
pspReference:
description: The PSP reference of the request from which the notification
originates.
type: string
required:
- executingUserKey
- pspReference
- eventType
- live
- eventDate
type: object
AccountHolderPayoutNotificationContent:
additionalProperties: false
properties:
accountCode:
description: The code of the account from which the payout was made.
type: string
accountHolderCode:
description: The code of the Account Holder to which the payout was made.
type: string
amount:
description: The payout amount.
$ref: '#/components/schemas/Amount'
amounts:
description: The payout amounts (per currency).
items:
$ref: '#/components/schemas/Amount'
type: array
bankAccountDetail:
description: Details of the Bank Account to which the payout was made.
$ref: '#/components/schemas/BankAccountDetail'
description:
description: A description of the payout.
type: string
estimatedArrivalDate:
x-addedInVersion: '5'
description: The estimated date of arrival.
$ref: '#/components/schemas/LocalDate'
invalidFields:
x-addedInVersion: '5'
description: Invalid fields list.
items:
$ref: '#/components/schemas/ErrorFieldType'
type: array
merchantReference:
x-addedInVersion: '2'
description: The merchant reference.
type: string
originalPspReference:
x-addedInVersion: '5'
description: The PSP reference of the original payout.
type: string
payoutSpeed:
x-addedInVersion: '5'
description: 'Speed with which payouts for this account are processed. Permitted
values: `STANDARD`, `SAME_DAY`.'
enum:
- INSTANT
- SAME_DAY
- STANDARD
type: string
status:
description: The payout status.
$ref: '#/components/schemas/OperationStatus'
type: object
AccountHolderStatus:
additionalProperties: false
properties:
events:
description: A list of events scheduled for the account holder.
items:
$ref: '#/components/schemas/AccountEvent'
type: array
payoutState:
description: The payout state of the account holder.
$ref: '#/components/schemas/AccountPayoutState'
processingState:
description: The processing state of the account holder.
$ref: '#/components/schemas/AccountProcessingState'
status:
description: 'The status of the account holder.
>Permitted values: `Active`, `Inactive`, `Suspended`, `Closed`.'
enum:
- Active
- Closed
- Inactive
- Suspended
type: string
statusReason:
description: The reason why the status was assigned to the account holder.
type: string
required:
- status
type: object
AccountHolderStatusChangeNotification:
additionalProperties: false
properties:
content:
description: The details of the Account Holder status change.
$ref: '#/components/schemas/AccountHolderStatusChangeNotificationContent'
error:
x-addedInVersion: '5'
description: Error information of failed request. No value provided here
if no error occurred on processing.
$ref: '#/components/schemas/NotificationErrorContainer'
eventDate:
x-addedInVersion: '4'
description: The date and time when an event has been completed.
format: date-time
type: string
eventType:
description: The event type of the notification.
type: string
executingUserKey:
description: The user or process that has triggered the notification.
type: string
live:
description: Indicates whether the notification originated from the live
environment or the test environment. If true, the notification originated
from the live environment. If false, the notification originated from
the test environment.
type: boolean
pspReference:
description: The PSP reference of the request from which the notification
originates.
type: string
required:
- executingUserKey
- pspReference
- eventType
- live
- eventDate
type: object
AccountHolderStatusChangeNotificationContent:
additionalProperties: false
properties:
accountHolderCode:
description: The code of the account holder.
type: string
invalidFields:
x-addedInVersion: '5'
description: in case the account holder has not been updated, contains account
holder fields, that did not pass the validation.
items:
$ref: '#/components/schemas/ErrorFieldType'
type: array
newStatus:
x-addedInVersion: '2'
description: The new status of the account holder.
$ref: '#/components/schemas/AccountHolderStatus'
oldStatus:
x-addedInVersion: '2'
description: The former status of the account holder.
$ref: '#/components/schemas/AccountHolderStatus'
reason:
description: The reason for the status change.
type: string
required:
- accountHolderCode
type: object
AccountHolderStoreStatusChangeNotification:
additionalProperties: false
properties:
content:
description: The details of the Account Holder Store status change.
$ref: '#/components/schemas/AccountHolderStoreStatusChangeNotificationContent'
error:
x-addedInVersion: '5'
description: Error information of failed request. No value provided here
if no error occurred on processing.
$ref: '#/components/schemas/NotificationErrorContainer'
eventDate:
x-addedInVersion: '4'
description: The date and time when an event has been completed.
format: date-time
type: string
eventType:
description: The event type of the notification.
type: string
executingUserKey:
description: The user or process that has triggered the notification.
type: string
live:
description: Indicates whether the notification originated from the live
environment or the test environment. If true, the notification originated
from the live environment. If false, the notification originated from
the test environment.
type: boolean
pspReference:
description: The PSP reference of the request from which the notification
originates.
type: string
required:
- executingUserKey
- pspReference
- eventType
- live
- eventDate
type: object
AccountHolderStoreStatusChangeNotificationContent:
additionalProperties: false
properties:
accountHolderCode:
x-addedInVersion: '5'
description: The code of the account holder.
type: string
invalidFields:
x-addedInVersion: '5'
description: In case the store status has not been updated, contains fields
that did not pass the validation.
items:
$ref: '#/components/schemas/ErrorFieldType'
type: array
newStatus:
x-addedInVersion: '5'
description: The new status of the account holder.
enum:
- Active
- Closed
- Inactive
- InactiveWithModifications
- Pending
type: string
oldStatus:
x-addedInVersion: '5'
description: The former status of the account holder.
enum:
- Active
- Closed
- Inactive
- InactiveWithModifications
- Pending
type: string
reason:
x-addedInVersion: '5'
description: The reason for the status change.
type: string
store:
x-addedInVersion: '5'
description: Alphanumeric identifier of the store.
type: string
storeReference:
x-addedInVersion: '5'
description: Store store reference.
type: string
required:
- accountHolderCode
- store
- storeReference
- oldStatus
- newStatus
type: object
AccountHolderUpcomingDeadlineNotification:
additionalProperties: false
properties:
content:
description: The details of the upcoming event.
$ref: '#/components/schemas/AccountHolderUpcomingDeadlineNotificationContent'
error:
x-addedInVersion: '5'
description: Error information of failed request. No value provided here
if no error occurred on processing.
$ref: '#/components/schemas/NotificationErrorContainer'
eventDate:
x-addedInVersion: '4'
description: The date and time when an event has been completed.
format: date-time
type: string
eventType:
description: The event type of the notification.
type: string
executingUserKey:
description: The user or process that has triggered the notification.
type: string
live:
description: Indicates whether the notification originated from the live
environment or the test environment. If true, the notification originated
from the live environment. If false, the notification originated from
the test environment.
type: boolean
pspReference:
description: The PSP reference of the request from which the notification
originates.
type: string
required:
- executingUserKey
- pspReference
- eventType
- live
- eventDate
type: object
AccountHolderUpcomingDeadlineNotificationContent:
additionalProperties: false
properties:
accountHolderCode:
description: The code of the account holder whom the event refers to.
type: string
event:
description: The event name that will be trigger if no action is taken.
enum:
- AccessPii
- ApiTierUpdate
- CloseAccount
- CloseStores
- DeleteBalanceAccounts
- DeleteBankAccounts
- DeleteLegalArrangements
- DeleteLiableBankAccount
- DeletePayoutMethods
- DeleteShareholders
- DeleteShareholdersNoKyc
- DeleteSignatories
- DeleteUnusedAccount
- InactivateAccount
- KYCDeadlineExtension
- MigrateAccountToBP
- RecalculateAccountStatusAndProcessingTier
- RefundNotPaidOutTransfers
- ResolveEvents
- SaveAccountHolder
- SaveKYCCheckStatus
- SuspendAccount
- UnSuspendAccount
- UpdateAccountHolderState
- Verification
type: string
executionDate:
description: The execution date scheduled for the event.
format: date-time
type: string
reason:
description: The reason that leads to scheduling of the event.
type: string
type: object
AccountHolderUpdateNotification:
additionalProperties: false
properties:
content:
description: The details of the Account Holder update.
$ref: '#/components/schemas/UpdateAccountHolderResponse'
error:
x-addedInVersion: '5'
description: Error information of failed request. No value provided here
if no error occurred on processing.
$ref: '#/components/schemas/NotificationErrorContainer'
eventDate:
x-addedInVersion: '4'
description: The date and time when an event has been completed.
format: date-time
type: string
eventType:
description: The event type of the notification.
type: string
executingUserKey:
description: The user or process that has triggered the notification.
type: string
live:
description: Indicates whether the notification originated from the live
environment or the test environment. If true, the notification originated
from the live environment. If false, the notification originated from
the test environment.
type: boolean
pspReference:
description: The PSP reference of the request from which the notification
originates.
type: string
required:
- executingUserKey
- pspReference
- eventType
- live
- eventDate
type: object
AccountHolderVerificationNotification:
additionalProperties: false
properties:
content:
description: The details of the Account Holder verification.
$ref: '#/components/schemas/AccountHolderVerificationNotificationContent'
error:
x-addedInVersion: '5'
description: Error information of failed request. No value provided here
if no error occurred on processing.
$ref: '#/components/schemas/NotificationErrorContainer'
eventDate:
x-addedInVersion: '4'
description: The date and time when an event has been completed.
format: date-time
type: string
eventType:
description: The event type of the notification.
type: string
executingUserKey:
description: The user or process that has triggered the notification.
type: string
live:
description: Indicates whether the notification originated from the live
environment or the test environment. If true, the notification originated
from the live environment. If false, the notification originated from
the test environment.
type: boolean
pspReference:
description: The PSP reference of the request from which the notification
originates.
type: string
required:
- executingUserKey
- pspReference
- eventType
- live
- eventDate
type: object
AccountHolderVerificationNotificationContent:
additionalProperties: false
properties:
accountHolderCode:
description: The code of the account holder.
type: string
bankAccountUUID:
description: The unique ID of the bank account that has been verified.
type: string
kycCheckStatusData:
x-addedInVersion: '5'
description: Information on the verification status
$ref: '#/components/schemas/KYCCheckStatusData'
shareholderCode:
description: The code of the shareholder that has been verified.
type: string
signatoryCode:
description: The code of the signatory that has been verified.
type: string
type: object
AccountPayoutState:
additionalProperties: false
properties:
allowPayout:
description: Indicates whether payouts are allowed. This field is the overarching
payout status, and is the aggregate of multiple conditions (e.g., KYC
status, disabled flag, etc). If this field is false, no payouts will be
permitted for any of the account holder's accounts. If this field is true,
payouts will be permitted for any of the account holder's accounts.
type: boolean
disableReason:
description: The reason why payouts (to all of the account holder's accounts)
have been disabled (by the platform). If the `disabled` field is true,
this field can be used to explain why.
type: string
disabled:
description: Indicates whether payouts have been disabled (by the platform)
for all of the account holder's accounts. A platform may enable and disable
this field at their discretion. If this field is true, `allowPayout` will
be false and no payouts will be permitted for any of the account holder's
accounts. If this field is false, `allowPayout` may or may not be enabled,
depending on other factors.
type: boolean
notAllowedReason:
x-addedInVersion: '5'
description: The reason why payouts (to all of the account holder's accounts)
have been disabled (by Adyen). If payouts have been disabled by Adyen,
this field will explain why. If this field is blank, payouts have not
been disabled by Adyen.
type: string
payoutLimit:
description: The maximum amount that payouts are limited to. Only applies
if payouts are allowed but limited.
$ref: '#/components/schemas/Amount'
tierNumber:
x-addedInVersion: '3'
description: The payout tier that the account holder occupies.
format: int32
type: integer
type: object
AccountProcessingState:
additionalProperties: false
properties:
disableReason:
description: The reason why processing has been disabled.
type: string
disabled:
description: Indicates whether the processing of payments is allowed.
type: boolean
processedFrom:
description: The lower bound of the processing tier (i.e., an account holder
must have processed at least this amount of money in order to be placed
into this tier).
$ref: '#/components/schemas/Amount'
processedTo:
description: The upper bound of the processing tier (i.e., an account holder
must have processed less than this amount of money in order to be placed
into this tier).
$ref: '#/components/schemas/Amount'
tierNumber:
x-addedInVersion: '3'
description: The processing tier that the account holder occupies.
format: int32
type: integer
type: object
AccountUpdateNotification:
additionalProperties: false
properties:
content:
description: The details of the Account update.
$ref: '#/components/schemas/UpdateAccountResponse'
error:
x-addedInVersion: '5'
description: Error information of failed request. No value provided here
if no error occurred on processing.
$ref: '#/components/schemas/NotificationErrorContainer'
eventDate:
x-addedInVersion: '4'
description: The date and time when an event has been completed.
format: date-time
type: string
eventType:
description: The event type of the notification.
type: string
executingUserKey:
description: The user or process that has triggered the notification.
type: string
live:
description: Indicates whether the notification originated from the live
environment or the test environment. If true, the notification originated
from the live environment. If false, the notification originated from
the test environment.
type: boolean
pspReference:
description: The PSP reference of the request from which the notification
originates.
type: string
required:
- executingUserKey
- pspReference
- eventType
- live
- eventDate
type: object
Amount:
additionalProperties: false
properties:
currency:
description: The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).
maxLength: 3
minLength: 3
type: string
value:
description: The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).
format: int64
type: integer
required:
- value
- currency
type: object
BankAccountDetail:
additionalProperties: false
properties:
accountNumber:
description: 'The bank account number (without separators).
>Refer to [Required information](https://docs.adyen.com/classic-platforms/verification-process/required-information)
for details on field requirements.'
type: string
accountType:
description: 'The type of bank account.
Only applicable to bank accounts held in the USA.
The permitted values are: `checking`, `savings`.
>Refer to [Required information](https://docs.adyen.com/classic-platforms/verification-process/required-information)
for details on field requirements.'
type: string
bankAccountName:
description: The name of the bank account.
type: string
bankAccountReference:
x-addedInVersion: '5'
description: Merchant reference to the bank account.
type: string
bankAccountUUID:
description: 'The unique identifier (UUID) of the Bank Account.
>If, during an account holder create or update request, this field is
left blank (but other fields provided), a new Bank Account will be created
with a procedurally-generated UUID.
>If, during an account holder create request, a UUID is provided, the
creation of the Bank Account will fail while the creation of the account
holder will continue.
>If, during an account holder update request, a UUID that is not correlated
with an existing Bank Account is provided, the update of the account holder
will fail.
>If, during an account holder update request, a UUID that is correlated
with an existing Bank Account is provided, the existing Bank Account will
be updated.
'
type: string
bankBicSwift:
description: 'The bank identifier code.
>Refer to [Required information](https://docs.adyen.com/classic-platforms/verification-process/required-information)
for details on field requirements.'
type: string
bankCity:
description: 'The city in which the bank branch is located.
>Refer to [Required information](https://docs.adyen.com/classic-platforms/verification-process/required-information)
for details on field requirements.'
type: string
bankCode:
description: 'The bank code of the banking institution with which the bank
account is registered.
>Refer to [Required information](https://docs.adyen.com/classic-platforms/verification-process/required-information)
for details on field requirements.'
type: string
bankName:
description: 'The name of the banking institution with which the bank account
is held.
>Refer to [Required information](https://docs.adyen.com/classic-platforms/verification-process/required-information)
for details on field requirements.'
type: string
branchCode:
description: 'The branch code of the branch under which the bank account
is registered. The value to be specified in this parameter depends on
the country of the bank account:
* United States - Routing number
* United Kingdom - Sort code
* Germany - Bankleitzahl
>Refer to [Required information](https://docs.adyen.com/classic-platforms/verification-process/required-information)
for details on field requirements.'
type: string
checkCode:
description: 'The check code of the bank account.
>Refer to [Required information](https://docs.adyen.com/classic-platforms/verification-process/required-information)
for details on field requirements.'
type: string
countryCode:
description: 'The two-letter country code in which the bank account is registered.
>The permitted country codes are defined in ISO-3166-1 alpha-2 (e.g. ''NL'').
>Refer to [Required information](https://docs.adyen.com/classic-platforms/verification-process/required-information)
for details on field requirements.'
type: string
currencyCode:
description: 'The currency in which the bank account deals.
>The permitted currency codes are defined in ISO-4217 (e.g. ''EUR'').
'
type: string
iban:
description: 'The international bank account number.
>The IBAN standard is defined in ISO-13616.
>Refer to [Required information](https://docs.adyen.com/classic-platforms/verification-process/required-information)
for details on field requirements.'
type: string
ownerCity:
description: 'The city of residence of the bank account owner.
>Refer to [Required information](https://docs.adyen.com/classic-platforms/verification-process/required-information)
for details on field requirements.'
type: string
ownerCountryCode:
description: 'The country code of the country of residence of the bank account
owner.
>The permitted country codes are defined in ISO-3166-1 alpha-2 (e.g. ''NL'').
>Refer to [Required information](https://docs.adyen.com/classic-platforms/verification-process/required-information)
for details on field requirements.'
type: string
ownerDateOfBirth:
deprecated: true
description: 'The date of birth of the bank account owner.
The date should be in ISO-8601 format yyyy-mm-dd (e.g. 2000-01-31).'
type: string
ownerHouseNumberOrName:
description: 'The house name or number of the residence of the bank account
owner.
>Refer to [Required information](https://docs.adyen.com/classic-platforms/verification-process/required-information)
for details on field requirements.'
type: string
ownerName:
description: 'The name of the bank account owner.
>Refer to [Required information](https://docs.adyen.com/classic-platforms/verification-process/required-information)
for details on field requirements.'
type: string
ownerNationality:
description: 'The country code of the country of nationality of the bank
account owner.
>The permitted country codes are defined in ISO-3166-1 alpha-2 (e.g. ''NL'').
>Refer to [Required information](https://docs.adyen.com/classic-platforms/verification-process/required-information)
for details on field requirements.'
type: string
ownerPostalCode:
description: 'The postal code of the residence of the bank account owner.
>Refer to [Required information](https://docs.adyen.com/classic-platforms/verification-process/required-information)
for details on field requirements.'
type: string
ownerState:
description: 'The state of residence of the bank account owner.
>Refer to [Required information](https://docs.adyen.com/classic-platforms/verification-process/required-information)
for details on field requirements.'
type: string
ownerStreet:
description: 'The street name of the residence of the bank account owner.
>Refer to [Required information](https://docs.adyen.com/classic-platforms/verification-process/required-information)
for details on field requirements.'
type: string
primaryAccount:
description: If set to true, the bank account is a primary account.
type: boolean
taxId:
description: 'The tax ID number.
>Refer to [Required information](https://docs.adyen.com/classic-platforms/verification-process/required-information)
for details on field requirements.'
type: string
urlForVerification:
description: 'The URL to be used for bank account verification.
This may be generated on bank account creation.
>Refer to [Required information](https://docs.adyen.com/classic-platforms/verification-process/required-information)
for details on field requirements.'
type: string
type: object
BeneficiarySetupNotification:
additionalProperties: false
properties:
content:
description: Details of the beneficiary setup.
$ref: '#/components/schemas/BeneficiarySetupNotificationContent'
error:
x-addedInVersion: '5'
description: Error information of failed request. No value provided here
if no error occurred on processing.
$ref: '#/components/schemas/NotificationErrorContainer'
eventDate:
x-addedInVersion: '4'
description: The date and time when an event has been completed.
format: date-time
type: string
eventType:
description: The event type of the notification.
type: string
executingUserKey:
description: The user or process that has triggered the notification.
type: string
live:
description: Indicates whether the notification originated from the live
environment or the test environment. If true, the notification originated
from the live environment. If false, the notification originated from
the test environment.
type: boolean
pspReference:
description: The PSP reference of the request from which the notification
originates.
type: string
required:
- executingUserKey
- pspReference
- eventType
- live
- eventDate
type: object
BeneficiarySetupNotificationContent:
additionalProperties: false
properties:
destinationAccountCode:
description: The code of the beneficiary account.
type: string
destinationAccountHolderCode:
description: The code of the beneficiary Account Holder.
type: string
invalidFields:
x-addedInVersion: '5'
description: A listing of the invalid fields which have caused the Setup
Beneficiary request to fail. If this is empty, the Setup Beneficiary request
has succeeded.
items:
$ref: '#/components/schemas/ErrorFieldType'
type: array
merchantReference:
description: The reference provided by the merchant.
type: string
sourceAccountCode:
description: The code of the benefactor account.
type: string
sourceAccountHolderCode:
description: The code of the benefactor Account Holder.
type: string
transferDate:
description: The date on which the beneficiary was set up and funds transferred
from benefactor to beneficiary.
format: date-time
type: string
type: object
BusinessDetails:
additionalProperties: false
properties:
doingBusinessAs:
description: The registered name of the company (if it differs from the
legal name of the company).
type: string
legalBusinessName:
description: The legal name of the company.
type: string
listedUltimateParentCompany:
description: Information about the parent public company. Required if the
account holder is 100% owned by a publicly listed company.
items:
$ref: '#/components/schemas/UltimateParentCompany'
type: array
registrationNumber:
x-addedInVersion: '4'
description: The registration number of the company.
type: string
shareholders:
description: Array containing information about individuals associated with
the account holder either through ownership or control. For details about
how you can identify them, refer to [our verification guide](https://docs.adyen.com/classic-platforms/verification-process#identify-ubos).
items:
$ref: '#/components/schemas/ShareholderContact'
type: array
signatories:
description: 'Signatories associated with the company.
Each array entry should represent one signatory.'
items:
$ref: '#/components/schemas/SignatoryContact'
type: array
taxId:
description: The tax ID of the company.
type: string
type: object
CloseAccountResponse:
additionalProperties: false
properties:
accountCode:
x-addedInVersion: '5'
description: The account code of the account that is closed.
type: string
invalidFields:
x-addedInVersion: '5'
description: Contains field validation errors that would prevent requests
from being processed.
items:
$ref: '#/components/schemas/ErrorFieldType'
type: array
pspReference:
description: The reference of a request. Can be used to uniquely identify
the request.
type: string
resultCode:
description: The result code.
type: string
status:
x-addedInVersion: '2'
description: 'The new status of the account.
>Permitted values: `Active`, `Inactive`, `Suspended`, `Closed`.'
enum:
- Active
- Closed
- Inactive
- Suspended
type: string
type: object
CompensateNegativeBalanceNotification:
additionalProperties: false
properties:
content:
description: Details of the negative balance compensation.
$ref: '#/components/schemas/CompensateNegativeBalanceNotificationContent'
error:
x-addedInVersion: '5'
description: Error information of failed request. No value provided here
if no error occurred on processing.
$ref: '#/components/schemas/NotificationErrorContainer'
eventDate:
x-addedInVersion: '4'
description: The date and time when an event has been completed.
format: date-time
type: string
eventType:
description: The event type of the notification.
type: string
executingUserKey:
description: The user or process that has triggered the notification.
type: string
live:
description: Indicates whether the notification originated from the live
environment or the test environment. If true, the notification originated
from the live environment. If false, the notification originated from
the test environment.
type: boolean
pspReference:
description: The PSP reference of the request from which the notification
originates.
type: string
required:
- executingUserKey
- pspReference
- eventType
- live
- eventDate
type: object
CompensateNegativeBalanceNotificationContent:
additionalProperties: false
properties:
records:
description: A list of the negative balances compensated.
items:
$ref: '#/components/schemas/CompensateNegativeBalanceNotificationRecord'
type: array
type: object
CompensateNegativeBalanceNotificationRecord:
additionalProperties: false
properties:
accountCode:
description: The code of the account whose negative balance has been compensated.
type: string
amount:
description: The amount compensated.
$ref: '#/components/schemas/Amount'
transferDate:
description: The date on which the compensation took place.
format: date-time
type: string
type: object
CreateAccountHolderResponse:
additionalProperties: false
properties:
accountCode:
description: The code of a new account created for the account holder.
type: string
accountHolderCode:
description: The code of the new account holder.
type: string
accountHolderDetails:
description: Details of the new account holder.
$ref: '#/components/schemas/AccountHolderDetails'
accountHolderStatus:
x-addedInVersion: '2'
description: The status of the new account holder.
$ref: '#/components/schemas/AccountHolderStatus'
description:
x-addedInVersion: '4'
description: The description of the new account holder.
type: string
invalidFields:
x-addedInVersion: '5'
description: A list of fields that caused the `/createAccountHolder` request
to fail.
items:
$ref: '#/components/schemas/ErrorFieldType'
type: array
legalEntity:
x-addedInVersion: '4'
description: The type of legal entity of the new account holder.
enum:
- Business
- Individual
- NonProfit
type: string
primaryCurrency:
x-addedInVersion: '5'
deprecated: true
description: The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes),
with which the prospective account holder primarily deals.
type: string
pspReference:
description: The reference of a request. Can be used to uniquely identify
the request.
type: string
resultCode:
description: The result code.
type: string
verification:
x-addedInVersion: '2'
description: The details of KYC Verification of the account holder.
$ref: '#/components/schemas/KYCVerificationResult'
type: object
CreateAccountResponse:
additionalProperties: false
properties:
accountCode:
description: The code of the new account.
type: string
accountHolderCode:
description: The code of the account holder.
type: string
bankAccountUUID:
x-addedInVersion: '5'
description: The bankAccountUUID of the bank account held by the account
holder to couple the account with. Scheduled payouts in currencies matching
the currency of this bank account will be sent to this bank account. Payouts
in different currencies will be sent to a matching bank account of the
account holder.
type: string
description:
x-addedInVersion: '4'
description: The description of the account.
type: string
invalidFields:
x-addedInVersion: '5'
description: A list of fields that caused the `/createAccount` request to
fail.
items:
$ref: '#/components/schemas/ErrorFieldType'
type: array
metadata:
x-addedInVersion: '5'
additionalProperties:
type: string
description: A set of key and value pairs containing metadata.
type: object
payoutMethodCode:
x-addedInVersion: '5'
description: The payout method code held by the account holder to couple
the account with. Scheduled card payouts will be sent using this payout
method code.
type: string
payoutSchedule:
description: The details of the payout schedule added to the account.
$ref: '#/components/schemas/PayoutScheduleResponse'
payoutSpeed:
x-addedInVersion: '5'
description: 'Speed with which payouts for this account are processed. Permitted
values: `STANDARD`, `SAME_DAY`.'
enum:
- INSTANT
- SAME_DAY
- STANDARD
type: string
pspReference:
description: The reference of a request. Can be used to uniquely identify
the request.
type: string
resultCode:
description: The result code.
type: string
status:
x-addedInVersion: '2'
description: 'The status of the account.
>Permitted values: `Active`.'
enum:
- Active
- Closed
- Inactive
- Suspended
type: string
type: object
DirectDebitInitiatedNotification:
additionalProperties: false
properties:
content:
description: Details of the direct debit.
$ref: '#/components/schemas/DirectDebitInitiatedNotificationContent'
error:
x-addedInVersion: '5'
description: Error information of failed request. No value provided here
if no error occurred on processing.
$ref: '#/components/schemas/NotificationErrorContainer'
eventDate:
x-addedInVersion: '4'
description: The date and time when an event has been completed.
format: date-time
type: string
eventType:
description: The event type of the notification.
type: string
executingUserKey:
description: The user or process that has triggered the notification.
type: string
live:
description: Indicates whether the notification originated from the live
environment or the test environment. If true, the notification originated
from the live environment. If false, the notification originated from
the test environment.
type: boolean
pspReference:
description: The PSP reference of the request from which the notification
originates.
type: string
required:
- executingUserKey
- pspReference
- eventType
- live
- eventDate
type: object
DirectDebitInitiatedNotificationContent:
additionalProperties: false
properties:
accountCode:
description: The code of the account.
type: string
amount:
description: The amount to be debited from the funding account.
$ref: '#/components/schemas/Amount'
debitInitiationDate:
description: The date of the debit initiation.
$ref: '#/components/schemas/LocalDate'
invalidFields:
description: Invalid fields list.
items:
$ref: '#/components/schemas/ErrorFieldType'
type: array
merchantAccountCode:
description: The code of the merchant account.
type: string
splits:
description: The split data for the debit request.
items:
$ref: '#/components/schemas/Split'
type: array
status:
description: Direct debit status.
$ref: '#/components/schemas/OperationStatus'
required:
- amount
- accountCode
- merchantAccountCode
type: object
ErrorFieldType:
additionalProperties: false
properties:
errorCode:
description: The validation error code.
format: int32
type: integer
errorDescription:
description: A description of the validation error.
type: string
fieldType:
description: The type of error field.
$ref: '#/components/schemas/FieldType'
type: object
FieldType:
additionalProperties: false
properties:
field:
description: The full name of the property.
type: string
fieldName:
description: The type of the field.
enum:
- accountCode
- accountHolderCode
- accountHolderDetails
- accountNumber
- accountStateType
- accountStatus
- accountType
- address
- balanceAccount
- balanceAccountActive
- balanceAccountCode
- balanceAccountId
- bankAccount
- bankAccountCode
- bankAccountName
- bankAccountUUID
- bankBicSwift
- bankCity
- bankCode
- bankName
- bankStatement
- branchCode
- businessContact
- cardToken
- checkCode
- city
- companyRegistration
- constitutionalDocument
- controller
- country
- countryCode
- currency
- currencyCode
- dateOfBirth
- description
- destinationAccountCode
- document
- documentContent
- documentExpirationDate
- documentIssuerCountry
- documentIssuerState
- documentName
- documentNumber
- documentType
- doingBusinessAs
- drivingLicence
- drivingLicenceBack
- drivingLicenceFront
- drivingLicense
- email
- firstName
- formType
- fullPhoneNumber
- gender
- hopWebserviceUser
- houseNumberOrName
- iban
- idCard
- idCardBack
- idCardFront
- idNumber
- identityDocument
- individualDetails
- infix
- jobTitle
- lastName
- lastReviewDate
- legalArrangement
- legalArrangementCode
- legalArrangementEntity
- legalArrangementEntityCode
- legalArrangementLegalForm
- legalArrangementMember
- legalArrangementMembers
- legalArrangementName
- legalArrangementReference
- legalArrangementRegistrationNumber
- legalArrangementTaxNumber
- legalArrangementType
- legalBusinessName
- legalEntity
- legalEntityType
- linkedViasVirtualAccount
- logo
- merchantAccount
- merchantCategoryCode
- merchantHouseNumber
- merchantReference
- microDeposit
- name
- nationality
- originalReference
- ownerCity
- ownerCountryCode
- ownerDateOfBirth
- ownerHouseNumberOrName
- ownerName
- ownerPostalCode
- ownerState
- ownerStreet
- passport
- passportNumber
- payoutMethod
- payoutMethodCode
- payoutSchedule
- pciSelfAssessment
- personalData
- phoneCountryCode
- phoneNumber
- postalCode
- primaryCurrency
- reason
- registrationNumber
- returnUrl
- schedule
- shareholder
- shareholderCode
- shareholderCodeAndSignatoryCode
- shareholderCodeOrSignatoryCode
- shareholderType
- shareholderTypes
- shopperInteraction
- signatory
- signatoryCode
- socialSecurityNumber
- sourceAccountCode
- splitAccount
- splitConfigurationUUID
- splitCurrency
- splitValue
- splits
- stateOrProvince
- status
- stockExchange
- stockNumber
- stockTicker
- store
- storeDetail
- storeName
- storeReference
- street
- taxId
- tier
- tierNumber
- transferCode
- ultimateParentCompany
- ultimateParentCompanyAddressDetails
- ultimateParentCompanyAddressDetailsCountry
- ultimateParentCompanyBusinessDetails
- ultimateParentCompanyBusinessDetailsLegalBusinessName
- ultimateParentCompanyBusinessDetailsRegistrationNumber
- ultimateParentCompanyCode
- ultimateParentCompanyStockExchange
- ultimateParentCompanyStockNumber
- ultimateParentCompanyStockNumberOrStockTicker
- ultimateParentCompanyStockTicker
- unknown
- value
- verificationType
- virtualAccount
- visaNumber
- webAddress
- year
type: string
shareholderCode:
description: The code of the shareholder that the field belongs to. If empty,
the field belongs to an account holder.
type: string
type: object
IndividualDetails:
additionalProperties: false
properties:
name:
description: "The name of the individual.\n>Make sure your account holder\
\ registers using the name shown on their Photo ID. \n Maximum length:\
\ 80 characters \n Cannot contain numbers. /n Cannot be empty."
$ref: '#/components/schemas/ViasName'
personalData:
description: Personal information of the individual.
$ref: '#/components/schemas/ViasPersonalData'
type: object
KYCBankAccountCheckResult:
additionalProperties: false
properties:
bankAccountUUID:
description: The unique ID of the bank account to which the check applies.
type: string
checks:
description: A list of the checks and their statuses.
items:
$ref: '#/components/schemas/KYCCheckStatusData'
type: array
type: object
KYCCardCheckResult:
additionalProperties: false
properties:
checks:
description: A list of the checks and their statuses.
items:
$ref: '#/components/schemas/KYCCheckStatusData'
type: array
payoutMethodCode:
description: The unique ID of the card to which the check applies.
type: string
type: object
KYCCheckResult:
additionalProperties: false
properties:
checks:
description: A list of the checks and their statuses.
items:
$ref: '#/components/schemas/KYCCheckStatusData'
type: array
type: object
KYCCheckStatusData:
additionalProperties: false
properties:
requiredFields:
description: A list of the fields required for execution of the check.
items:
type: string
type: array
status:
description: 'The status of the check.
Possible values: **AWAITING_DATA** , **DATA_PROVIDED**, **FAILED**, **INVALID_DATA**,
**PASSED**, **PENDING**, **RETRY_LIMIT_REACHED**.'
enum:
- AWAITING_DATA
- DATA_PROVIDED
- FAILED
- INVALID_DATA
- PASSED
- PENDING
- PENDING_REVIEW
- RETRY_LIMIT_REACHED
- UNCHECKED
type: string
summary:
description: A summary of the execution of the check.
$ref: '#/components/schemas/KYCCheckSummary'
type:
description: "The type of check.\n\nPossible values:\n\n * **BANK_ACCOUNT_VERIFICATION**:\
\ Used in v5 and earlier. Replaced by **PAYOUT_METHOD_VERIFICATION** in\
\ v6 and later.\n\n * **COMPANY_VERIFICATION**\n\n * **CARD_VERIFICATION**\n\
\n* **IDENTITY_VERIFICATION**\n\n* **LEGAL_ARRANGEMENT_VERIFICATION**\n\
\n* **NONPROFIT_VERIFICATION**\n\n * **PASSPORT_VERIFICATION**\n\n* **PAYOUT_METHOD_VERIFICATION**:\
\ Used in v6 and later.\n\n* **PCI_VERIFICATION**"
enum:
- BANK_ACCOUNT_VERIFICATION
- CARD_VERIFICATION
- COMPANY_VERIFICATION
- IDENTITY_VERIFICATION
- LEGAL_ARRANGEMENT_VERIFICATION
- NONPROFIT_VERIFICATION
- PASSPORT_VERIFICATION
- PAYOUT_METHOD_VERIFICATION
- PCI_VERIFICATION
type: string
required:
- type
- status
type: object
KYCCheckSummary:
additionalProperties: false
properties:
kycCheckCode:
x-addedInVersion: '5'
description: The code of the check. For possible values, refer to [Verification
codes](https://docs.adyen.com/classic-platforms/verification-process/verification-codes).
format: int32
type: integer
kycCheckDescription:
x-addedInVersion: '5'
description: A description of the check.
type: string
type: object
KYCShareholderCheckResult:
additionalProperties: false
properties:
checks:
description: A list of the checks and their statuses.
items:
$ref: '#/components/schemas/KYCCheckStatusData'
type: array
shareholderCode:
description: The code of the shareholder to which the check applies.
type: string
type: object
KYCSignatoryCheckResult:
additionalProperties: false
properties:
checks:
description: A list of the checks and their statuses.
items:
$ref: '#/components/schemas/KYCCheckStatusData'
type: array
signatoryCode:
description: The code of the signatory to which the check applies.
type: string
type: object
KYCVerificationResult:
additionalProperties: false
properties:
accountHolder:
description: The results of the checks on the account holder.
$ref: '#/components/schemas/KYCCheckResult'
bankAccounts:
description: The results of the checks on the bank accounts.
items:
$ref: '#/components/schemas/KYCBankAccountCheckResult'
type: array
cards:
x-addedInVersion: '5'
description: The results of the checks on the cards.
items:
$ref: '#/components/schemas/KYCCardCheckResult'
type: array
shareholders:
description: The results of the checks on the shareholders.
items:
$ref: '#/components/schemas/KYCShareholderCheckResult'
type: array
signatories:
description: The results of the checks on the signatories.
items:
$ref: '#/components/schemas/KYCSignatoryCheckResult'
type: array
type: object
LocalDate:
additionalProperties: false
properties:
month:
format: int32
type: integer
year:
format: int32
type: integer
type: object
Message:
additionalProperties: false
properties:
code:
description: The message code.
type: string
text:
description: The message text.
type: string
type: object
NotificationErrorContainer:
additionalProperties: false
properties:
errorCode:
description: The Adyen code that is mapped to the error message.
type: string
message:
description: A short explanation of the issue.
type: string
type: object
NotificationResponse:
additionalProperties: false
properties:
notificationResponse:
description: Set this parameter to **[accepted]** to acknowledge that you
received a notification from Adyen.
type: string
type: object
OperationStatus:
additionalProperties: false
properties:
message:
description: The message regarding the operation status.
$ref: '#/components/schemas/Message'
statusCode:
description: The status code.
type: string
type: object
PaymentFailureNotification:
additionalProperties: false
properties:
content:
description: The details of the payment failure.
$ref: '#/components/schemas/PaymentFailureNotificationContent'
error:
x-addedInVersion: '5'
description: Error information of failed request. No value provided here
if no error occurred on processing.
$ref: '#/components/schemas/NotificationErrorContainer'
eventDate:
x-addedInVersion: '4'
description: The date and time when an event has been completed.
format: date-time
type: string
eventType:
description: The event type of the notification.
type: string
executingUserKey:
description: The user or process that has triggered the notification.
type: string
live:
description: Indicates whether the notification originated from the live
environment or the test environment. If true, the notification originated
from the live environment. If false, the notification originated from
the test environment.
type: boolean
pspReference:
description: The PSP reference of the request from which the notification
originates.
type: string
required:
- executingUserKey
- pspReference
- eventType
- live
- eventDate
type: object
PaymentFailureNotificationContent:
additionalProperties: false
properties:
errorFields:
description: Missing or invalid fields that caused the payment error.
items:
$ref: '#/components/schemas/ErrorFieldType'
type: array
errorMessage:
description: The error message.
$ref: '#/components/schemas/Message'
modificationMerchantReference:
description: The `reference` of the capture or refund.
type: string
modificationPspReference:
description: The `pspReference` of the capture or refund.
type: string
paymentMerchantReference:
description: The `reference` of the payment.
type: string
paymentPspReference:
description: The `pspReference` of the payment.
type: string
type: object
PayoutMethod:
additionalProperties: false
properties:
merchantAccount:
description: The [`merchantAccount`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__reqParam_merchantAccount)
you used in the `/payments` request when you [saved the account holder's
card details](https://docs.adyen.com/classic-platforms/payouts/manual-payout/payout-to-cards#check-and-store).
type: string
payoutMethodCode:
description: Adyen-generated unique alphanumeric identifier (UUID) for the
payout method, returned in the response when you create a payout method.
Required when updating an existing payout method in an `/updateAccountHolder`
request.
type: string
payoutMethodReference:
description: Your reference for the payout method.
type: string
recurringDetailReference:
description: The [`recurringDetailReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_additionalData-ResponseAdditionalDataCommon-recurring-recurringDetailReference) returned
in the `/payments` response when you [saved the account holder's card
details](https://docs.adyen.com/classic-platforms/payouts/manual-payout/payout-to-cards#check-and-store).
type: string
shopperReference:
description: The [`shopperReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__reqParam_shopperReference)
you sent in the `/payments` request when you [saved the account holder's
card details](https://docs.adyen.com/classic-platforms/payouts/manual-payout/payout-to-cards#check-and-store).
type: string
required:
- merchantAccount
- shopperReference
- recurringDetailReference
type: object
PayoutScheduleResponse:
additionalProperties: false
properties:
nextScheduledPayout:
description: The date of the next scheduled payout.
format: date-time
type: string
schedule:
description: 'The payout schedule for the account.
Possible values: `DEFAULT`, `DAILY`, `DAILY_US`, `DAILY_EU`, `DAILY_AU`,
`DAILY_SG`, `WEEKLY`, `WEEKLY_ON_TUE_FRI_MIDNIGHT`, `BIWEEKLY_ON_1ST_AND_15TH_AT_MIDNIGHT`,
`MONTHLY`, `HOLD`.
> `HOLD` prevents scheduled payouts, but you can still initiate payouts
manually.'
enum:
- BIWEEKLY_ON_1ST_AND_15TH_AT_MIDNIGHT
- DAILY
- DAILY_AU
- DAILY_EU
- DAILY_SG
- DAILY_US
- HOLD
- MONTHLY
- WEEKLY
- WEEKLY_MON_TO_FRI_AU
- WEEKLY_MON_TO_FRI_EU
- WEEKLY_MON_TO_FRI_US
- WEEKLY_ON_TUE_FRI_MIDNIGHT
- WEEKLY_SUN_TO_THU_AU
- WEEKLY_SUN_TO_THU_US
type: string
type: object
PersonalDocumentData:
additionalProperties: false
properties:
expirationDate:
description: "The expiry date of the document, \n in ISO-8601 YYYY-MM-DD\
\ format. For example, **2000-01-31**."
type: string
issuerCountry:
description: "The country where the document was issued, in the two-character\
\ \n[ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)\
\ format. For example, **NL**."
maxLength: 2
minLength: 2
type: string
issuerState:
description: The state where the document was issued (if applicable).
type: string
number:
description: The number in the document.
type: string
type:
description: 'The type of the document. Possible values: **ID**, **DRIVINGLICENSE**,
**PASSPORT**, **SOCIALSECURITY**, **VISA**.
To delete an existing entry for a document `type`, send only the `type`
field in your request. '
enum:
- DRIVINGLICENSE
- ID
- PASSPORT
- SOCIALSECURITY
- VISA
type: string
required:
- type
type: object
RefundFundsTransferNotification:
additionalProperties: false
properties:
content:
description: Details of the fund transfer refund.
$ref: '#/components/schemas/RefundFundsTransferNotificationContent'
error:
x-addedInVersion: '5'
description: Error information of failed request. No value provided here
if no error occurred on processing.
$ref: '#/components/schemas/NotificationErrorContainer'
eventDate:
x-addedInVersion: '4'
description: The date and time when an event has been completed.
format: date-time
type: string
eventType:
description: The event type of the notification.
type: string
executingUserKey:
description: The user or process that has triggered the notification.
type: string
live:
description: Indicates whether the notification originated from the live
environment or the test environment. If true, the notification originated
from the live environment. If false, the notification originated from
the test environment.
type: boolean
pspReference:
description: The PSP reference of the request from which the notification
originates.
type: string
required:
- executingUserKey
- pspReference
- eventType
- live
- eventDate
type: object
RefundFundsTransferNotificationContent:
additionalProperties: false
properties:
amount:
description: The amount to be refunded.
$ref: '#/components/schemas/Amount'
invalidFields:
x-addedInVersion: '5'
description: Invalid fields list.
items:
$ref: '#/components/schemas/ErrorFieldType'
type: array
merchantReference:
description: A value that can be supplied at the discretion of the executing
user in order to link multiple transactions to one another.
type: string
originalReference:
description: A PSP reference of the original fund transfer.
type: string
status:
description: The status of the fund transfer refund.
$ref: '#/components/schemas/OperationStatus'
required:
- originalReference
- amount
type: object
RefundResult:
additionalProperties: false
properties:
originalTransaction:
description: The transaction that has been refunded.
$ref: '#/components/schemas/Transaction'
pspReference:
description: The reference of the refund.
type: string
response:
description: The response indicating if the refund has been received for
processing.
type: string
type: object
ReportAvailableNotification:
additionalProperties: false
properties:
content:
description: Details of the report.
$ref: '#/components/schemas/ReportAvailableNotificationContent'
error:
x-addedInVersion: '5'
description: Error information of failed request. No value provided here
if no error occurred on processing.
$ref: '#/components/schemas/NotificationErrorContainer'
eventDate:
x-addedInVersion: '4'
description: The date and time when an event has been completed.
format: date-time
type: string
eventType:
description: The event type of the notification.
type: string
executingUserKey:
description: The user or process that has triggered the notification.
type: string
live:
description: Indicates whether the notification originated from the live
environment or the test environment. If true, the notification originated
from the live environment. If false, the notification originated from
the test environment.
type: boolean
pspReference:
description: The PSP reference of the request from which the notification
originates.
type: string
required:
- executingUserKey
- pspReference
- eventType
- live
- eventDate
type: object
ReportAvailableNotificationContent:
additionalProperties: false
properties:
accountCode:
description: The code of the Account to which the report applies.
type: string
accountType:
description: The type of Account to which the report applies.
type: string
eventDate:
description: The date of the event to which the report applies.
format: date-time
type: string
remoteAccessUrl:
description: The URL at which the report can be accessed.
type: string
success:
description: Indicates whether the event resulted in a success.
type: boolean
type: object
ScheduledRefundsNotification:
additionalProperties: false
properties:
content:
description: Details of the scheduling of the refunds.
$ref: '#/components/schemas/ScheduledRefundsNotificationContent'
error:
x-addedInVersion: '5'
description: Error information of failed request. No value provided here
if no error occurred on processing.
$ref: '#/components/schemas/NotificationErrorContainer'
eventDate:
x-addedInVersion: '4'
description: The date and time when an event has been completed.
format: date-time
type: string
eventType:
description: The event type of the notification.
type: string
executingUserKey:
description: The user or process that has triggered the notification.
type: string
live:
description: Indicates whether the notification originated from the live
environment or the test environment. If true, the notification originated
from the live environment. If false, the notification originated from
the test environment.
type: boolean
pspReference:
description: The PSP reference of the request from which the notification
originates.
type: string
required:
- executingUserKey
- pspReference
- eventType
- live
- eventDate
type: object
ScheduledRefundsNotificationContent:
additionalProperties: false
properties:
accountCode:
description: The code of the account.
type: string
accountHolderCode:
description: The code of the Account Holder.
type: string
invalidFields:
x-addedInVersion: '5'
description: Invalid fields list.
items:
$ref: '#/components/schemas/ErrorFieldType'
type: array
lastPayout:
description: The most recent payout (after which all transactions were scheduled
to be refunded).
$ref: '#/components/schemas/Transaction'
refundResults:
description: A list of the refunds that have been scheduled and their results.
items:
$ref: '#/components/schemas/RefundResult'
type: array
type: object
ShareholderContact:
additionalProperties: false
properties:
address:
description: The address of the person.
$ref: '#/components/schemas/ViasAddress'
email:
description: The e-mail address of the person.
type: string
fullPhoneNumber:
description: 'The phone number of the person provided as a single string. It
will be handled as a landline phone.
Examples: "0031 6 11 22 33 44", "+316/1122-3344", "(0031) 611223344"'
type: string
jobTitle:
description: 'Job title of the person. Required when the `shareholderType`
is **Controller**.
Example values: **Chief Executive Officer**, **Chief Financial Officer**,
**Chief Operating Officer**, **President**, **Vice President**, **Executive
President**, **Managing Member**, **Partner**, **Treasurer**, **Director**,
or **Other**.'
type: string
name:
description: The name of the person.
$ref: '#/components/schemas/ViasName'
personalData:
description: Contains information about the person.
$ref: '#/components/schemas/ViasPersonalData'
phoneNumber:
description: The phone number of the person.
$ref: '#/components/schemas/ViasPhoneNumber'
shareholderCode:
description: 'The unique identifier (UUID) of the shareholder entry.
>**If, during an Account Holder create or update request, this field is
left blank (but other fields provided), a new Shareholder will be created
with a procedurally-generated UUID.**
>**If, during an Account Holder create request, a UUID is provided, the
creation of Account Holder will fail with a validation Error..**
>**If, during an Account Holder update request, a UUID that is not correlated
with an existing Shareholder is provided, the update of the Shareholder
will fail.**
>**If, during an Account Holder update request, a UUID that is correlated
with an existing Shareholder is provided, the existing Shareholder will
be updated.**
'
type: string
shareholderReference:
x-addedInVersion: '5'
description: Your reference for the shareholder entry.
type: string
shareholderType:
description: "Specifies how the person is associated with the account holder.\
\ \n\nPossible values: \n\n* **Owner**: Individuals who directly or indirectly\
\ own 25% or more of a company.\n\n* **Controller**: Individuals who are\
\ members of senior management staff responsible for managing a company\
\ or organization."
enum:
- Controller
- Owner
- Signatory
type: string
webAddress:
description: The URL of the person's website.
type: string
type: object
SignatoryContact:
additionalProperties: false
properties:
address:
description: The address of the person.
$ref: '#/components/schemas/ViasAddress'
email:
description: The e-mail address of the person.
type: string
fullPhoneNumber:
description: 'The phone number of the person provided as a single string. It
will be handled as a landline phone.
Examples: "0031 6 11 22 33 44", "+316/1122-3344", "(0031) 611223344"'
type: string
jobTitle:
description: 'Job title of the signatory.
Example values: **Chief Executive Officer**, **Chief Financial Officer**,
**Chief Operating Officer**, **President**, **Vice President**, **Executive
President**, **Managing Member**, **Partner**, **Treasurer**, **Director**,
or **Other**.'
type: string
name:
description: The name of the person.
$ref: '#/components/schemas/ViasName'
personalData:
description: Contains information about the person.
$ref: '#/components/schemas/ViasPersonalData'
phoneNumber:
description: The phone number of the person.
$ref: '#/components/schemas/ViasPhoneNumber'
signatoryCode:
description: 'The unique identifier (UUID) of the signatory.
>**If, during an Account Holder create or update request, this field is
left blank (but other fields provided), a new Signatory will be created
with a procedurally-generated UUID.**
>**If, during an Account Holder create request, a UUID is provided, the
creation of the Signatory will fail while the creation of the Account
Holder will continue.**
>**If, during an Account Holder update request, a UUID that is not correlated
with an existing Signatory is provided, the update of the Signatory will
fail.**
>**If, during an Account Holder update request, a UUID that is correlated
with an existing Signatory is provided, the existing Signatory will be
updated.**
'
type: string
signatoryReference:
description: Your reference for the signatory.
type: string
webAddress:
description: The URL of the person's website.
type: string
type: object
Split:
additionalProperties: false
properties:
account:
description: 'The unique identifier of the account to which the split amount
is booked. Required if `type` is **MarketPlace** or **BalanceAccount**.
* [Classic Platforms integration](https://docs.adyen.com/classic-platforms):
The [`accountCode`](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccount#request-accountCode)
of the account to which the split amount is booked.
* [Balance Platform](https://docs.adyen.com/adyen-for-platforms-model):
The [`balanceAccountId`](https://docs.adyen.com/api-explorer/balanceplatform/latest/get/balanceAccounts/_id_#path-id)
of the account to which the split amount is booked.'
type: string
amount:
description: 'The amount of the split item.
* Required for all split types in the [Classic Platforms integration](https://docs.adyen.com/classic-platforms).
* Required if `type` is **BalanceAccount**, **Commission**, **Default**,
or **VAT** in your [Balance Platform](https://docs.adyen.com/adyen-for-platforms-model)
integration.'
$ref: '#/components/schemas/SplitAmount'
description:
description: Your description for the split item.
type: string
reference:
description: 'Your unique reference for the part of the payment booked to
the specified `account`.
This is required if `type` is **MarketPlace** ([Classic Platforms integration](https://docs.adyen.com/classic-platforms))
or **BalanceAccount** ([Balance Platform](https://docs.adyen.com/adyen-for-platforms-model)).
For the other types, we also recommend providing a **unique** reference
so you can reconcile the split and the associated payment in the transaction
overview and in the reports.'
type: string
type:
description: "The part of the payment you want to book to the specified\
\ `account`.\n\nPossible values for the [Balance Platform](https://docs.adyen.com/adyen-for-platforms-model):\n\
* **BalanceAccount**: books part of the payment (specified in `amount`)\
\ to the specified `account`.\n* Transaction fees types that you can book\
\ to the specified `account`:\n * **AcquiringFees**: the aggregated\
\ amount of the interchange and scheme fees.\n * **PaymentFee**: the\
\ aggregated amount of all transaction fees.\n * **AdyenFees**: the\
\ aggregated amount of Adyen's commission and markup fees.\n * **AdyenCommission**:\
\ the transaction fees due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/interchange-fees-explained).\n\
\ * **AdyenMarkup**: the transaction fees due to Adyen under [Interchange\
\ ++ pricing](https://www.adyen.com/knowledge-hub/interchange-fees-explained).\n\
\ * **Interchange**: the fees paid to the issuer for each payment made\
\ with the card network.\n * **SchemeFee**: the fees paid to the card\
\ scheme for using their network. \n* **Commission**: your platform's\
\ commission on the payment (specified in `amount`), booked to your liable\
\ balance account.\n* **Remainder**: the amount left over after a currency\
\ conversion, booked to the specified `account`.\n* **TopUp**: allows\
\ you and your users to top up balance accounts using direct debit, card\
\ payments, or other payment methods.\n* **VAT**: the value-added tax\
\ charged on the payment, booked to your platforms liable balance account.\n\
* **Commission**: your platform's commission (specified in `amount`) on\
\ the payment, booked to your liable balance account.\n* **Default**:\
\ in very specific use cases, allows you to book the specified `amount`\
\ to the specified `account`. For more information, contact Adyen support.\n\
\nPossible values for the [Classic Platforms integration](https://docs.adyen.com/classic-platforms):\
\ **Commission**, **Default**, **Marketplace**, **PaymentFee**, **VAT**."
enum:
- AcquiringFees
- AdyenCommission
- AdyenFees
- AdyenMarkup
- BalanceAccount
- Commission
- Default
- Interchange
- MarketPlace
- PaymentFee
- Remainder
- SchemeFee
- Surcharge
- Tip
- VAT
type: string
required:
- type
type: object
SplitAmount:
additionalProperties: false
properties:
currency:
description: The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).
By default, this is the original payment currency.
maxLength: 3
minLength: 3
type: string
value:
description: The value of the split amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes).
format: int64
type: integer
required:
- value
type: object
StoreDetail:
additionalProperties: false
properties:
address:
description: The address of the physical store where the account holder
will process payments from.
$ref: '#/components/schemas/ViasAddress'
fullPhoneNumber:
description: 'The phone number of the store provided as a single string. It
will be handled as a landline phone.
Examples: "0031 6 11 22 33 44", "+316/1122-3344", "(0031) 611223344"'
type: string
logo:
x-addedInVersion: '5'
description: Store logo for payment method setup.
type: string
merchantAccount:
description: The merchant account to which the store belongs.
type: string
merchantCategoryCode:
description: The merchant category code (MCC) that classifies the business
of the account holder.
type: string
merchantHouseNumber:
x-addedInVersion: '5'
description: Merchant house number for payment method setup.
type: string
phoneNumber:
description: The phone number of the store.
$ref: '#/components/schemas/ViasPhoneNumber'
shopperInteraction:
x-addedInVersion: '5'
description: 'The sales channel. Possible values: **Ecommerce**, **POS**.'
enum:
- Ecommerce
- POS
type: string
splitConfigurationUUID:
x-addedInVersion: '5'
description: The unique reference for the split configuration, returned
when you configure splits in your Customer Area. When this is provided,
the `virtualAccount` is also required. Adyen uses the configuration and
the `virtualAccount` to split funds between accounts in your platform.
type: string
status:
description: 'The status of the store. Possible values: **Pending**, **Active**,
**Inactive**, **InactiveWithModifications**, **Closed**.'
enum:
- Active
- Closed
- Inactive
- InactiveWithModifications
- Pending
type: string
store:
description: Adyen-generated unique alphanumeric identifier (UUID) for the
store, returned in the response when you create a store. Required when
updating an existing store in an `/updateAccountHolder` request.
type: string
storeName:
description: "The name of the account holder's store. This value is shown\
\ in shopper statements.\n\n * Length: Between 3 to 22 characters \n\n\
\ * The following characters are *not* supported: **:;}{$#@!|<>%^*+=\\\
\\**\n\n**Note:** storeName does not appear in American Express shopper\
\ statements by default. Contact Adyen Support to enable this for American\
\ Express."
type: string
storeReference:
description: "Your unique identifier for the store. The Customer Area also\
\ uses this value for the store description.\n\n * Length: Between 3 to\
\ 128 characters\n\n* The following characters are *not* supported: **:;}{$#@!|<>%^*+=\\\
\\**"
type: string
virtualAccount:
x-addedInVersion: '5'
description: The account holder's `accountCode` where the split amount will
be sent. Required when you provide the `splitConfigurationUUID`.
type: string
webAddress:
x-addedInVersion: '5'
description: URL of the ecommerce store.
type: string
required:
- merchantCategoryCode
- address
- merchantAccount
type: object
Transaction:
additionalProperties: false
properties:
amount:
description: The amount of the transaction.
$ref: '#/components/schemas/Amount'
bankAccountDetail:
description: The details of the bank account to where a payout was made.
$ref: '#/components/schemas/BankAccountDetail'
captureMerchantReference:
description: The merchant reference of a related capture.
type: string
capturePspReference:
description: The psp reference of a related capture.
type: string
creationDate:
description: The date on which the transaction was performed.
format: date-time
type: string
description:
description: A description of the transaction.
type: string
destinationAccountCode:
description: The code of the account to which funds were credited during
an outgoing fund transfer.
type: string
disputePspReference:
description: The psp reference of the related dispute.
type: string
disputeReasonCode:
description: The reason code of a dispute.
type: string
merchantReference:
description: The merchant reference of a transaction.
type: string
paymentPspReference:
x-addedInVersion: '3'
description: The psp reference of the related authorisation or transfer.
type: string
payoutPspReference:
x-addedInVersion: '3'
description: The psp reference of the related payout.
type: string
pspReference:
description: The psp reference of a transaction.
type: string
sourceAccountCode:
description: The code of the account from which funds were debited during
an incoming fund transfer.
type: string
transactionStatus:
description: 'The status of the transaction.
>Permitted values: `PendingCredit`, `CreditFailed`, `CreditClosed`, `CreditSuspended`,
`Credited`, `Converted`, `PendingDebit`, `DebitFailed`, `Debited`, `DebitReversedReceived`,
`DebitedReversed`, `ChargebackReceived`, `Chargeback`, `ChargebackReversedReceived`,
`ChargebackReversed`, `Payout`, `PayoutReversed`, `FundTransfer`, `PendingFundTransfer`,
`ManualCorrected`.'
enum:
- BalanceNotPaidOutTransfer
- BalancePlatformFundTransfer
- BalancePlatformSweep
- BalancePlatformSweepReturned
- Chargeback
- ChargebackCorrection
- ChargebackCorrectionReceived
- ChargebackReceived
- ChargebackReversed
- ChargebackReversedCorrection
- ChargebackReversedCorrectionReceived
- ChargebackReversedReceived
- Converted
- CreditClosed
- CreditFailed
- CreditReversed
- CreditReversedReceived
- CreditSuspended
- Credited
- DebitFailed
- DebitReversedReceived
- Debited
- DebitedReversed
- DepositCorrectionCredited
- DepositCorrectionDebited
- DepositCorrectionReceived
- Fee
- FeeReceived
- FundTransfer
- FundTransferReversed
- InvoiceDeductionCredited
- InvoiceDeductionDebited
- InvoiceDeductionReceived
- ManualCorrected
- ManualCorrectionCredited
- ManualCorrectionDebited
- MerchantPayin
- MerchantPayinReceived
- MerchantPayinReversed
- Payout
- PayoutReversed
- PendingCredit
- PendingDebit
- PendingFundTransfer
- ReCredited
- ReCreditedReceived
- SecondChargeback
- SecondChargebackCorrection
- SecondChargebackCorrectionReceived
- SecondChargebackReceived
type: string
transferCode:
description: The transfer code of the transaction.
type: string
type: object
TransferFundsNotification:
additionalProperties: false
properties:
content:
description: Details of the fund transfer.
$ref: '#/components/schemas/TransferFundsNotificationContent'
error:
x-addedInVersion: '5'
description: Error information of failed request. No value provided here
if no error occurred on processing.
$ref: '#/components/schemas/NotificationErrorContainer'
eventDate:
x-addedInVersion: '4'
description: The date and time when an event has been completed.
format: date-time
type: string
eventType:
description: The event type of the notification.
type: string
executingUserKey:
description: The user or process that has triggered the notification.
type: string
live:
description: Indicates whether the notification originated from the live
environment or the test environment. If true, the notification originated
from the live environment. If false, the notification originated from
the test environment.
type: boolean
pspReference:
description: The PSP reference of the request from which the notification
originates.
type: string
required:
- executingUserKey
- pspReference
- eventType
- live
- eventDate
type: object
TransferFundsNotificationContent:
additionalProperties: false
properties:
amount:
description: The amount transferred.
$ref: '#/components/schemas/Amount'
destinationAccountCode:
description: The code of the Account to which funds were credited.
type: string
invalidFields:
x-addedInVersion: '5'
description: Invalid fields list.
items:
$ref: '#/components/schemas/ErrorFieldType'
type: array
merchantReference:
x-addedInVersion: '2'
description: The reference provided by the merchant.
type: string
sourceAccountCode:
description: The code of the Account from which funds were debited.
type: string
status:
description: The status of the fund transfer.
$ref: '#/components/schemas/OperationStatus'
transferCode:
description: The transfer code.
type: string
type: object
UltimateParentCompany:
additionalProperties: false
properties:
address:
description: Address of the ultimate parent company.
$ref: '#/components/schemas/ViasAddress'
businessDetails:
description: Details about the ultimate parent company's business.
$ref: '#/components/schemas/UltimateParentCompanyBusinessDetails'
ultimateParentCompanyCode:
description: Adyen-generated unique alphanumeric identifier (UUID) for the
entry, returned in the response when you create an ultimate parent company.
Required when updating an existing entry in an `/updateAccountHolder`
request.
type: string
type: object
UltimateParentCompanyBusinessDetails:
additionalProperties: false
properties:
legalBusinessName:
description: The legal name of the company.
type: string
registrationNumber:
description: The registration number of the company.
type: string
stockExchange:
description: Market Identifier Code (MIC).
type: string
stockNumber:
description: International Securities Identification Number (ISIN).
type: string
stockTicker:
description: Stock Ticker symbol.
type: string
type: object
UpdateAccountHolderResponse:
additionalProperties: false
properties:
accountHolderCode:
description: The code of the account holder.
type: string
accountHolderDetails:
description: Details of the account holder.
$ref: '#/components/schemas/AccountHolderDetails'
accountHolderStatus:
x-addedInVersion: '2'
description: The new status of the account holder.
$ref: '#/components/schemas/AccountHolderStatus'
description:
x-addedInVersion: '4'
description: The description of the account holder.
type: string
invalidFields:
x-addedInVersion: '5'
description: in case the account holder has not been updated, contains account
holder fields, that did not pass the validation.
items:
$ref: '#/components/schemas/ErrorFieldType'
type: array
legalEntity:
x-addedInVersion: '4'
description: The legal entity of the account holder.
enum:
- Business
- Individual
- NonProfit
type: string
primaryCurrency:
x-addedInVersion: '5'
deprecated: true
description: The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes),
with which the prospective account holder primarily deals.
type: string
pspReference:
description: The reference of a request. Can be used to uniquely identify
the request.
type: string
resultCode:
description: The result code.
type: string
verification:
x-addedInVersion: '2'
description: The details of KYC Verification of the account holder.
$ref: '#/components/schemas/KYCVerificationResult'
type: object
UpdateAccountResponse:
additionalProperties: false
properties:
accountCode:
description: The code of the account.
type: string
bankAccountUUID:
x-addedInVersion: '5'
description: The bankAccountUUID of the bank account held by the account
holder to couple the account with. Scheduled payouts in currencies matching
the currency of this bank account will be sent to this bank account. Payouts
in different currencies will be sent to a matching bank account of the
account holder.
type: string
description:
x-addedInVersion: '4'
description: The description of the account.
type: string
invalidFields:
x-addedInVersion: '5'
description: A list of fields that caused the `/updateAccount` request to
fail.
items:
$ref: '#/components/schemas/ErrorFieldType'
type: array
metadata:
x-addedInVersion: '5'
additionalProperties:
type: string
description: A set of key and value pairs containing metadata.
type: object
payoutMethodCode:
x-addedInVersion: '5'
description: The payout method code held by the account holder to couple
the account with. Scheduled card payouts will be sent using this payout
method code.
type: string
payoutSchedule:
description: The details of the payout schedule to which the account is
updated.
$ref: '#/components/schemas/PayoutScheduleResponse'
payoutSpeed:
x-addedInVersion: '5'
description: 'Speed at which payouts for this account are processed.
Possible values: `STANDARD`, `SAME_DAY`.'
enum:
- INSTANT
- SAME_DAY
- STANDARD
type: string
pspReference:
description: The reference of a request. Can be used to uniquely identify
the request.
type: string
resultCode:
description: The result code.
type: string
required:
- accountCode
type: object
ViasAddress:
additionalProperties: false
properties:
city:
description: The name of the city. Required if the `houseNumberOrName`,
`street`, `postalCode`, or `stateOrProvince` are provided.
type: string
country:
description: The two-character country code of the address in ISO-3166-1
alpha-2 format. For example, **NL**.
type: string
houseNumberOrName:
description: The number or name of the house.
type: string
postalCode:
description: 'The postal code. Required if the `houseNumberOrName`, `street`,
`city`, or `stateOrProvince` are provided.
Maximum length:
* 5 digits for addresses in the US.
* 10 characters for all other countries.'
type: string
stateOrProvince:
description: "The abbreviation of the state or province. Required if the\
\ `houseNumberOrName`, `street`, `city`, or `postalCode` are provided.\
\ \n\nMaximum length:\n\n* 2 characters for addresses in the US or Canada.\n\
\n* 3 characters for all other countries.\n"
type: string
street:
description: The name of the street. Required if the `houseNumberOrName`,
`city`, `postalCode`, or `stateOrProvince` are provided.
type: string
required:
- country
type: object
ViasName:
additionalProperties: false
properties:
firstName:
description: The first name.
maxLength: 80
type: string
gender:
description: 'The gender.
>The following values are permitted: `MALE`, `FEMALE`, `UNKNOWN`.'
enum:
- MALE
- FEMALE
- UNKNOWN
maxLength: 1
type: string
infix:
description: 'The name''s infix, if applicable.
>A maximum length of twenty (20) characters is imposed.'
maxLength: 20
type: string
lastName:
description: The last name.
maxLength: 80
type: string
type: object
ViasPersonalData:
additionalProperties: false
properties:
dateOfBirth:
description: The person's date of birth, in ISO-8601 YYYY-MM-DD format.
For example, **2000-01-31**.
type: string
documentData:
x-addedInVersion: '3'
description: Array that contains information about the person's identification
document. You can submit only one entry per document type.
items:
$ref: '#/components/schemas/PersonalDocumentData'
type: array
nationality:
description: 'The nationality of the person represented by a two-character
country code, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
format. For example, **NL**.
'
maxLength: 2
minLength: 2
type: string
type: object
ViasPhoneNumber:
additionalProperties: false
properties:
phoneCountryCode:
description: 'The two-character country code of the phone number.
>The permitted country codes are defined in ISO-3166-1 alpha-2 (e.g. ''NL'').'
type: string
phoneNumber:
description: 'The phone number.
>The inclusion of the phone number country code is not necessary.'
type: string
phoneType:
description: 'The type of the phone number.
>The following values are permitted: `Landline`, `Mobile`, `SIP`, `Fax`.'
enum:
- Fax
- Landline
- Mobile
- SIP
type: string
type: object
securitySchemes:
BasicAuth:
scheme: basic
type: http
examples:
post-ACCOUNT_CLOSED-accountClosed:
summary: ACCOUNT_CLOSED example
value:
error:
errorCode: '000'
message: test error message
eventDate: '2019-01-01T01:00:00+01:00'
eventType: ACCOUNT_CLOSED
executingUserKey: executing-user-key
live: false
pspReference: TSTPSPR0001
content:
invalidFields:
- errorCode: 1
errorDescription: Field is missing
fieldType:
field: AccountHolderDetails.BusinessDetails.Shareholders.unknown
fieldName: unknown
shareholderCode: SH00001
pspReference: TSTPSPR0001
resultCode: Success
status: Closed
post-ACCOUNT_CREATED-accountCreated:
summary: ACCOUNT_CREATED example
value:
error:
errorCode: '000'
message: test error message
eventDate: '2019-01-01T01:00:00+01:00'
eventType: ACCOUNT_CREATED
executingUserKey: executing-user-key
live: false
pspReference: TSTPSPR0001
content:
invalidFields:
- errorCode: 1
errorDescription: Field is missing
fieldType:
field: AccountHolderDetails.BusinessDetails.Shareholders.unknown
fieldName: unknown
shareholderCode: SH00001
pspReference: TSTPSPR0001
resultCode: Success
accountCode: AC0000000001
accountHolderCode: AHC00000001
description: account description
metadata:
MetaKey: MetaValue
payoutSchedule:
nextScheduledPayout: '1970-01-02T01:00:00+01:00'
schedule: DAILY
status: Active
post-ACCOUNT_FUNDS_BELOW_THRESHOLD-accountFundsBelowThreshold:
summary: TRANSFER_FUNDS example
value:
error:
errorCode: '000'
message: test error message
eventDate: '2019-01-01T01:00:00+01:00'
eventType: TRANSFER_FUNDS
executingUserKey: executing-user-key
live: false
pspReference: TSTPSPR0001
content:
amount:
currency: EUR
value: 10
destinationAccountCode: AC0000001D
invalidFields:
- errorCode: 1
errorDescription: Field is missing
fieldType:
field: AccountHolderDetails.BusinessDetails.Shareholders.unknown
fieldName: unknown
shareholderCode: SH00001
merchantReference: MRef#000001
sourceAccountCode: AC0000001S
status:
message:
code: '100'
text: test message
statusCode: Success
transferCode: TC0001
post-ACCOUNT_HOLDER_CREATED-accountHolderCreated-businesses:
summary: ACCOUNT_HOLDER_CREATED for businesses example
value:
error:
errorCode: '000'
message: test error message
eventDate: '2019-01-02T01:00:00+01:00'
eventType: ACCOUNT_HOLDER_CREATED
executingUserKey: executing-user-key
live: false
pspReference: TSTPSPR0001
content:
invalidFields:
- errorCode: 1
errorDescription: Field is missing
fieldType:
field: AccountHolderDetails.BusinessDetails.Shareholders.unknown
fieldName: unknown
shareholderCode: SH00001
pspReference: TSTPSPR0001
resultCode: Success
accountCode: AC0000000001
accountHolderCode: AHC00000001
accountHolderDetails:
address:
city: Amsterdam
country: NL
houseNumberOrName: 96/A
postalCode: 1000AA
stateOrProvince: NH
street: Street
bankAccountDetails:
- accountNumber: '00000000'
accountType: checking
bankAccountName: Account name
bankAccountReference: Ref#000001
bankAccountUUID: 00000000-0000-0000-0000-000000000000
bankBicSwift: BSWFT
bankCity: Amsterdam
bankCode: '00000000'
bankName: Bank Name Co
branchCode: '00000000'
checkCode: '1234'
countryCode: NL
currencyCode: EUR
iban: NL00NONE1234123412
ownerCity: Amsterdam
ownerCountryCode: NL
ownerDateOfBirth: '1981-02-27'
ownerHouseNumberOrName: 32/B
ownerName: Owner Name
ownerNationality: NL
ownerPostalCode: 1000AA
ownerState: NH
ownerStreet: Owner Street
primaryAccount: false
taxId: OT#12345
urlForVerification: http://adyen.com
businessDetails:
doingBusinessAs: Business name
legalBusinessName: Legal Business Co
registrationNumber: Reg#1234
shareholders:
- address:
city: Amsterdam
country: NL
houseNumberOrName: 96/A
postalCode: 1000AA
stateOrProvince: NH
street: Street
email: contact@merchant.com
fullPhoneNumber: '+3112345678'
name:
firstName: Firstname
infix: infix
lastName: Lastname
personalData:
dateOfBirth: '1981-02-27'
documentData:
- expirationDate: '2030-12-31'
issuerCountry: NL
issuerState: NH
number: ID#123456
type: ID
nationality: NL
phoneNumber:
phoneCountryCode: NL
phoneNumber: '858888138'
phoneType: Landline
shareholderCode: SH00001
shareholderReference: SHREF#0000001
webAddress: https://www.adyen.com/
taxId: TaxID#1234
email: contact@adyen.com
fullPhoneNumber: '+31858888138'
individualDetails:
name:
firstName: Firstname
infix: infix
lastName: Lastname
personalData:
dateOfBirth: '1981-02-27'
documentData:
- expirationDate: '2030-12-31'
issuerCountry: NL
issuerState: NH
number: ID#123456
type: ID
nationality: NL
merchantCategoryCode: '1212'
metadata:
MetaKey: MetaValue
payoutInstrumentTokens:
- merchantAccount: MA000001
payoutInstrumentTokenCode: PIT000001
payoutInstrumentTokenType: CardToken
recurringDetailReference: RDR0000001
shopperReference: SR000001
phoneNumber:
phoneCountryCode: NL
phoneNumber: '858888138'
phoneType: Landline
webAddress: https://adyen.com
accountHolderStatus:
status: Active
statusReason: Reason of status
processingState:
disabled: true
disableReason: Reason for disabled status
processedFrom:
currency: EUR
value: 10
processedTo:
currency: EUR
value: 100
tierNumber: 2
payoutState:
allowPayout: false
payoutLimit:
currency: EUR
value: 1000
disabled: true
disableReason: Reason for disabled status
tierNumber: 2
notAllowedReason: Reason of not allowed
events:
- event: InactivateAccount
executionDate: '2019-01-01T01:00:00+01:00'
reason: Reason of event
description: Description for account holder
legalEntity: Business
primaryCurrency: EUR
verification:
accountHolder:
checks:
- type: IDENTITY_VERIFICATION
status: PENDING
summary:
kycCheckCode: 100
kycCheckDescription: KYC check summary description
requiredFields:
- field.missing
shareholders:
- checks:
- type: IDENTITY_VERIFICATION
status: PENDING
summary:
kycCheckCode: 100
kycCheckDescription: KYC check summary description
requiredFields:
- field.missing
shareholderCode: SH000001
bankAccounts:
- checks:
- type: IDENTITY_VERIFICATION
status: PENDING
summary:
kycCheckCode: 100
kycCheckDescription: KYC check summary description
requiredFields:
- field.missing
bankAccountUUID: 00000000-0000-0000-0000-000000000000
post-ACCOUNT_HOLDER_CREATED-accountHolderCreated-failed:
summary: ACCOUNT_HOLDER_CREATED failed example
value:
error:
errorCode: '000'
message: test error message
eventDate: '1970-01-01T01:00:00+01:00'
eventType: ACCOUNT_HOLDER_CREATED
executingUserKey: executing-user-key
live: false
mimeType: genericNotification
pspReference: TSTPSPR0001
content:
accountHolderCode: AH000001
accountState:
allowPayout: false
allowProcessing: false
disableReason: Reason for disabled status
disabled: true
stateDeadline: '1970-01-01T01:00:00+01:00'
stateLimit:
amount: 100
currency: EUR
stateType: Processing
tierNumber: 2
amount:
currency: EUR
value: 10
totalAmountBeforeLimit:
currency: EUR
value: 100
transactionDate: '1970-01-01T01:00:00+01:00'
transactionFailed: false
post-ACCOUNT_HOLDER_CREATED-accountHolderCreated-individuals:
summary: ACCOUNT_HOLDER_CREATED for individuals example
value:
error:
errorCode: '000'
message: test error message
eventDate: '2019-01-01T01:00:00+01:00'
eventType: ACCOUNT_HOLDER_CREATED
executingUserKey: executing-user-key
live: false
pspReference: TSTPSPR0001
content:
invalidFields:
- errorCode: 1
errorDescription: Field is missing
fieldType:
field: AccountHolderDetails.BusinessDetails.Shareholders.unknown
fieldName: unknown
shareholderCode: SH00001
pspReference: TSTPSPR0001
resultCode: Success
accountCode: AC0000000001
accountHolderCode: AHC00000001
accountHolderDetails:
address:
city: Amsterdam
country: NL
houseNumberOrName: 96/A
postalCode: 1000AA
stateOrProvince: NH
street: Street
bankAccountDetails:
- accountNumber: '00000000'
accountType: checking
bankAccountName: Account name
bankAccountReference: Ref#000001
bankAccountUUID: 00000000-0000-0000-0000-000000000000
bankBicSwift: BSWFT
bankCity: Amsterdam
bankCode: '00000000'
bankName: Bank Name Co
branchCode: '00000000'
checkCode: '1234'
countryCode: NL
currencyCode: EUR
iban: NL00NONE1234123412
ownerCity: Amsterdam
ownerCountryCode: NL
ownerDateOfBirth: '1981-02-27'
ownerHouseNumberOrName: 32/B
ownerName: Owner Name
ownerNationality: NL
ownerPostalCode: 1000AA
ownerState: NH
ownerStreet: Owner Street
primaryAccount: false
taxId: OT#12345
urlForVerification: http://adyen.com
email: contact@adyen.com
fullPhoneNumber: '+31858888138'
individualDetails:
name:
firstName: Firstname
infix: infix
lastName: Lastname
personalData:
dateOfBirth: '1981-02-27'
documentData:
- expirationDate: '2030-12-31'
issuerCountry: NL
issuerState: NH
number: ID#123456
type: ID
nationality: NL
merchantCategoryCode: '1212'
metadata:
MetaKey: MetaValue
payoutInstrumentTokens:
- merchantAccount: MA000001
payoutInstrumentTokenCode: PIT000001
payoutInstrumentTokenType: CardToken
recurringDetailReference: RDR0000001
shopperReference: SR000001
phoneNumber:
phoneCountryCode: NL
phoneNumber: '858888138'
phoneType: Landline
webAddress: https://adyen.com
accountHolderStatus:
status: Active
statusReason: Reason of status
processingState:
disabled: true
disableReason: Reason for disabled status
processedFrom:
currency: EUR
value: 10
processedTo:
currency: EUR
value: 100
tierNumber: 2
payoutState:
allowPayout: false
payoutLimit:
currency: EUR
value: 1000
disabled: true
disableReason: Reason for disabled status
tierNumber: 2
notAllowedReason: Reason of not allowed
events:
- event: InactivateAccount
executionDate: '2019-01-01T01:00:00+01:00'
reason: Reason of event
description: Description for account holder
legalEntity: Individual
primaryCurrency: EUR
verification:
accountHolder:
checks:
- type: IDENTITY_VERIFICATION
status: PENDING
summary:
kycCheckCode: 100
kycCheckDescription: KYC check summary description
requiredFields:
- field.missing
bankAccounts:
- checks:
- type: IDENTITY_VERIFICATION
status: PENDING
summary:
kycCheckCode: 100
kycCheckDescription: KYC check summary description
requiredFields:
- field.missing
bankAccountUUID: 00000000-0000-0000-0000-000000000000
post-ACCOUNT_HOLDER_PAYOUT-accountHolderPayout-failed:
summary: ACCOUNT_HOLDER_PAYOUT failed example
value:
error:
errorCode: '000'
message: test error message
eventDate: '2019-01-01T01:00:00+01:00'
eventType: ACCOUNT_HOLDER_PAYOUT
executingUserKey: executing-user-key
live: false
pspReference: TSTPSPR0001
content:
accountCode: AC00000001
accountHolderCode: AH00000001
amount:
currency: EUR
value: 100
amounts:
- currency: EUR
value: 10
bankAccountDetail:
accountNumber: '00000000'
accountType: checking
bankAccountName: Account name
bankAccountReference: Ref#000001
bankAccountUUID: 00000000-0000-0000-0000-000000000000
bankBicSwift: BSWFT
bankCity: Amsterdam
bankCode: '00000000'
bankName: Bank Name Co
branchCode: '00000000'
checkCode: '1234'
countryCode: NL
currencyCode: EUR
iban: NL00NONE1234123412
ownerCity: Amsterdam
ownerCountryCode: NL
ownerDateOfBirth: '1981-02-27'
ownerHouseNumberOrName: 32/B
ownerName: Owner Name
ownerNationality: NL
ownerPostalCode: 1000AA
ownerState: NH
ownerStreet: Owner Street
primaryAccount: false
taxId: OT#12345
urlForVerification: http://adyen.com
description: description of payout
invalidFields:
- errorCode: 1
errorDescription: Field is missing
fieldType:
field: AccountHolderDetails.BusinessDetails.Shareholders.unknown
fieldName: unknown
shareholderCode: SH00001
merchantReference: MRef#00000001
status:
message:
code: '10_069'
text: 'Payout has been failed for account seller1. Details: Payout has
been rejected by the beneficiary bank.'
statusCode: Failed
post-ACCOUNT_HOLDER_PAYOUT-accountHolderPayout-initiated:
summary: ACCOUNT_HOLDER_PAYOUT initiated example
value:
error:
errorCode: '000'
message: test error message
eventDate: '2019-01-01T01:00:00+01:00'
eventType: ACCOUNT_HOLDER_PAYOUT
executingUserKey: executing-user-key
live: false
pspReference: TSTPSPR0001
content:
accountCode: AC00000001
accountHolderCode: AH00000001
amount:
currency: EUR
value: 100
amounts:
- currency: EUR
value: 10
bankAccountDetail:
accountNumber: '00000000'
accountType: checking
bankAccountName: Account name
bankAccountReference: Ref#000001
bankAccountUUID: 00000000-0000-0000-0000-000000000000
bankBicSwift: BSWFT
bankCity: Amsterdam
bankCode: '00000000'
bankName: Bank Name Co
branchCode: '00000000'
checkCode: '1234'
countryCode: NL
currencyCode: EUR
iban: NL00NONE1234123412
ownerCity: Amsterdam
ownerCountryCode: NL
ownerDateOfBirth: '1981-02-27'
ownerHouseNumberOrName: 32/B
ownerName: Owner Name
ownerNationality: NL
ownerPostalCode: 1000AA
ownerState: NH
ownerStreet: Owner Street
primaryAccount: false
taxId: OT#12345
urlForVerification: http://adyen.com
description: description of payout
invalidFields:
- errorCode: 1
errorDescription: Field is missing
fieldType:
field: AccountHolderDetails.BusinessDetails.Shareholders.unknown
fieldName: unknown
shareholderCode: SH00001
merchantReference: MRef#00000001
status:
message:
code: '100'
text: test message
statusCode: Initiated
post-ACCOUNT_HOLDER_STATUS_CHANGE-accountHolderStatusChange:
summary: ACCOUNT_HOLDER_STATUS_CHANGE example
value:
error:
errorCode: '000'
message: test error message
eventDate: '2019-01-02T01:00:00+01:00'
eventType: ACCOUNT_HOLDER_STATUS_CHANGE
executingUserKey: executing-user-key
live: false
pspReference: TSTPSPR0001
content:
accountHolderCode: AH000001
oldStatus:
status: Active
statusReason: Reason of status
processingState:
disabled: true
disableReason: Reason for disabled status
processedFrom:
currency: EUR
value: 10
processedTo:
currency: EUR
value: 100
tierNumber: 2
payoutState:
allowPayout: false
payoutLimit:
currency: EUR
value: 1000
disabled: true
disableReason: Reason for disabled status
tierNumber: 2
notAllowedReason: Reason of not allowed
events:
- event: InactivateAccount
executionDate: '1970-01-01T01:00:00+01:00'
reason: Reason of event
newStatus:
status: Active
statusReason: Reason of status
processingState:
disabled: true
disableReason: Reason for disabled status
processedFrom:
currency: EUR
value: 10
processedTo:
currency: EUR
value: 100
tierNumber: 2
payoutState:
allowPayout: false
payoutLimit:
currency: EUR
value: 1000
disabled: true
disableReason: Reason for disabled status
tierNumber: 2
notAllowedReason: Reason of not allowed
events:
- event: InactivateAccount
executionDate: '2019-01-01T01:00:00+01:00'
reason: Reason of event
reason: status change reason
invalidFields:
- errorCode: 1
errorDescription: Field is missing
fieldType:
field: AccountHolderDetails.BusinessDetails.Shareholders.unknown
fieldName: unknown
shareholderCode: SH00001
post-ACCOUNT_HOLDER_STORE_STATUS_CHANGE-accountHolderStoreStatusChange:
summary: ACCOUNT_HOLDER_STORE_STATUS_CHANGE example
value:
eventDate: '2019-12-16T10:38:15+01:00'
eventType: ACCOUNT_HOLDER_STORE_STATUS_CHANGE
executingUserKey: Store Status Update
live: false
pspReference: TSTPSPR0001
content:
accountHolderCode: AH000001
store: x00x00x00-xx00-0xx0-x000-00xx00xx000000
storeReference: Ref#000001
oldStatus: Pending
newStatus: Active
reason: Store was successfully set up
post-ACCOUNT_HOLDER_UPCOMING_DEADLINE-accountHolderUpcomingDeadline:
summary: ACCOUNT_HOLDER_UPCOMING_DEADLINE example
value:
eventDate: '2019-09-25T09:52:28+02:00'
eventType: ACCOUNT_HOLDER_UPCOMING_DEADLINE
live: false
pspReference: '9315693979482563'
content:
accountHolderCode: testD47
event: InactivateAccount
executionDate: '2019-10-11'
reason: Processed more than GBP 5000.00 or equivalent, deadline triggered
post-ACCOUNT_HOLDER_UPDATED-accountHolderUpdated:
summary: ACCOUNT CLOSED example
value:
error:
errorCode: '000'
message: test error message
eventDate: '2019-01-01T01:00:00+01:00'
eventType: ACCOUNT_CLOSED
executingUserKey: executing-user-key
live: false
pspReference: TSTPSPR0001
content:
invalidFields:
- errorCode: 1
errorDescription: Field is missing
fieldType:
field: AccountHolderDetails.BusinessDetails.Shareholders.unknown
fieldName: unknown
shareholderCode: SH00001
pspReference: TSTPSPR0001
resultCode: Success
status: Closed
post-ACCOUNT_HOLDER_VERIFICATION-accountHolderVerification:
summary: ACCOUNT_HOLDER_VERIFICATION example
value:
error:
errorCode: '000'
message: test error message
eventDate: '2019-01-01T01:00:00+01:00'
eventType: ACCOUNT_HOLDER_VERIFICATION
executingUserKey: executing-user-key
live: false
pspReference: TSTPSPR0001
content:
accountHolderCode: AH0000001
bankAccountUUID: 00000000-0000-0000-0000-000000000000
kycCheckStatusData:
type: IDENTITY_VERIFICATION
status: PENDING
summary:
kycCheckCode: 100
kycCheckDescription: KYC check summary description
requiredFields:
- field.missing
shareholderCode: SH00000001
post-ACCOUNT_UPDATED-accountUpdated:
summary: ACCOUNT_UPDATED example
value:
error:
errorCode: '000'
message: test error message
eventDate: '2019-01-01T01:00:00+01:00'
eventType: ACCOUNT_UPDATED
executingUserKey: executing-user-key
live: false
pspReference: TSTPSPR0001
content:
invalidFields:
- errorCode: 1
errorDescription: Field is missing
fieldType:
field: AccountHolderDetails.BusinessDetails.Shareholders.unknown
fieldName: unknown
shareholderCode: SH00001
pspReference: TSTPSPR0001
resultCode: Success
accountCode: AC0000000001
description: account description
metadata:
MetaKey: MetaValue
payoutSchedule:
nextScheduledPayout: '1970-01-02T01:00:00+01:00'
schedule: DAILY
post-BENEFICIARY_SETUP-beneficiarySetup:
summary: BENEFICIARY_SETUP example
value:
error:
errorCode: '000'
message: test error message
eventDate: '2019-01-01T01:00:00+01:00'
eventType: BENEFICIARY_SETUP
executingUserKey: executing-user-key
live: false
pspReference: TSTPSPR0001
content:
destinationAccountCode: AC00000001D
destinationAccountHolderCode: AH00000001D
invalidFields:
- errorCode: 1
errorDescription: Field is missing
fieldType:
field: AccountHolderDetails.BusinessDetails.Shareholders.unknown
fieldName: unknown
shareholderCode: SH00001
merchantReference: MRef#000000001
sourceAccountCode: AC0000001S
sourceAccountHolderCode: AH000000001S
transferDate: '1970-01-01T01:00:00+01:00'
post-COMPENSATE_NEGATIVE_BALANCE-compensateNegativeBalance:
summary: COMPENSATE_NEGATIVE_BALANCE example
value:
eventType: COMPENSATE_NEGATIVE_BALANCE
executingUserKey: executing-user-key
live: false
pspReference: TSTPSPR0001
content:
records:
- accountCode: AC000001
amount:
currency: EUR
value: 10
transferDate: '1970-01-01T01:00:00+01:00'
post-DIRECT_DEBIT_INITIATED-directDebitInitiated:
summary: DIRECT_DEBIT_INITIATED example
value:
error:
errorCode: '000'
message: test error message
eventDate: '2019-01-01T01:00:00+01:00'
eventType: TRANSFER_FUNDS
executingUserKey: executing-user-key
live: false
pspReference: TSTPSPR0001
content:
amount:
currency: EUR
value: 10
destinationAccountCode: AC0000001D
invalidFields:
- errorCode: 1
errorDescription: Field is missing
fieldType:
field: AccountHolderDetails.BusinessDetails.Shareholders.unknown
fieldName: unknown
shareholderCode: SH00001
merchantReference: MRef#000001
sourceAccountCode: AC0000001S
status:
message:
code: '100'
text: test message
statusCode: Success
transferCode: TC0001
post-PAYMENT_FAILURE-paymentFailure:
summary: TRANSFER_FUNDS example
value:
error:
errorCode: '000'
message: test error message
eventDate: '2019-01-01T01:00:00+01:00'
eventType: TRANSFER_FUNDS
executingUserKey: executing-user-key
live: false
pspReference: TSTPSPR0001
content:
amount:
currency: EUR
value: 10
destinationAccountCode: AC0000001D
invalidFields:
- errorCode: 1
errorDescription: Field is missing
fieldType:
field: AccountHolderDetails.BusinessDetails.Shareholders.unknown
fieldName: unknown
shareholderCode: SH00001
merchantReference: MRef#000001
sourceAccountCode: AC0000001S
status:
message:
code: '100'
text: test message
statusCode: Success
transferCode: TC0001
post-REFUND_FUNDS_TRANSFER-refundFundsTransfer:
summary: TRANSFER_FUNDS example
value:
error:
errorCode: '000'
message: test error message
eventDate: '2019-01-01T01:00:00+01:00'
eventType: TRANSFER_FUNDS
executingUserKey: executing-user-key
live: false
pspReference: TSTPSPR0001
content:
amount:
currency: EUR
value: 10
destinationAccountCode: AC0000001D
invalidFields:
- errorCode: 1
errorDescription: Field is missing
fieldType:
field: AccountHolderDetails.BusinessDetails.Shareholders.unknown
fieldName: unknown
shareholderCode: SH00001
merchantReference: MRef#000001
sourceAccountCode: AC0000001S
status:
message:
code: '100'
text: test message
statusCode: Success
transferCode: TC0001
post-REPORT_AVAILABLE-reportAvailable:
summary: TRANSFER_FUNDS example
value:
error:
errorCode: '000'
message: test error message
eventDate: '2019-01-01T01:00:00+01:00'
eventType: TRANSFER_FUNDS
executingUserKey: executing-user-key
live: false
pspReference: TSTPSPR0001
content:
amount:
currency: EUR
value: 10
destinationAccountCode: AC0000001D
invalidFields:
- errorCode: 1
errorDescription: Field is missing
fieldType:
field: AccountHolderDetails.BusinessDetails.Shareholders.unknown
fieldName: unknown
shareholderCode: SH00001
merchantReference: MRef#000001
sourceAccountCode: AC0000001S
status:
message:
code: '100'
text: test message
statusCode: Success
transferCode: TC0001
post-SCHEDULED_REFUNDS-scheduledRefunds:
summary: SCHEDULED_REFUNDS example
value:
eventType: SCHEDULED_REFUNDS
executingUserKey: executing-user-key
live: false
pspReference: TSTPSPR0001
content:
accountCode: AC000001
accountHolderCode: AH000001
lastPayout:
amount:
currency: EUR
value: 10
bankAccountDetail:
accountNumber: '00000000'
accountType: checking
bankAccountName: Account name
bankAccountUUID: 00000000-0000-0000-0000-000000000000
bankBicSwift: BSWFT
bankCity: Amsterdam
bankCode: '00000000'
bankName: Bank Name Co
branchCode: '00000000'
checkCode: '1234'
countryCode: NL
currencyCode: EUR
iban: NL00NONE1234123412
ownerCity: Amsterdam
ownerCountryCode: NL
ownerDateOfBirth: '1981-02-27'
ownerHouseNumberOrName: 32/B
ownerName: Owner Name
ownerNationality: NL
ownerPostalCode: 1000AA
ownerState: NH
ownerStreet: Owner Street
primaryAccount: false
taxId: OT#12345
urlForVerification: http://adyen.com
captureMerchantReference: MRef0000001C
capturePspReference: TSTPSPR00000001C
creationDate: '1970-01-01T01:00:00+01:00'
description: transaction description
destinationAccountCode: AC0000001D
disputePspReference: TSTPSPR00000000D
disputeReasonCode: DRC001
merchantReference: MRef#00000001
paymentPspReference: TSTPSPR0000000PO
payoutPspReference: TSTPSPR000000PI
pspReference: TSTPSPR000000001
sourceAccountCode: AC00000001S
transactionStatus: Debited
transferCode: TC0001
refundResults:
- originalTransaction:
amount:
currency: EUR
value: 10
bankAccountDetail:
accountNumber: '00000000'
accountType: checking
bankAccountName: Account name
bankAccountUUID: 00000000-0000-0000-0000-000000000000
bankBicSwift: BSWFT
bankCity: Amsterdam
bankCode: '00000000'
bankName: Bank Name Co
branchCode: '00000000'
checkCode: '1234'
countryCode: NL
currencyCode: EUR
iban: NL00NONE1234123412
ownerCity: Amsterdam
ownerCountryCode: NL
ownerDateOfBirth: '1981-02-27'
ownerHouseNumberOrName: 32/B
ownerName: Owner Name
ownerNationality: NL
ownerPostalCode: 1000AA
ownerState: NH
ownerStreet: Owner Street
primaryAccount: false
taxId: OT#12345
urlForVerification: http://adyen.com
captureMerchantReference: MRef0000001C
capturePspReference: TSTPSPR00000001C
creationDate: '1970-01-01T01:00:00+01:00'
description: transaction description
destinationAccountCode: AC0000001D
disputePspReference: TSTPSPR00000000D
disputeReasonCode: DRC001
merchantReference: MRef#00000001
paymentPspReference: TSTPSPR0000000PO
payoutPspReference: TSTPSPR000000PI
pspReference: TSTPSPR000000001
sourceAccountCode: AC00000001S
transactionStatus: Debited
transferCode: TC0001
pspReference: TSTPSPR00000001
response: response
post-TRANSFER_FUNDS-transferFunds:
summary: TRANSFER_FUNDS example
value:
error:
errorCode: '000'
message: test error message
eventDate: '2019-01-01T01:00:00+01:00'
eventType: TRANSFER_FUNDS
executingUserKey: executing-user-key
live: false
pspReference: TSTPSPR0001
content:
amount:
currency: EUR
value: 10
destinationAccountCode: AC0000001D
invalidFields:
- errorCode: 1
errorDescription: Field is missing
fieldType:
field: AccountHolderDetails.BusinessDetails.Shareholders.unknown
fieldName: unknown
shareholderCode: SH00001
merchantReference: MRef#000001
sourceAccountCode: AC0000001S
status:
message:
code: '100'
text: test message
statusCode: Success
transferCode: TC0001