GET
/
v1
/
testing
/
card_token
Fetch a Test Credit Card Token
curl --request GET \
  --url https://api.bolt.com/v1/testing/card_token \
  --header 'X-API-Key: <api-key>'
{
  "token": "7i8322df93jsor663bsf02be798e672afd9360a81d203rc97778ff4bddedertg",
  "expiry": 1671140825305,
  "last4": "1004",
  "bin": "411111",
  "network": "visa"
}

Authorizations

X-API-Key
string
header
required

Admins and Developers can obtain their Bolt API key from the Bolt Merchant Dashboard.

Response

200 - application/json

Successfully Fetched Credit Card Token

token
string

The newly generated credit card token.

Example:

"7i8322df93jsor663bsf02be798e672afd9360a81d203rc97778ff4bddedertg"

expiry
integer

The date at which the token expires. A token must be used within 15 minutes of creation.

Example:

1671140825305

last4
string

The last 4 digits of the card number.

Example:

"1004"

bin
string

The credit card bin.

Example:

"411111"

network
string

The credit card network.

Example:

"visa"