Skip to main content
GET
/
virtual-account
/
{virtualAccountId}
cURL
curl --request GET \
  --url https://api.joinslash.com/virtual-account/{virtualAccountId} \
  --header 'X-API-Key: <api-key>'
{
  "virtualAccount": {
    "id": "<string>",
    "name": "<string>",
    "accountId": "<string>",
    "accountType": "default",
    "accountNumber": "<string>",
    "routingNumber": "<string>",
    "closedAt": "<string>"
  },
  "balance": {
    "amountCents": 123
  },
  "spend": {
    "amountCents": 123
  },
  "commissionRule": {
    "id": "<string>",
    "virtualAccountId": "<string>",
    "commissionDetails": {
      "type": "flatFee",
      "amount": {
        "amountCents": 123
      },
      "frequency": "monthly",
      "startDate": "2023-11-07T05:31:56Z"
    }
  }
}

Authorizations

X-API-Key
string
header
required

Authentication from public API requests

Path Parameters

virtualAccountId
string
required

Response

OK

virtualAccount
VirtualAccountModel · object
required

The virtual account itself

balance
Money · object
required

The total balance of the virtual account

spend
Money · object
required

The total spend of the virtual account

commissionRule
VirtualAccountCommissionRule · object

The commission rule applied to the virtual account, if any