Skip to main content
POST
This card registration endpoint allows for direct enrollment of cards with the Thanx platform for loyalty tracking via the credit card networks (Visa, Mastercard, American Express). This API endpoint is hosted by our secure card vaulting partner, which allows us to proxy cards for vaulting directly with the downstream credit card networks. Note that this API uses a different API URL than other Consumer API endpoints
  • Sandbox: https://secure.api.thanxsandbox.com/cards
  • Production: https://secure.api.thanx.com/cards
Please review proper request headers here.

Request Field

string
required
The full card PAN
string
The card’s billing zip code

Response

string
Card ID
string
The user the card belongs to
string
Last 4 digits of the card PAN
enum
Card type (visa, mastercard, amex)
string
The card's billing zip code