AddBankAccount API Operation
Last updated: Aug 15th, 7:54am
Sets up bank accounts as funding sources for PayPal accounts.
AddBankAccount Request
AddBankAccount Request Fields
Field | Description |
---|---|
| (Optional) The date of birth of the account holder in YYYY-MM-DDZ format, for example 1970-01-01Z. |
| (Optional) The identification number of the PayPal account for which a bank account is added. You must specify either the |
| (Optional) For the Brazil Agency Number. |
| (Optional) The account number (BBAN) of the bank account to be added. |
| The type of bank account to be added. Allowable values are:
|
| (Optional) The code that identifies the bank where the account is held. |
| (Required) The country code. See Country Codes for allowed values. |
| (Optional) The default value is UNKNOWN. |
| (Optional) The transit number of the bank. |
| (Optional) The branch code for the bank. |
| (Optional) The branch location. |
| (Optional) The Bank/State/Branch number for the bank. |
| CLABE represents the bank information for countries like Mexico. |
| (Required) Whether PayPal account holders are redirected to PayPal.com to confirm the payment card addition. When you pass NONE for this element, the addition is made without the account holder's explicit confirmation. If you pass WEB, a URL is returned. Allowable string values are:
|
| (Optional) The control digits for the bank. |
| (Optional) The email address for the PayPal account. You must specify either the |
| (Optional) The IBAN for the bank. |
| (Optional) The institution number for the bank. |
| (Optional) The partner information for the bank. |
| (Required) Information common to each API operation, such as the language in which an error message is returned. |
| (Optional) The RIB key for the bank. |
| (Optional) The bank's routing number. |
| (Optional) The branch sort code. |
| (Optional) Tax id type of CNPJ or CPF, only supported for Brazil. |
| (Optional) Tax id number for Brazil. |
| (Optional) Additional structure to define the URLs for the cancellation and return web flows. |
WebOptionsType Fields
Field | Description |
---|---|
| (Optional) The URL to which bank account/payment card holders return when they cancel the bank account addition flow. |
| (Optional) A description of the cancellation URL. |
| (Optional) The URL to which bank account/payment card holders return after they add the account or payment card. |
| (Optional) A description of the return URL. |
RequestEnvelope Fields
Field | Description |
---|---|
| The level of detail required by the client application for component such as Item, Transaction. Value is:
|
| The RFC 3066 language in which error messages are returned; by default it is |
AddBankAccount Response
AddBankAccount Response Fields
Field | Definition |
---|---|
| Execution status for the request. Value is:
|
| The key for the funding source to use in subsequent Adaptive Accounts API request messages. |
| The URL to direct the PayPal account holder to redirection after the Add Bank Account web flow is completed. |
| Common response information, including a timestamp and the response acknowledgment status. |
ResponseEnvelope Fields
Field | Description |
---|---|
| Acknowledgment code. Value is:
|
| Build number; used only by Merchant Technical Support. |
| Correlation ID; used only by Merchant Technical Support. |
| The date on which the response was sent. The time is not supported. |
AddBankAccount Errors
Variable | Description | |
---|---|---|
500000 | Framework failure. Retry. | |
520002 | Internal error |
|
520003 | Invalid credentials. | |
550001 | User is not allowed to perform this action |
|
560022 | Invalid header. | |
560029 | The required <name> header is missing from the HTTP request | |
580001 | Invalid request:
| |
580022 | Request parameter is invalid:
| |
580023 | The argument is inconsistent with the rest of the request. |