Skip to main content
After creating a spend account, you can access it through the following queries:
  1. getUserCashBalances - retrieves a list of all your spend accounts.
  2. getUserCashBalanceById - retrieves a specific spend account based on it’s id value.
Authorization requiredThis mutation requires the LIST_PAYMENT scope. Ensure your access token has been granted this scope before attempting to transfer funds internally.

Spend Account details

The UserCashBalanceDetails object will contain important information about the spend account.

Retrieve the Spend Account List

To obtain a list of spend accounts created on your account, use the getUserCashBalances query. This call returns a list of spend accounts with basic details, including the userCashBalanceId. You will need this ID to retrieve a specific spend account through getuserCashBalanceById.

Variables

Sample Request

Please note that due to rate-limiting, you might need to paginate and call the spend account list a few times.

Sample Response

The response will contain a list of spend accounts
JSON

Filter Options

Example - Get only ACTIVE spend accounts

Pagination

Example - Page 1:
Example - Page 2:

Retrieve a specific Spend Account

To obtain a specific spend account created on your account, use the getUserCashBalanceById query. This call returns this spend account’s details, including the userCashBalanceId & it’s balances.

Variables

Sample Request

Sample Response

The response will contain a specific spend account’s details
JSON