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

# Create Virtual Debit Card

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "ipg",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://sandbox.interswitchng.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "oauth2",
        "flows": {}
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/virtual-card/api/v1/cards/create/debit": {
      "post": {
        "summary": "Create Virtual Debit Card",
        "description": "",
        "operationId": "create-virtual-debit-card",
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "accountType",
                  "pin",
                  "mobileNr",
                  "emailAddress",
                  "city",
                  "countryCode"
                ],
                "properties": {
                  "accountType": {
                    "type": "string",
                    "description": "Two digit representation of the Account Type.20 – Current Account10 – Savings Account",
                    "default": "1234567890"
                  },
                  "accountId": {
                    "type": "string",
                    "default": "1234567890"
                  },
                  "pin": {
                    "type": "integer",
                    "default": 1234,
                    "format": "int32"
                  },
                  "firstName": {
                    "type": "string",
                    "default": "John"
                  },
                  "lastName": {
                    "type": "string",
                    "default": "Doe"
                  },
                  "nameOnCard": {
                    "type": "string",
                    "default": "John Doe"
                  },
                  "mobileNr": {
                    "type": "string",
                    "default": "23487564738"
                  },
                  "emailAddress": {
                    "type": "string",
                    "default": "johndoe@gmail.com"
                  },
                  "streetAddress": {
                    "type": "string",
                    "default": "24, Royal Valley, Sango"
                  },
                  "streetAddresLine2": {
                    "type": "string"
                  },
                  "postalCode": {
                    "type": "string"
                  },
                  "city": {
                    "type": "string",
                    "default": "Ilorin"
                  },
                  "state": {
                    "type": "string",
                    "default": "Kwara"
                  },
                  "countryCode": {
                    "type": "string",
                    "default": "NGN"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n      “responseCode”:”00″,\n      “responseMessage”:”Successful”,\n      “data”:{\n            “pan”:”5063210000000005255″,\n            “seqNr”:”001″,\n            “defaultAccountType”:”20″,\n            “expiryDate”:”2407″,\n            “pinOffset”:”7928″,\n            “cvv”:”829″,\n            “cvv2″:”801”,\n            “pinInfo”:”AC47A9D62D435C76″,\n            “track2″:”5063210000000005255=2407101007928829”,\n            “customerId”:”PC5063215255-001″\n       }\n\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
}
```