1. Home
  2. Interswitch lending Service
  3. Interswitch Lending Service (Channels)
  4. Get Token With Token Validation

Get Token With Token Validation

This endpoint will be used to convert a User’s Card AuthData to a Vault Token which can then be used against the Debit Customer API.

Request Message Description

Field

#

Field name Data type Max length Required Description
1 customerId String 50 true The Email or Mobile Number of the User.
2. authData String 512 true The AuthData computed from the Card Properties (PAN, CVV, Pin and Expiry).
3. transactionRef String true
POST {{host}}/v2/payments/token

Headers

  Authorization: Bearer {{token}}

Host

https://sandbox.interswitchng.com/lending-service/api

Sample Request

{
“authData”: “RTojFURS9D1MDZ7gb6y7ych4ReHzoLr9AdIsqpZO4fj/huSyi+wDTig1ORaguhKkxm4NJLInJaFKKImKSSK0dG3cLqIiHnKL8RJdKCyvB74ku1P1l4MmQm+PrheYzjR8D6iBgGi9LMnTWxQajcnvnKMwl3FjjXHWDVB7lkWhk6KjATg4iEd7pZ1Y5frHYMsdMWGOQlzkIVRbVXcAKaHPqGlGIBNFPDbJxpME8KUp1f/QoqoJ/ryipa5oBVX3o2Z/p1YMAuWETxv3FFk39omKYZmh21uC+i2pgvBeg3T8bjqc5jFpA0Qxejj1uBWTwkUtzqvCUQxSSRIlfN2UEUOF8Q==”,
“customerId” : “2349095801772”,
“transactionRef” : “15345574890”,
“providerCode”:”MKT”
}

Sample Response (success)

{    “transactionRef”: “1234566”,    “responseCode”: “T0”,    “message”: “Kindly enter the OTP sent to 234812***8436 and dadub************itch.com”}
Was this article helpful to you? Yes No

How can we help?