v1
latestOpenAPI 3.0.02026-07-263118119.8 KBBank 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>| Code | HTTP Status | Message |
|---|---|---|
| AP101 | 401 | No authenticated user |
| AP400 | 200 | No bank account linked |
| AP401 | 400 | Cannot validate bank account |
| AP412 | 200 | Bank account already removed |
| AP700 | 400 | Missing or invalid required parameter |
| AP701 | 400 | Improperly formatted parameter |
patch/v2/userBankAccount/{bankAccountId}
Headers
Content-Typestring required
authorizationstring required
A userForMerchant scoped token.
Response
Success - Bank Account Updated
Example response
{
"error": {
"help": "Contact support@aeropay.com for help.",
"code": "AP700",
"message": "Missing required Parameter: 'email'"
}
}