Lending Enroll Payment Method
A 3-step recipe with Interswitch. We can help you get access.
Recipe · 3 steps
Lending Enroll Payment Method
with Interswitch
Tokenize a repayment card, confirm OTP, and debit a loan repayment.
- Generate a payment token from the borrower's card. Returns a pendingToken and an OTP challenge flag.
- Validate the OTP to confirm the token and obtain a reusable payment method.
- Debit a loan repayment using the confirmed payment method.
What you'll need to have ready
- accessToken: Bearer access token from the Passport OAuth token endpoint.
- loanId: The loan to debit the repayment from.
- customerId: Borrower the payment method belongs to.
- cardPan: Card PAN to tokenize as a repayment method.
- expiryMonth: Card expiry month.
- expiryYear: Card expiry year.
- cvv: Card CVV.
- otp: OTP supplied by the borrower to confirm the token.
- amount: Repayment amount in minor currency units.
For your developer
Arazzo workflow interswitch:enroll-and-debit-repayment, 3 operations: generateLendingPaymentToken → validateLendingPaymentTokenOtp → debitLoanRepayment. Specs on APIs.io.