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