Skip to main content
Send one event per repayment deducted from a borrower’s income deposit, and one per repayment you make to the credit line. Both go to POST /v1/events, the same endpoint that takes money-step confirmations.

Repaying a loan

When a deduction repays the loan, release_hold follows within seconds, and refund too when more was deducted than owed. Neither is in that event’s answer, so read the loan a minute later.

Events

Use the event_id as the Idempotency-Key. A repeated event_id, ledger_operation_id or repayment_id answers 202 and changes nothing.

deposit.settled rules

integer
required
At least 1, and no more than deposit_amount_cents.
string
required
No earlier than the payout, and at most 5 minutes ahead of our clock.
integer
required
The deduction version you applied.

tradevu.repayment rules

integer
required
No more than the principal still owed on that loan’s credit line.

Answers