v1

latestOpenAPI 3.0.1Apache 2.02026-07-26193304444.4 KB
Partner Billing

Get subscription by token

Returns a subscription token data

🔒 Requires: billing:partner_subscription:read scope

get/partner/billing/token/{partner_subscription_token}

Path parameters

partner_subscription_tokenstring required

The partner subscription token

Response

Example response

{
  "data": {
    "components": "{components: [{\"component_handle\": \"additional_registers\", \"component_price_point_handle\": \"basic\", \"quantity\": 2}]}",
    "created_at": "2020-10-06T05:07:26Z",
    "is_used": true,
    "product_handle": "lite",
    "product_price_point_handle": "marshmallow-lite",
    "retailer_id": "0242ac12-001c-11eb-fa07-0f585c3d42ee",
    "return_url": "https://example.com/redirect",
    "subscription_id": 1316881562803438000,
    "token": "0a7e36eb05a94bf1a4d3daeff0f561f9",
    "used_at": "2020-10-06T07:00:38Z",
    "vend_application_id": "iYsePmZaddtZRNYQrr7g3Eg2ItSkTiFx"
  }
}