Skip to main content
POST
Redeem a credit code

Authorizations

Authorization
string
header
required

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

Headers

X-Ankra-Organisation-Id
string<uuid>

Act in another organisation the token's owner is an active member of; defaults to the token's own organisation.

Body

application/json
code
string
required

Response

The credit granted

redemption_id
string<uuid>
code
string
granted_micros
integer
granted_display
string
expires_at
string<date-time>
net_position_micros
integer
net_position_display
string
promoted_to_payg
boolean