Do Refund

post/lending-service/v1/payments/refund

Request

  • Base URL
    https://sandbox.interswitchng.com
  • URL
    https://sandbox.interswitchng.com/lending-service/v1/payments/refund
  • Auth
    none required

Headers

Authorizationstring

Request body

customerIdstring required

The Email or Mobile Number of the customer to be refunded. Max length: 50

amountinteger required

The Amount to be refunded to the customer’s account (in kobo). Max length: 50

transactionIdstring required

The unique transaction identifier. This is the reference that will be used to re-query for the transaction status in case of an unresolved state. Max length: 50

loanIdstring required

The loanId of the customer’s loan. Max length: 20

providerCodestring required

The Code of the provider from which this request is coming from. Max length: 50

Response

200

responseCodestring
responseMessagestring
transactionRefstring

Example response

{
  "responseCode": "00",
  "responseMessage": "Transaction Successful",
  "transactionRef": "UBN|WEB|ILS|20170501091282|01238797"
}

Changes

No recorded changes to this operation across all 1 revision of this API.