ledger-card accounts
Terminate a card account.
Changed onTerminates the card on the provider and sweeps any residual dedicated-account balance back to the business's MAIN account.
post/ledger/card-accounts/{cardAccountId}/terminate
Request
- Base URLhttps://external.dev.onboardpay.co
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
cardAccountIdstring uuid required
The unique card account ID
Response
Card account terminated successfully
Example response
{
"currency": "USD"
}Changes
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info
- info
endpoint added
- info