dollar-signAccount balance API

Below is a set of APIs that allow one to check account balances.

Retrieve balance for a all accounts

Get merchant accounts balances and details.

get

Retrieves balances and public details for all accounts associated with a merchant.

This endpoint returns a list of accounts with their associated balances, currencies, payment methods, and other public-facing metadata.

Account fields

  • accountId (string): Unique account identifier.

  • accountLabel (string | null): Optional human-readable account label.

  • accountNumber (string): Account number.

  • accountCurrency (string): Currency in which the account balance is held.

  • referenceCurrency (string): Reference currency used for reporting purposes (e.g. USD).

  • currency (string): Operational currency. Deposits are typically made in this currency.

  • balance (string): Current account balance.

  • balanceReferenceCurrency (string): Current balance expressed in the reference currency.

  • withdrawalBalance (string): Balance available for withdrawal.

  • withdrawalBalanceReferenceCurrency (string): Withdrawable balance expressed in the reference currency.

  • paymentMethod (string | null): Attached payment method name, if applicable.

  • isActive (boolean): Indicates whether the account is active.

  • isWithdrawalAllowed (boolean): Indicates whether withdrawals are allowed for this account.

  • type (string): Account type. Possible values: fiat, crypto.

  • network (string | null): Blockchain network for crypto accounts, if applicable.

  • minConfirmationBlock (number | null): Minimum number of blocks required for a transaction to be considered confirmed.

  • fullConfirmationBlock (number | null): Number of blocks required for a transaction to be considered fully confirmed.

  • depositFullConfirmationThresholdReferenceCurrency (string | null): Threshold for full deposit confirmation in the reference currency. If a transaction exceeds this threshold, it must receive the full number of confirmation blocks.

  • depositManualReviewThresholdReferenceCurrency (string | null): Threshold for manual deposit review in the reference currency. If a transaction exceeds this threshold, it must be manually reviewed by an XGateway admin.

Authorizations
x-api-keystringRequired
Responses
chevron-right
200

Ok

application/json
get
/balance/accounts

Retrieve balance for a specific account

Get merchant account balances and details.

get

Retrieves balances and public details for a specific merchant account.

This endpoint returns an account with its associated balances, currencies, payment method, and other public-facing metadata.

Account fields

  • accountId (string): Unique account identifier.

  • accountLabel (string | null): Optional human-readable account label.

  • accountNumber (string): Account number.

  • accountCurrency (string): Currency in which the account balance is held.

  • referenceCurrency (string): Reference currency used for reporting purposes (e.g. USD).

  • currency (string): Operational currency. Deposits are typically made in this currency.

  • balance (string): Current account balance.

  • balanceReferenceCurrency (string): Current balance expressed in the reference currency.

  • withdrawalBalance (string): Balance available for withdrawal.

  • withdrawalBalanceReferenceCurrency (string): Withdrawable balance expressed in the reference currency.

  • paymentMethod (string | null): Attached payment method name, if applicable.

  • isActive (boolean): Indicates whether the account is active.

  • isWithdrawalAllowed (boolean): Indicates whether withdrawals are allowed for this account.

  • type (string): Account type. Possible values: fiat, crypto.

  • network (string | null): Blockchain network for crypto accounts, if applicable.

  • minConfirmationBlock (number | null): Minimum number of blocks required for a transaction to be considered confirmed.

  • fullConfirmationBlock (number | null): Number of blocks required for a transaction to be considered fully confirmed.

  • depositFullConfirmationThresholdReferenceCurrency (string | null): Threshold for full deposit confirmation in the reference currency. If a transaction exceeds this threshold, it must receive the full number of confirmation blocks.

  • depositManualReviewThresholdReferenceCurrency (string | null): Threshold for manual deposit review in the reference currency. If a transaction exceeds this threshold, it must be manually reviewed by an XGateway admin.

Authorizations
x-api-keystringRequired
Path parameters
accountIdstringRequired
  • Unique identifier of the account.
Responses
chevron-right
200

Ok

application/json
get
/balance/accounts/{accountId}

Last updated