ledger-sub-accounts
Update sub-account details by sub-account ID.
Changed onThis endpoint updates sub-account details by sub-account ID.
put/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
Request body
Response
Sub-account updated 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