Xsolla-logo

Get Subscription

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

Gets a specific subscription details by ID.

SecuritybasicAuth
Request
path Parameters
project_id
required
integer

Project ID.

subscription_id
required
integer

Subscription ID.

Responses
200

OK.

Request samples
Response samples
application/json
{
  • "charge_amount": 0.03,
  • "comment": "The subscription was not extended in due time\r",
  • "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": {
    }
}