Bank Connection

userBankAccount

Changed on

Selects a user's bank account. This sets the default bank account for transactions. If no bankAccountId is provided in the /transaction call, the selected account will be used.

<details> <summary><strong>Error Glossary</strong> (click to expand)</summary>
CodeHTTP StatusMessage
AP101401No authenticated user
AP400200No bank account linked
AP401400Cannot validate bank account
AP412200Bank account already removed
AP700400Missing or invalid required parameter
AP701400Improperly formatted parameter
</details>
patch/v2/userBankAccount/{bankAccountId}

Request

Headers

Content-Typestring required
authorizationstring required

A userForMerchant scoped token.

Response

Success - Bank Account Updated

OR

Example response

{
  "error": {
    "help": "Contact support@aeropay.com for help.",
    "code": "AP700",
    "message": "Missing required Parameter: 'email'"
  }
}

Changes

    • info

      added the optional property / to the response with the status