Create purchase
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
The language of the response
en
, ru
Query Parameters
The expand of the purchase (you can use multiple values separated by commas)
tarif
, parent
, api
, chatbot
Body
The channel (or another slug for tarif, for example - video id, clip id, etc.)
The interval of the purchase (if tarif supports custom interval)
1 < x < 86400
The comment for the purchase
Start the purchase after creation (Use only if tariff supports start)
Response
The ID of the purchase
x > 1
The price of the purchase
usd
, rub
The timestamp of the purchase creation
The type of the order
The channel (or another slug for tarif, for example - video id, clip id, etc.)
The status of the purchase
created
, awaiting
, working
, stopped
, completed
, failed
, deleted
, refunded
The service of the purchase
twitch
, trovo
, kick
, youtube
The parent of the purchase
The API of the purchase
The chatbot of the purchase
The ID of the tarif
x > 1