Transmit a repayment
Transmit a repayment for a LOC
POST
https://sandbox-api.stilt.com/v1/users/{user_id}/loc/{loc_id}/payments
Returns a repayment_uuid for the payment along with the balance of the loc. 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 |
loc_id* | string | The uuid of the LOC |
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 LOC. |
repayment_bank_info | object | An object containing the user's bank details for processing LOC repayments, structured as follows:
|
payment_date | String | The date to initiate the payment, formatted as Format: |
Last updated