User Account
Create a user account
Changed onCreate a User Account.
post/v2/user_accounts
Request
- Base URLhttps://api.sandbox.lead.bank
- URLhttps://api.sandbox.lead.bank/v2/user_accounts
- AuthHTTP bearer
Headers
Idempotency-Keystring required
A unique key for this request, up to 255 characters. Retrying with the same key and body returns the original response without creating a second user account. See Idempotency.
Request body
Example request
{
"application_id": "application_xyz123",
"entities": {
"account_holders": [
"entity_xyz123"
],
"authorized_signers": [
"entity_xyz123"
],
"authorized_users": [
"entity_xyz123"
]
},
"product_config_id": "product_config_xyz123",
"details": {
"underwriting": {
"currency_code": "USD"
}
},
"documents": [
{
"file_id": "file_7RwQ2mK9pL4xT1vN8jS5",
"timestamp": "2026-09-14T14:20:11Z",
"version": "v2"
}
]
}Response
User account created successfully.
Example response
{
"id": "user_account_xyz123",
"application_id": "application_xyz123",
"details": {
"underwriting": {
"currency_code": "USD"
}
},
"documents": [
{
"file_id": "file_7RwQ2mK9pL4xT1vN8jS5",
"timestamp": "2026-09-14T14:20:11Z",
"version": "v2"
}
],
"legacy_documents": [
{
"document_id": "loan_agreement_01_2026.pdf",
"version": "v1"
}
],
"product_config_id": "product_config_xyz123"
}Changes
- info
endpoint added
- info