Overview
Each cash balance account can be closed, with all it’s balance transferred and depending virtual cards’ funding source changed or them being locked.Close User Cash Balance Account
Sample request
You can close a user cash balance account with thecloseUserCashBalance mutation. This mutation allows you to do the following:
- Close your spending account.
- Change virtual cards funding source if there are any that have this spending account as one.
- Lock related virtual cards.
- Transfer the remaining balance to another spend account.
CloseUserCashBalanceInput input object.
CloseUserCashBalanceInput input type. Any field marked with an exclamation mark (!) in the schema is mandatory and must be included in the request.
CloseUserCashBalanceInput
Example
CloseUserCashBalanceFundingSource
Example
Sample response
The response from thecloseUserCashBalance mutation will include a closed cash balance account details, including its unique identifier and a list of affected virtual cards.
Response Fields
closeUserCashBalance
affectedVirtualCards
❗️ Authorization required
This mutation requires the MANAGE_PAYMENT scope. Ensure your access token has been granted this scope before attempting to create a cash balance account.