---
updatedAt: 2025-11-11T00:10:03.000Z
agentTools:
  projectIndex: https://docs.interswitchgroup.com/v1.1/llms.txt
---

# Get Token With Wallet

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

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.  For this endpoint, the Auth Data to be sent will be computed using the Payment Method Identifier of the card instead of the Card PAN.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "ipg",
    "version": "1.1"
  },
  "servers": [
    {
      "url": "https://sandbox.interswitchng.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "oauth2",
        "flows": {}
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/lending-service/api/v1/payments/wallet/token": {
      "post": {
        "summary": "Get Token With Wallet",
        "description": "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",
        "operationId": "get-token-with-wallet",
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "schema": {
              "type": "string",
              "default": "Bearer eyJhbGciOiJSUzI1NiJ9.eyJhdWQiOlsiY2FyZGxlc3Mtc2VydmljZSIsImluY29nbml0byIsImlzdy1jb2xsZWN0aW9ucyIsImlzdy1jb3JlIiwiaXN3LWxlbmRpbmctc2VydmljZSIsImlzdy1wYXltZW50Z2F0ZXdheSIsInBhc3Nwb3J0IiwicGF5bWVudC1zZXJ2aWNlIiwicHJvamVjdC14LW1lcmNoYW50IiwidmF1bHQiXSwibWVyY2hhbnRfY29kZSI6Ik1YMTg3IiwicHJvZHVjdGlvbl9wYXltZW50X2NvZGUiOiIwMDE2NDYzOTg1NCIsInJlcXVlc3Rvcl9pZCI6IjAwMTE3NjE0OTkyIiwic2NvcGUiOlsicHJvZmlsZSJdLCJqdGkiOiIzNTFjNDQ5MS01YzcwLTRhOTEtODRiZS0zZjNjY2Q1YzE2Y2MiLCJwYXlhYmxlX2lkIjoiMjMyNCIsImNsaWVudF9pZCI6IklLSUE5NjE0QjgyMDY0RDYzMkU5QjY0MThERjM1OEE2QTRBRUE4NEQ3MjE4IiwicGF5bWVudF9jb2RlIjoiMDQyNTk0MTMwMjQ2In0.P2mUITLA2bsmMryCyuVwDXK-4ozcRYtEKIN1t-qRPZaUStKleLsgxQxJqXv0EZ0CIYbAECw28AeJmbiBtosVSQ824unhfYTyhRCAt1olO_pNwf6PPmMNVTUO5q7F1b3CQPKP5D3VmNMw3MrHUzTzLwqMMzTIAYWf3V-7TEuHBOVzTsOtmuV-j63qASkFGsn_3x-TwgPVeOZ-INnDtXnSCSwQKG10q0_QE7B-ke2v0Up0vxXJ4wTsX8qWm6sJ5Bn_GU260qNPnVCip93xhzAHv7e__ONfeTMdDVPypQ0lyKgcR0FcBrJqONz6yifuu2BfoGeDkXV1cyZFhZg_xwiFYw"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "customerId",
                  "authData",
                  "providerCode"
                ],
                "properties": {
                  "customerId": {
                    "type": "string",
                    "description": "The Email or Mobile Number of the User. Max length: 50",
                    "default": "2348030583962"
                  },
                  "authData": {
                    "type": "string",
                    "description": "The AuthData computed from the Card Properties (PAN, CVV, Pin and Expiry). Max length: 512",
                    "default": "aawCBPvRmEHcKNnpATJN+pJzeCCZAh4BAp3MZtTCxoYKfv5g1FhVDukKDvI/vHaLwNqe0SD9XYft6q/KQxkvY+GK+aXK6A5odZo8QoncqYdLb6KOB1ESmJ/RRKtiYi2QXRCUtmcIHRlSXHiRq49nv7eEw4/GCeqgBgaH6OrrD9FKBHjQsQMRaCa18y9Qhjf7fb1fJR6xxpMW1WTeL1MQuS4uCHGQCOKqyTXGT8AjtGK6eKMunUzNiH2/rZUj5F46FtGZZXClbmjDQwNVRvl7ma6ssq7lG0Cz8hwTFCTev/Z0eDXX8L6wUJESRlxObp86R7HmzeUczdgDF7HxgwRdeg=="
                  },
                  "providerCode": {
                    "type": "string",
                    "description": "The Code of the Provider making this call. Max length: 50",
                    "default": "PTB"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  “authData”: “NQkmlsofwtUI/h8M9jN8xYjCYRmzdIfM/v2X2q9eVjnuU75E31MPKTYYlinxuzSthjY0C1S2i4+A0vyAAFwth6sJx6p9ekp9H4hsiO3iG+x587KqVwhBY5DC76oArxINzzxP4F09Aw/a527jVb4Agx5aTDQiyAKV8WSTzjHY7KH8XB2/lI+WwUEOhs49yCRPXh+tXJCGdefZgZYFyI09WNp2w8AWDQUZvRpzPFzS09QAeiI4qWuFZ01F/HAF4D09I8Gg+61lWwclw4zcPLXWB17zzb/BrMZcjJvyrouCbbn6n7zaUqyFG4H4r3NTRAcuVxCnDCC2wjRO9ZRq2la4lA==”,\n  “customerId” : “2348030583962”,\n  “providerCode”: ”ABC”\n}"
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```