---
title: "Tokenize a card with wallet credentials"
method: POST
path: "/credit_cards/"
---

# Tokenize a card with wallet credentials

`POST /credit_cards/`

## Request

- Base URL: `https://gateway.pmnts-sandbox.io/v1.0`
- URL: `https://gateway.pmnts-sandbox.io/v1.0/credit_cards/`
- Auth: HTTP basic

## Request body

- object
  - `wallet` object
    - `type` string, required: The wallet type. Current accepted values are VISA, MASTERPASS, AMEX, GOOGLE, APPLE.
    - `callid` string: (Visa Checkout only)
    - `checkout_identifier` string: (Masterpass only)
    - `oauth_token` string: (Masterpass only)
    - `oauth_verifier` string: (Masterpass only)
    - `auth_code` string: (Amex only)
    - `transaction_id` string: (Amex only)
    - `wallet_id` string: (Amex only)
    - `card_type` string: (Amex only)

## Response `200`

200

- object
  - `successful` boolean
  - `response` object
    - `token` string
    - `card_holder` string
    - `card_number` string
    - `card_expiry` string
    - `authorized` boolean
    - `transaction_count` integer
    - `wallet` object
      - `name` object
        - `first` string
        - `last` string
      - `address` object
        - `line_1` string
        - `line_2` unknown
        - `city` string
        - `state` string
        - `postcode` string
        - `phone` string
      - `email` string
      - `card_source_reference` string
  - `errors` unknown[]
    - unknown
  - `test` boolean

## Other responses

- `400`: 400

## Changes

- **2026-11-03** `a62ddbae3800`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/fatzebra/apis/gateway/changes/credit_cards/post~2.md)

---

[API](https://skmtc.dev/fatzebra/apis/gateway.md) - [All operations](https://skmtc.dev/fatzebra/apis/gateway/llms.txt) - [OpenAPI document](https://skmtc.dev/fatzebra/apis/gateway/revisions/a62ddbae3800?raw)
