Skip to main content
GET
/
purchases
/
bulk
Get bulk purchases
curl --request GET \
  --url https://api.streamskill.pro/v1/purchases/bulk \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "id": 101,
      "price": 10,
      "currency": "usd",
      "created_at": 1640000000,
      "order_type": "twitch_viewers",
      "status": "working",
      "channel": "example_channel",
      "service": "twitch",
      "parent": false,
      "api": true,
      "chatbot": false,
      "tarif": 1
    },
    {
      "id": 102,
      "price": 15,
      "currency": "usd",
      "created_at": 1640000100,
      "order_type": "twitch_viewers",
      "status": "created",
      "channel": "another_channel",
      "service": "twitch",
      "parent": false,
      "api": false,
      "chatbot": false,
      "tarif": 1
    }
  ],
  "missing_ids": [
    999
  ]
}

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

Query Parameters

ids
string
required

Comma-separated positive order IDs. Use ids=1,2,3. Maximum 100 IDs.

Example:

"1,2,3"

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

OK

items
object[]
required

Purchases found for the current user.

missing_ids
integer[]
required

IDs that were not found or do not belong to the current user.

Required range: x >= 1
Example:
[999]