Purchases
Get all
GET
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
The language of the response
Available options:
en
, ru
Query Parameters
The expand of the purchase (you can use multiple values separated by commas)
Available options:
tarif
, parent
, api
, chatbot
Example:
"tarif,parent"
Response
200
application/json
OK
The ID of the purchase
Required range:
x >= 1
Example:
1
The price of the purchase
Example:
10
Available options:
usd
, rub
Example:
"usd"
The timestamp of the purchase creation
Example:
1640000000
The type of the order
Example:
"twitch_viewers"
The channel (or another slug for tarif, for example - video id, clip id, etc.)
Example:
"https://www.twitch.tv/twitch"
The status of the purchase
Available options:
created
, awaiting
, working
, stopped
, completed
, failed
, deleted
, refunded
Example:
"active"
The service of the purchase
Available options:
twitch
, trovo
, kick
, youtube
Example:
"twitch"
The parent of the purchase
The API of the purchase
Example:
true
The chatbot of the purchase
The ID of the tarif
Required range:
x >= 1
Example:
1