Menu
Platform
AI
App store purchases
Credits
Database
Flags
Generated Assets
Jobs and cron
Localization
Monitoring
Notifications
Payments
Sandboxes
Webhooks
Getting Started
Authentication
KV Store
Deploy & Infrastructure
Reference
sylphx money checkout_policies
Every sylphx money checkout_policies command: its argument, its flags and a run line.
The checkout_policies commands of Sylphx Money, as the CLI spells them: the same
calls as the checkout_policies API page, typed for the
shell. Install, sign in and the grammar are on the CLI index.
#get
Gets the environment's checkout policy: which buyer countries consumer checkout refuses. An environment that never wrote one refuses none.
NAME — the resource's name; a bare id is enough below the linked
project.
CLI
sylphx money checkout-policies get orgs/acme/projects/shop/envs/production/checkout_policies/checkout-policyGET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/checkout_policies/checkout-policy · scope billing:read · effect read · Request, response and examples
#update
Updates the environment's checkout policy, whole.
NAME — the resource's name; a bare id is enough below the linked
project.
CLI
sylphx money checkout-policies update orgs/acme/projects/shop/envs/production/checkout_policies/checkout-policyPATCH https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/checkout_policies/checkout-policy · scope billing:write · effect write · Request, response and examples
Flags
| Flag | Type | What it does |
|---|---|---|
--meta.labels | key=value | Caller-writable, indexed labels (AIP-122 label rules). Repeat the flag for each value. |
--meta.annotations | key=value | Caller-writable, unindexed annotations. Repeat the flag for each value. |
--meta.display-name | string | Caller-writable human-readable name. |
--spec.denied-country-codes | string | Buyer countries consumer checkout refuses: ISO 3166-1 alpha-2 codes (DE), or the group EU (the 27 member states). At most 300 entries. Empty refuses nobody. Repeat the flag for each value. |
--spec.allow-tax-id-buyers | bool | Whether a buyer from a denied country who gives a tax id (a business) may still buy. Checkout then asks for the tax id; default false. |
--allow-missing | bool | Create the policy when it does not exist (declarative upsert). |
--dry-run | bool | Validate and print the result without writing (validate_only). |