Get subaccount by ID
Retrieve detailed information about a specific subaccount, including current balance and virtual banking details.
Path Parameters
Response Body
Balance Information
The subaccount tracks two key metrics:
- Total Incoming: Sum of all settled pay-ins and incoming moves (funds added to the subaccount)
- Total Outgoing: Sum of all settled/debited payouts and outgoing moves (funds removed from the subaccount)
All amounts are in the smallest unit of the account’s currency (for USD, cents — so 150000 = $1,500.00).
Authentication
x-api-keystring
RootPay API key sent in the x-api-key header. Keys are environment-scoped: live_* for production, test_* for sandbox.
Path parameters
subaccount_id
The ID of the subaccount to retrieve
Response
Subaccount retrieved successfully