Skip to main content
POST
Buy with coins

Authorizations

erlcrussia-api-key
string
header
required

Custom API key. Store on the server; do not include client-side JavaScript.

Body

application/json
productId
string
duration
string

Response

200 - application/json

The subscription was purchased with coins written off from the balance.

success
boolean
type
string
subscription
object
coinsSpent
integer
remainingCoins
integer