cURL
curl --request GET \ --url https://api.joinslash.com/virtual-account/{virtualAccountId} \ --header 'X-API-Key: <api-key>'
{ "virtualAccount": { "id": "<string>", "name": "<string>", "accountNumber": "<string>", "routingNumber": "<string>", "accountId": "<string>", "closedAt": "<string>", "accountType": "default" }, "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" } } }
Retrieve a single virtual account by its ID.
Authentication from public API requests
OK
The virtual account itself
Show child attributes
The total balance of the virtual account
The total spend of the virtual account
The commission rule applied to the virtual account, if any