URL: {{base_url}}/modules/expenses/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
expense_numberEnter expense 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

    {
   "expense_number":2,
   "amount":2000,
   "payment_method":"bank"
  }