Skip to main content
GET
/
cabinet
/
admin
/
landings
/
{landing_id}
/
purchases
Get Landing Purchases
curl --request GET \
  --url https://api.example.com/cabinet/admin/landings/{landing_id}/purchases \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "id": 123,
      "token": "<string>",
      "contact_type": "<string>",
      "contact_value": "<string>",
      "is_gift": true,
      "period_days": 123,
      "amount_kopeks": 123,
      "currency": "<string>",
      "status": "<string>",
      "gift_recipient_type": "<string>",
      "gift_recipient_value": "<string>",
      "tariff_name": "<string>",
      "payment_method": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "paid_at": "2023-11-07T05:31:56Z"
    }
  ],
  "total": 123
}

Authorizations

Authorization
string
header
required

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

Path Parameters

landing_id
integer
required

Query Parameters

offset
integer
default:0
Required range: x >= 0
limit
integer
default:20
Required range: 1 <= x <= 100
status
enum<string> | null
Available options:
pending,
paid,
delivered,
pending_activation,
failed,
expired

Response

Successful Response

items
LandingPurchaseItem · object[]
required
total
integer
required