Cards
Create Card
This endpoint registers a new card with Thanx.
POST
/
cards
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
Request Field
The full card PAN
The card’s billing zip code
Response
Card ID
The user the card belongs to
Last 4 digits of the card PAN
Card type (visa, mastercard, amex)
The card's billing zip code