Retrieve a virtual account

Changed on

Retrieve one accessible virtual account and its current balance.

get/v2/virtual-accounts/{virtualAccountId}

Request

  • Base URL
    https://api.slash.com
  • URL
    https://api.slash.com/v2/virtual-accounts/{virtualAccountId}
  • Auth
    API key in header X-API-Key

Path parameters

virtualAccountIdstring required

Virtual account id with the subaccount_ prefix.

Response

The virtual account.

idstring required

Virtual account id with the subaccount_ prefix.

namestring required
accountIdstring required

Parent Account id with the sa_group_ prefix.

accountType'primary' | 'default' required
status'open' | 'closed' required

Example response

{
  "commission": {
    "amount": {
      "amount": 1250
    }
  }
}

Changes