ledger-sub-accounts
Get the bank account number for a sub-account.
Changed onReturns the bank account number (and bank details) generated for this sub-account in the given currency, if one exists.
get/ledger/subaccounts/{subAccountIdRef}/account-details
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.
Response
Bank account number details
Example response
{
"details": {
"accountName": "John Doe",
"accountNumber": "230101010",
"reference": "PROV123456"
},
"payinCurrency": "NGN",
"paymentMethods": [
{
"fee": {
"percentage": 0.0035,
"fixedAmount": 1.5,
"currency": "USD"
},
"limits": {
"minAmount": 1,
"firstParty": {
"maxPerTransaction": 250000,
"maxPerDay": 24000
},
"thirdParty": {
"maxPerTransaction": 250000,
"maxPerDay": 24000
},
"currency": "USD"
},
"timeline": {
"minValue": 1,
"maxValue": 3
}
}
]
}Changes
- info
added the optional property
to the response with the status
- info
- breaking
the
response's property type changed from no type toobjectfor status - info
added the optional property
/to the response with the status - info
removed from the
response propertyallOflist for the response status - info
added discriminator to
response property for the response status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status
- breaking