Compliance
Retrieve an account by client account ID
Changed onRetrieves an account by the client_account_id you assigned, supplied as a query parameter: GET /v0/accounts?client_account_id=.... This is the filtered form of the accounts collection and is distinct from GET /v0/accounts/{id}, which takes the server-generated Account ID (account_*). The response body is identical to GET /v0/accounts/{id}.
get/v0/accounts
Request
- Base URLhttps://api.sandbox.lead.bank
- URLhttps://api.sandbox.lead.bank/v0/accounts
- AuthHTTP bearer
Query parameters
client_account_idstring required
The client_account_id assigned to the account.
Response
Account object retrieved successfully.
Example response
{
"id": "account_xyz123",
"application_id": "application_xyz123",
"details": {
"credit": {
"currency": "USD"
}
},
"documents": [
{
"document_id": "document_2N5Hk8xYmQpL9rBvC3jD",
"version": "v1"
}
]
}Changes
- info
endpoint added
- info