Funding
Create a Funding
Changed onCreate a Funding to disburse principal from a User Credit Balance to an Account Number. The response returns the Funding with status: processing. See Funding Object for the checks Lead runs on create.
post/v2/fundings
Request
- Base URLhttps://api.sandbox.lead.bank
- URLhttps://api.sandbox.lead.bank/v2/fundings
- AuthHTTP bearer
Headers
Idempotency-Keystring required
Idempotency key
Request body
Example request
{
"user_credit_balance_id": "user_credit_balance_1HCpXwx2EK9oYluWbacgeCnFcLf",
"account_number_id": "account_number_xyz123",
"currency_code": "USD",
"amount": 1000000,
"metadata": {
"loan_id": "201681646780571"
}
}Response
The Funding object was accepted for processing.
Example response
{
"id": "funding_0o5Fs0EELR0fUjHjbCnEtdUwQe3",
"user_credit_balance_id": "user_credit_balance_1HCpXwx2EK9oYluWbacgeCnFcLf",
"account_number_id": "account_number_xyz123",
"currency_code": "USD",
"amount": 1000000,
"metadata": {
"loan_id": "201681646780571"
},
"core_transaction_id": "core_transaction_5BIJT5QH8Qm2n1x~0",
"status": "processing",
"rejection": {
"reason": "internal_error",
"details": "Funding object rejected due to an internal error."
},
"created_at": "2026-09-17T11:01:36Z",
"updated_at": "2026-09-17T11:05:00Z"
}Changes
- info
endpoint added
- info