post https://sandbox.interswitchng.com/lending-service/api/v1/tenured-offers//accept
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.
Response Descriptions
Field # | Field name | Data type | Max length | Required | Description |
---|---|---|---|---|---|
1 | customerId | String | true | The Email or Mobile Number of the Customer. | |
2 | debitMethod | Object | The Object containing the properties of the Card to be debited when the loan is due. This is required when the debitMethodId is not provided. | ||
3a. | identifier | String | false | The Payment Method Identifier (GUID) of the Card to be debited. | |
3b. | authData | String | false | The AuthData of the Card to be debited. This is only provided when the Card to be debited doesn’t have all the required details. It is the encryption of the Card PAN or Identifier, Expiry Date, PIN, and CVV. | |
4 | providerCode | String | true | The Code of the provider from which this offer was retrieved. | |
5 | merchantCode | String | true | The merchant identifier |