1. Home
  2. Interswitch lending Service
  3. Interswitch Lending Service (Channels)
  4. API Specification for POS
  5. Accept Offer

Accept Offer

This Endpoint is to accept a loan offer. On calling this endpoint, the service will mark an offer as accepted and then notify the provider of this decision while providing them with the account details of the customer.

Request Message description

Field

#

Field name
Data type
Max length
Required
Description
1 customerId String true The Mobile Number of the Customer.
3 debitMethod Object The Object containing the properties of the Card to be debited when the loan is due. The account tied to the card will also be credited
3a. authData String false The AuthData of the Card to be debited and account to be credited. It is the encryption of the Card PAN, Expiry Date, PIN, and CVV.
4 channelCode String true The Code of the Channel from which this request is being sent.
5 providerCode String true The Code of the provider from which this offer was retrieved.
Endpoint
POST /v2/offers/{offerId}/accept
Sample Request Three

{
"customerId": "2348123456789",
"channelCode": "0002",
"providerCode": "ABCREDIT",
"debitMethod": {
"authData": "NQkmlsofwtUI/h8M9jN8xYjCYRmzdIfM/v2X2q9eVjnu
U75E31MPKTYYlinxuzSthjY0C1S2i4+A0vyAAFwth6sJx6p9ekp9H4hsiO3iG+x
587KqVwhBY5DC76oArxINzzxP4F09Aw/a527jVb4Agx5aTDQiyAKV8WSTzjHY7KH8XB2
/lI+WwUEOhs49yCRPXh+tXJCGdefZgZYFyI09WNp2w8AWDQUZvRpzPFzS09QAeiI4qWu
FZ01F/HAF4D09I8Gg+61lWwclw4zcPLXWB17zzb/BrMZcjJvyrouCbbn6n7zaUqyFG4H
4r3NTRAcuVxCnDCC2wjRO9ZRq2la4lA=="
}
}}
Response Message  field description

Field

#

Field name
Description
1 responseCode The Code representing the result of the request processing.
2 responseMessage The Description of the responseCode.
Sample Response (success)
{
    "responseCode""00",
    "responseMessage""Transaction successful. Account would be credited shortly",
    "loanId" "23467881"
}
Sample Response (failure)
{
    "responseCode""96",
    "responseMessage""Oops. Something went wrong. Please try again later"
}
Was this article helpful to you? Yes 1 No

How can we help?