Transmit a repayment
Transmit a repayment for a loan
POST
https://sandbox-api.stilt.com/v1/users/{user_id}/loans/{loan_id}/payments
Returns a repayment_uuid for the payment along with the balance of the loan. Returns an error if parameters are invalid (e.g. specifying an amount greater than the balance).
Path Parameters
Name | Type | Description |
---|---|---|
user_id* | string | The uuid of the user |
loan_id* | string | The uuid of the loan |
Request Body
Name | Type | Description |
---|---|---|
payment_type* | enum | The type of the repayment transaction. Possible values:
|
amount* | float | The repayment amount, in USD. The maximum amount is the remaining balance of the loan. |
payment_date | string | The date to initiate the payment, formatted as Format: |
repayment_bank_info | object | An object containing the user's bank details for processing loan repayments, structured as follows:
|
original_payment_date | string | For |
Last updated