Deduct credits from a customer account. Returns the resulting transaction record.
API key for authentication. You can find your API key in the Creem dashboard under Settings > API Keys.
Amount to credit or debit (string to support large numbers)
"1000"
Your reference ID to link this transaction to an event in your system (e.g. order ID, campaign ID)
"signup_bonus"
Idempotency key to prevent duplicate transactions
"idem_abc123"
Debit transaction created
Transaction ID
"cct_abc123"
Store ID
Reference string
"order_xyz"
Idempotency key
Transaction entries
Creation timestamp
ID of the transaction this reverses, if applicable
"cct_abc123"