Xsolla-logo
  • 文档
  • 创建帐户

获取订阅Server-sideAdmin

get/projects/{project_id}/subscriptions/{subscription_id}

通过ID获取特定订阅的详细信息。

SecuritybasicAuth
Request
path Parameters
project_id
required
integer

项目ID。

subscription_id
required
integer

订阅ID。

Responses
200

OK.

Request samples
Response samples
application/json
{
  • "charge_amount": 0.03,
  • "comment": "The subscription was not extended in due time",
  • "currency": "USD",
  • "date_create": "2018-09-21T16:54:59+0300",
  • "date_end": "2019-02006T12:43:04+0300",
  • "date_last_charge": "2018-09-21T16:55:05+0300",
  • "date_next_charge": "2018-09-21T16:55:05+0300",
  • "id": 249579,
  • "plan": {
    },
  • "product": null,
  • "status": "canceled",
  • "user": {
    }
}