v2

latestOpenAPI 3.0.02026-07-3139594346.4 KB
Testing

Fetch a Test Credit Card Token

This endpoint fetches a new credit card token for Bolt's universal test credit card number 4111 1111 1111 1004. This is for testing and is available only in sandbox.

get/v1/testing/card_token

Response

Successfully Fetched Credit Card Token

tokenstring

The newly generated credit card token.

expiryinteger

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

last4string

The last 4 digits of the card number.

binstring

The credit card bin.

networkstring

The credit card network.

Example response

{
  "token": "7i8322df93jsor663bsf02be798e672afd9360a81d203rc97778ff4bddedertg",
  "expiry": 1671140825305,
  "last4": "1004",
  "bin": "411111",
  "network": "visa"
}