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