Skip to main content
POST
Purchase a credit package

Authorizations

Authorization
string
header
required

Use a valid JWT token in the Authorization header with the format 'Bearer {token}'

Headers

Idempotency-Key
string
required

Body

application/json
productId
string
required

Response

Created

id
string
required
productId
string
required
productName
string
required
credits
integer<int32>
required
consumedCredits
integer<int32>
required
remainingCredits
integer<int32>
required
netAmount
number<double>
required
purchasedAt
string<date-time>
required
billingStatementId
string
required
status
string
required