User Credit Balance
Create a Credit Balance
Changed onCreate a User Credit Balance under an existing User Account. user_account_id comes from the URL path, not the request body. New User Credit Balances have status: active.
post/v2/user_accounts/{user_account_id}/user_credit_balances
Request
- Base URLhttps://api.sandbox.lead.bank
- URLhttps://api.sandbox.lead.bank/v2/user_accounts/{user_account_id}/user_credit_balances
- AuthHTTP bearer
Path parameters
user_account_idstring required
The parent User Account's ID
Headers
Idempotency-Keystring required
Idempotency key
Request body
Example request
{
"currency_code": "USD",
"interest": {
"rate": "5.250000",
"effective_rate": "5.250000",
"effective_apr": "5.250"
}
}Response
Credit Balance created successfully
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