1. Home
  2. Interswitch lending Service
  3. Interswitch Lending Service (Channels)
  4. Payment Notification

Payment Notification

This endpoint will be used by clients to send notification about a payment made for a loan. When the Service receives this notification and validated that it is valid, a notification request will be sent out to the provider of this loan who will then return the status of the loan after this payment is accepted.

Request Message Description

 

Field

#

Field name Data type Max length Required Description
1 loanId String true The loan Id for the which the payment was made.
2 amount String true The Amount that was paid by the user.
3 paymentLogId String true The Payment Log ID of the payment made.

Endpoint

POST /loans/{loanCode}/notify-payment

Headers

  Authorization: Bearer {{token}}

Sample request

{

“amount”:”12000”,

“PaymentLogId”: “3193831”

}

Response Message  field description

Field

#

Field name Description
1 status The Status of the processing of this notification
2 paymentLogId The Payment Log Id of this notification/payment.

Sample Response (success)

{

“PaymentLogId”:”3193831”,

“Status”:”0”

}

Sample Response (failure)

{

“PaymentLogId”:”3193831”

”Status”:”2”

}

 

 

Was this article helpful to you? Yes No

How can we help?