Liability
Liability Repayment
Endpoint for making liability repayment.
URL: {{base_url}}/modules/liability/repayment
Method: POST
Bearer Token: Replace this with an actual token in the request
Headers
Subscription: Replace this with the subscription value
Access_Token: Replace this with the actual access token value
Request Body
Key | Values | Required |
---|---|---|
amount | Enter repayment amount | Yes |
liability_number | Enter liability number | Yes |
payment_method | Enter payment method. Value should either be cash or bank | Yes |
Response Codes
Code | Description |
---|---|
201 | Successful |
500 | Internal Server Error |
401 | Unauthorized: Check error message |
Below is an example of json request body
{
"liability_number":1,
"amount":2000,
"payment_method":"bank"
}