v1

latestOpenAPI 3.0.02026-07-263118119.8 KB
Bank Connection

userBankAccount

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}

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'"
  }
}