This is the endpoint that get card in a wallet.
Request Message Description
Field# | Field name | Data type | Required | Max Length | Description | Options |
---|---|---|---|---|---|---|
1 | walletIdType | Map | yes | wallet identifier type | ||
2 | channel | String | yes | 30 | channel sending request | “WEB” or “USSD” or “SERVICE” or “MOBILE” |
3 | walletId | String | yes | wallet identifier |
Endpoint
Base URL : https://api-gateway.interswitchng.com
Request: GET /generic-wallet/api/v1/cards/get?walletIdType={{walletIdType}}&walletId={{walletId}}&channel={{channel}}
Header
Content-Type: application/json
Authorization: {passport generated bearer token}
Sample Response
{
"statusCode": "200",
"responseCode": "00",
"responseMessage": "Successful",
"errors": null,
"modelList": [
{
"id": 1346,
"domain": "ISW",
"walletName": "TESTER1",
"walletStatus": "ACTIVE",
"institution": "ISW",
"panEncrypted": "c09329f95e2dbe2ab259775b5018c5479cbbcd1a08f48cfdc746cc993a05051a",
"panMasked": "506100*6292",
"cardtypeCode": "ECASH",
"issuerCode": "FBN",
"issuerCBNCode": "011",
"cardStatus": "ACTIVE",
"cardIdentifier": "3E9A1707-691D-49D5-B171-35E59716C383",
"currency": "NGN",
"pan": "5061000103301096292",
"seqNr": "001",
"defaultAccountType": "20",
"expiryDate": "2205",
"cvv": "111",
"cvv2": "975",
"virtualCard": true
}
],
"count": 1
}