v1

latestOpenAPI 3.0.1Apache 2.02026-07-26193304444.4 KB
Partner Billing

Get a partner subscription

Returns a specific partner subscription of the retailer

🔒 Requires: billing:partner_subscription:read scope

get/partner/billing/subscriptions/{subscription_id}

Path parameters

subscription_idstring required

Response

Example response

{
  "data": {
    "application_name": "Partner Application",
    "partner_subscription_info": [
      {
        "charge_interval": 1,
        "charge_interval_unit": "month",
        "components": [
          {
            "charge_interval_unit": "month",
            "component_name": "Additional Register(s) Support",
            "quantity": 2,
            "unit_price": 20
          }
        ],
        "currency": "nzd",
        "id": "1348730086846538752",
        "next_assessment_at": "2021-02-11T20:34:42Z",
        "price_in_cents": "5000",
        "product_family_name": "Marshmallow Production Subscription",
        "product_name": "Marshmallow Lite Subscription",
        "product_price_point_name": "marshmallow-product-price-point",
        "state": "canceled"
      }
    ]
  }
}