Loans
RePay Loan
This endpoint repay a new loan
POST
/
v1
/
loan
/
repay
curl --location --request POST 'https://api.stateset.network/v1/loan/repay' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": ""
}'
{
"success": 123
}
Body
This is the ID of the loan to be cancelled.
Response
Indicates whether the call was successful. 1 if successful, 0 if not.
curl --location --request POST 'https://api.stateset.network/v1/loan/repay' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": ""
}'
curl --location --request POST 'https://api.stateset.network/v1/loan/repay' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": ""
}'
{
"success": 123
}