GET
/
purchases
/
{orderId}
curl --request GET \
  --url https://api.streamskill.pro/v1/purchases/{orderId} \
  --header 'Authorization: Bearer <token>'
{
  "id": 1,
  "price": 10,
  "currency": "usd",
  "created_at": 1640000000,
  "order_type": "twitch_viewers",
  "channel": "https://www.twitch.tv/twitch",
  "status": "active",
  "service": "twitch",
  "parent": false,
  "api": true,
  "chatbot": false,
  "tarif": 1
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Accept-Language
enum<string>
default:en

The language of the response

Available options:
en,
ru

Path Parameters

orderId
integer
required

The ID of the order

Query Parameters

expand
enum<string>

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 response is of type object.