GET
/
virtual-account
/
{virtualAccountId}
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"
    }
  }
}

Authorizations

X-API-Key
string
header
required

Authentication from public API requests

Path Parameters

virtualAccountId
string
required

Response

200
application/json
OK
virtualAccount
object
required

The virtual account itself

balance
object
required

The total balance of the virtual account

spend
object
required

The total spend of the virtual account

commissionRule
object

The commission rule applied to the virtual account, if any