Compliance
Retrieve an account
Changed onRetrieves a specific account by its ID. Accepts a server-generated ID (account_*).
Note: Entity relationships are not included in the response. Use GET /v0/accounts/{id}/entity_relationships to retrieve them.
get/v0/accounts/{id}
Request
- Base URLhttps://api.sandbox.lead.bank
- URLhttps://api.sandbox.lead.bank/v0/accounts/{id}
- AuthHTTP bearer
Path parameters
idstring required
The ID of the Account object.
Example:account_xyz123
Account ID
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
- warning
added the new
autopay_authorizationenum value to the//response property for the response status - warning
added the new
cardholder_agreementenum value to the//response property for the response status - warning
added the new
deposit_agreementenum value to the//response property for the response status - warning
added the new
periodic_statementenum value to the//response property for the response status
- warning