---
title: "Tokenize card"
method: POST
path: "/tokenized-card"
---

# Tokenize card

`POST /tokenized-card`

## Request

- Base URL: `https://uat.jiopay.co.in/qatsp/api/vault`
- URL: `https://uat.jiopay.co.in/qatsp/api/vault/tokenized-card`
- Auth: none declared

API call to tokenize a card

## Request body

- object
  - `user` object, required: Customer information
    - `externalId` string, required: Customer Id, example-ExternalId against which Cards are stored
    - `email` string: Email id is of the customer
    - `name` string: Name of the customer
    - `mobile` object
      - `countryCode` number, required: Country code
      - `number` number, required: Mobile Number
  - `entity` object, required: Merchant information
    - `entityId` string, required: Merchant Id
  - `card` object, required: Card information
    - `number` number, required: Card number
    - `expiryMm` string, required: Expiry month of the card
    - `expiryYy` string, required: Expiry year of the card
    - `name` string, required: Name on the card
    - `Authentication Reference Id` string: Auth reference number for RuPay. Only required for RuPay
    - `remark` string, required: Any remarks during tokenize
    - `consent` object, required
      - `id` string, required: Consent id
      - `timestamp` string, required: Time stamp for consent. Format:2019-07-25T15:54:07.011Z
    - `audit` object, required
      - `authorized` boolean, required: Whether the transaction was authorized successfully
      - `authorizationCode` string, required: Authorization code

## Response `200`

- object
  - `status` object, required: Status
    - `status` string, required: Status of the request
  - `vaultId` string, required: Vault Id generated
  - `tokenReference` string, required: Token Reference Id shared by the network

---

[API](https://skmtc.dev/jiopay/apis/vault-tokenization.md) - [All operations](https://skmtc.dev/jiopay/apis/vault-tokenization/llms.txt) - [OpenAPI document](https://skmtc.dev/jiopay/apis/vault-tokenization/revisions/3136884c0680?raw)
