Skip to main content
POST
Error

Authorizations

X-Strix-Authorization
string
header
required

API token for operations where the standard Authorization header carries a protocol credential. Include as X-Strix-Authorization: Bearer <token>.

Body

application/json
credits
integer
required

Number of credits to purchase.

Required range: 1 <= x <= 10000

Response

Payment verified and credits granted.

credits_granted
integer
required

Credits granted by this payment. Zero when the payment was already processed.

duplicate
boolean
required

True when this payment reference was already granted.

reference
string
required

Payment reference from the payment receipt.

balance
integer
required

Credit balance after the grant.