Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Thanx Cards API

Register and manage payment cards for card-linked loyalty.

Thanx Cards API is one of 14 APIs that Thanx publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 50 JSON Schema definitions.

Tagged areas include Cards. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, authentication docs, best-practice docs, a JSON-LD context, and 50 JSON Schemas.

This API exposes 3 operations across 2 paths, and defines 3 schemas. It is described by OpenAPI 3.1.0, at version v4.0.

Requests are made against 4 base URLs: https://api.thanx.com, https://api.thanxsandbox.com, https://secure.api.thanx.com, https://secure.api.thanxsandbox.com.

3 operations 2 paths 3 schemas 1 DELETE1 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
v4.0
Base URL
https://api.thanx.com
Authentication
HTTP Bearer, API Key
Contact
License
Proprietary
Resource Areas
1

Authentication & Security 2

Thanx Cards API declares 2 security schemes for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). An API key is passed in the header as X-ClientId (clientId). By default, every request must be authenticated.

  • bearerAuth — End-user access token acquired through Thanx SSO.
  • clientId — Client-specific identifier provided by Thanx.

Paths & Operations 3

Across 2 paths, the API surfaces 3 operations — 1 DELETE, 1 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Cards 3

Register and manage payment cards for card-linked loyalty.

POST
/cards
Create Card
createCard body → 201401
GET
/cards
Get Cards
getCards → 200
DELETE
/cards/{id}
Delete Card
deleteCard 1 param → 204

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are Card (5 properties), Error (3 properties), CardEnvelope (1 property). Each schema is shown below with its type and property counts.

Card
object
5 properties
CardEnvelope
object
1 property
Error
object
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

thanx-cards-api-openapi.yml Raw ↑

Other APIs Thanx publishes across the network.

Thanx Account API
Thanx Auth API
Thanx Baskets API
Thanx Campaigns API
Thanx Gift Cards API
Thanx Issuance Jobs API
Thanx Locations API
Thanx Metadata API
Thanx Points API
Thanx Purchases API
Thanx Rewards API
Thanx Subscribers API