User Credit Balance
Close a Credit Balance
Changed onClose an active or inactive User Credit Balance. Closing is terminal. Outstanding principal, interest, and fees must all be zero first, unless the User Credit Balance is charged off. Calling this on a closed User Credit Balance returns 200 with its current state.
post/v2/user_credit_balances/{user_credit_balance_id}/close
Request
- Base URLhttps://api.sandbox.lead.bank
- URLhttps://api.sandbox.lead.bank/v2/user_credit_balances/{user_credit_balance_id}/close
- AuthHTTP bearer
Path parameters
user_credit_balance_idstring required
The Credit Balance's ID
Headers
Idempotency-Keystring required
Idempotency key
Request body
Response
Credit Balance closed successfully (or already closed)
Example response
{
"name": "Personal Loan - Jane Smith",
"currency_code": "USD",
"interest": {
"rate": "5.250000",
"effective_rate": "5.250000",
"effective_apr": "5.250"
}
}Changes
- info
endpoint added
- info