Skip to main content
POST
Create Card Definition

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

X-App-Id
string
header
required
X-App-Token
string
header
required

Body

application/json
name
string
required
Required string length: 1 - 200
type
enum<string>
required
Available options:
INDIVIDUAL
status
enum<string> | null
default:DRAFT

Initial status. Defaults to DRAFT if not provided.

Available options:
DRAFT,
ACTIVE,
null
code_config
object | null

Code generation configuration. Defaults to 10-character alphanumeric pattern if not provided.

points_expiration
object | null

Points expiration policy. Defaults to NO_EXPIRATION.

pending_points
object | null

Pending points policy. Defaults to IMMEDIATE.

earning_limits
object | null

Earning limits configuration. Defaults to no limits.

spending_limits
object | null

Spending limits configuration. Defaults to no limits.

refunds
object | null

Refund policies. Defaults to no refunds.

balance_settings
object | null

Balance settings. Defaults to allow_negative: false.

metadata
object | null

Response

Created card definition

Full card definition DTO returned by all CRUD endpoints.

id
string
required
name
string
required
type
enum<string>
required
Available options:
INDIVIDUAL
status
enum<string>
required
Available options:
DRAFT,
ACTIVE,
INACTIVE,
DELETED
code_config
object
required
points_expiration
object
required
pending_points
object
required
earning_limits
object
required
spending_limits
object
required
refunds
object
required
balance_settings
object
required
metadata
object
required
created_at
string<date-time>
required
object
string
required
Allowed value: "card_definition"
updated_at
string<date-time> | null
Last modified on May 19, 2026