ledger-accounts
Fetch account details
Changed onThis operation allows the client to fetch account details by account id. A client can fetch only their own account details.
get/ledger/accounts/{accountId}
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
accountIdstring uuid required
the unique onboard account ID
Response
Account details fetched
Example response
{
"name": "ACME Corp",
"customerName": "Babajide Apata",
"currency": "GBP"
}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