Skip to main content
POST
/
tokenize
Tokenize card
curl --request POST \
  --url https://tokens.pushcash.com/tokenize \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "user_id": "user_28CJjV7P4Go5PNJvfzghiD",
  "pan": "5555555555554444",
  "cvv": "123",
  "exp_month": "12",
  "exp_year": "28"
}
'
{
  "token": "token_mbDRHFi3dxIZEtykHsgUGC"
}

Documentation Index

Fetch the complete documentation index at: https://docs.pushcash.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
user_id
string
required

The Push identifier for the user the token will be associated with.

Example:

"user_28CJjV7P4Go5PNJvfzghiD"

pan
string
required

The cardholder's primary account number (PAN).

Example:

"5555555555554444"

cvv
string
required

The card verification value.

Example:

"123"

exp_month
string
required

The two-digit card expiration month.

Example:

"12"

exp_year
string
required

The two-digit card expiration year.

Example:

"28"

Response

Token created successfully

token
string
required

A short-lived token that can be submitted to /authorize to process a payment.

Example:

"token_mbDRHFi3dxIZEtykHsgUGC"