Xsolla-logo

Get Subscriptions

get/merchants/{merchant_id}/subscriptions

Lists all recurrent subscriptions.

SecuritybasicAuth
Request
path Parameters
merchant_id
required
integer

Merchant ID.

query Parameters
limit
required
integer

Limit for the number of elements on the page.

offset
integer

Number of the element from which the list is generated (the count starts from 0).

user_id
string

User ID.

project_id[]
Array of integers

List of project IDs.

plan_id[]
Array of integers

List of subscription plan IDs.

product_id[]
Array of integers

List of product IDs the plans are linked to.

group_id[]
Array of strings

List of group IDs the plans are linked to.

status[]
Array of strings

Status.

Items Enum: "active" "canceled" "non_renewing"
datetime_from
string <datetime>

Sample date. Use this to find subscriptions created later than the request.

datetime_to
string <datetime>

Sample date. Use this to find subscriptions created later than the request.

Responses
200

OK.

Request samples
Response samples
application/json
[
  • {
    }
]