ledger-sub-accounts
Fetch sub-account details by sub-account ID.
Changed onThis endpoint returns sub-account details by sub-account ID.
get/ledger/subaccounts/{subAccountIdRef}
Request
- Base URLhttps://external.dev.onboardpay.co
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
subAccountIdRefstring required
The unique onboard sub-account ID or reference
Response
Sub-account fetched Successfully
Example response
{
"currency": "USD",
"accountBalance": {
"balance": 1000,
"availableBalance": 1000
}
}Changes
- info
the endpoint scheme security
HMACAuthwas added to the API - info
the endpoint scheme security
authTokenwas removed from the API
- info
- info
endpoint added
- info