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

KeyValuesRequired
amountEnter repayment amountYes
liability_numberEnter liability numberYes
payment_methodEnter payment method. Value should either be cash or bankYes

Response Codes

CodeDescription
201Successful
500Internal Server Error
401Unauthorized: Check error message

Below is an example of json request body

    {
    
       "liability_number":1,
       "amount":2000,
       "payment_method":"bank"
    }