Get a plan with public price IDs and their automatic introductory offer IDs.
Get a plan with public price IDs and their automatic introductory offer IDs.
ApiKeyAuth In: header
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/plans/string"{ "id": "string", "name": "string", "code": "string", "description": "string", "consumptionModel": "metered", "isPublic": true, "isDefault": true, "isFree": true, "blockOnExhaustion": true, "sortOrder": -9007199254740991, "planGroupId": "string", "metadata": { "property1": null, "property2": null }, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "features": [ { "code": "string", "name": "string", "type": "boolean", "unitName": "string", "enabled": true, "includedAmount": -9007199254740991, "unlimited": true, "overage": { "enabled": true, "model": "per_unit", "unitPrice": -9007199254740991 }, "regionalPrices": [ { "currency": "string", "overageUnitPrice": -9007199254740991, "autoSynced": true } ] } ], "prices": [ { "id": "string", "billingInterval": "weekly", "price": -9007199254740991, "isDefault": true, "trialDays": -9007199254740991, "includedBalance": -9007199254740991, "includedCredits": -9007199254740991, "offerId": "string", "inheritsFromPriceId": "string", "metadata": { "property1": null, "property2": null }, "marketPrices": [ { "marketGroupId": "string", "currency": "string", "price": -9007199254740991 } ], "regionalPrices": [ { "currency": "string", "price": -9007199254740991, "includedBalance": -9007199254740991, "autoSynced": true } ] } ], "exchangeRates": [ { "currency": "string", "exchangeRate": 0 } ], "object": "plan", "livemode": true}{ "error": { "type": "string", "code": "string", "message": "string", "param": "string", "details": null, "doc_url": "string" }}{ "error": { "type": "string", "code": "string", "message": "string", "param": "string", "details": null, "doc_url": "string" }}{ "error": { "type": "string", "code": "string", "message": "string", "param": "string", "details": null, "doc_url": "string" }}{ "error": { "type": "string", "code": "string", "message": "string", "param": "string", "details": null, "doc_url": "string" }}{ "error": { "type": "string", "code": "string", "message": "string", "param": "string", "details": null, "doc_url": "string" }}{ "error": { "type": "string", "code": "string", "message": "string", "param": "string", "details": null, "doc_url": "string" }}