API reference
List merchant plans
List StableOps merchant subscription plans and their billing configuration to build a plan catalog, inspect offerings, and prepare subscription changes.
GET
/v1/merchant/plansAuthorization
bearerAuth AuthorizationBearer <token>
Paste your API key from the dashboard.
In: header
Query Parameters
include_inactive?boolean
Include inactive plans (default false).
group_key?unknown
Filter by plan group key.
Response Body
application/json
curl -X GET "https://example.com/v1/merchant/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
Mark an agent action as executed POST
Mark an approved StableOps Agent action as executed and record its result, keeping approval separate from execution and rejecting actions not yet approved.
Create a merchant plan POST
Create a StableOps merchant subscription plan with a code, display name, USD-denominated amount, and billing interval for customer enrollment and renewals.