API reference
List portal plans
List subscription plans through a StableOps Portal token so a customer can review available offerings before requesting a plan change within their session.
curl -X GET "https://example.com/v1/merchant/portal/plans"[
{
"id": "string",
"code": "string",
"name": "string",
"description": "string",
"group_key": "string",
"amount": "string",
"interval": "month",
"interval_count": 1,
"trial_days": 0,
"metadata": {
"property1": null,
"property2": null
},
"is_active": true,
"is_template": true,
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}
]How is this guide?
Last updated
Revoke a merchant portal session DELETE
Revoke a StableOps merchant Portal session by ID to end its access, and inspect the endpoint’s authentication and response before invalidating a user session.
Get portal subscription GET
Retrieve the subscription visible to a StableOps Portal session, including its current state and billing context, before showing customer account controls.