---
title: "Create a Token"
method: POST
path: "/v1/tokens"
---

# Create a Token

`POST /v1/tokens`

## Request

- Base URL: `https://api.paymongo.com`
- URL: `https://api.paymongo.com/v1/tokens`
- Auth: HTTP basic

## Headers

- `Content-Type` string

## Request body

- object
  - `data` object
    - `attributes` object
      - `number` string, required: Credit/Debit Card number of the Token.
      - `exp_month` integer, required: Expiry month of the Credit/Debit Card.
      - `exp_year` integer, required: Expiry year of the Credit/Debit Card.
      - `cvc` string, required: CVC of the Credit/Debit Card.
      - `billing` object
        - `address` object
          - `line1` string: Line1 of the billing address information
          - `line2` string: Line2 of the billing address information
          - `city` string: City of the billing address information
          - `state` string: State of the billing address information
          - `postal_code` string: Postal Code of the billing address information
          - `country` string: Country of the billing address information. Possible values are ISO 3166-1 alpha-2 codes or two-letter country codes..
        - `name` string: Name of the billing information.
        - `email` string: E-mail address of the billing information.
        - `phone` string: Phone of the billing information.

## Response `200`

200

- object

## Other responses

- `400`: 400

## Changes

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

[Operation history](https://skmtc.dev/paymongo/apis/paymongo-api/changes/v1/tokens/post.md)

---

[API](https://skmtc.dev/paymongo/apis/paymongo-api.md) - [All operations](https://skmtc.dev/paymongo/apis/paymongo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/paymongo/apis/paymongo-api/revisions/f9ffaecbfe3d?raw)
