Skip to main content
POST
Redeem a promo code

Authorizations

Authorization
string
header
required

An API key from Settings → API keys, e.g. cpb_live_… or cpb_test_….

Body

application/json
code
string
required

Case-insensitive.

Example:

"CAL_HACKS"

Response

The code was redeemed.

transaction
object
balance
number

New credit balance in USD.

Example:

68420.55