comecerodocs

Start feature setup

POST
/shop_features/{feature}/start

Ensure setup intent for this token's account, mode and feature. Only non-customer merchant Secret or Trusted credentials with settings_general update permission may Start. Read permission is not required. Apps and Admin/proxy credentials cannot Start, even with all permissions. Limited/customer, platform Admin and Service credentials cannot Start. Start grants no resource permissions and creates no operational resources, customer agreements, grants, attachments, keys or charges. Existing resource APIs do not require Start. Send no body or an empty object. All input fields, nonobjects and invalid JSON return 400 ShopFeatureInput. The body limit is 1024 bytes. Account and mode come only from authentication. No Idempotency-Key is required. First, repeated and concurrent Starts return HTTP 200 and preserve the entire first intent, including its time. Test intent never starts live intent. There is no off state or server wizard draft.

Authorization

headerAuthorizationBearer <token>

A secret, trusted or limited token. See Authentication.

Path Parameters

feature*shop_feature_name

Exact lower-case feature name. Unknown names return ShopFeatureMissing.

Value in"usage_billing""credits""entitlements""license_keys"

Request Body

application/json
  1. body

Empty object only. Account, mode, feature and return destination fields are refused.

Propertiesproperties <= 0

Response Body

The original setup intent, also on repeat.

application/json
  1. response
object*unknown
account_id*string

Account selected by the authenticated token.

test*boolean

Mode selected by the authenticated token. Test setup never starts live setup.

feature*shop_feature_name

Exact feature name. Setup is separate for each account and mode.

Value in"usage_billing""credits""entitlements""license_keys"
date_started*string

First Start time in UTC, with optional fractional seconds. Preserved on repeated and concurrent Starts.

Formatdate-time
source*unknown

Server-owned setup source.

Example Request
curl -X POST 'https://api.comecero.com/api/v1/shop_features/usage_billing/start' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "object": "shop_feature_setup",  "account_id": "AB1234",  "test": true,  "feature": "credits",  "date_started": "2026-11-29T13:00:00Z",  "source": "start"}