Pricing tables
Create a pricing table
Needs the catalog:write scope, or a full-access key. About scopes
POST
/
api/v1/pricing-tablesAuthorization
AuthorizationRequiredBearer <token>
An API key: gpy_test_… or gpy_live_… (or an agent key, agk_…).
In: header
Request Body
application/jsonOptionalnameRequiredstring
Minimum length:
1Maximum length: 200entriesRequiredarray<object>
default_intervalstring
Default monthly.
Value in:
"monthly" | "annual"checkout_urlstring | null
Where a plan’s button links. {plan_id}, {plan_code} and {interval} are filled in by the embed. https (http for localhost only).
Maximum length:
2048activeboolean
Default true.
The pricing table.