---
# @generated by sylphx-gen 0.1.0 from contracts@190f1b33b937c1aef79697684018db853389b521c75e19ff69ac6af609e96f45. Do not edit.
title: "sylphx money checkout_policies"
description: "The sylphx money checkout_policies commands of Sylphx Money: every verb, with its argument, its flags and a run line."
type: reference
product: payments
summary: "Every sylphx money checkout_policies command: its argument, its flags and a run line."
updated: 2026-09-28
nav: false
---

The `checkout_policies` commands of Sylphx Money, as the CLI spells them: the same
calls as [the `checkout_policies` API page](/docs/api/checkout_policies), typed for the
shell. [Install, sign in and the grammar](/docs/cli) 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**

```bash
sylphx money checkout-policies get orgs/acme/projects/shop/envs/production/checkout_policies/checkout-policy
```

`GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/checkout_policies/checkout-policy` · scope `billing:read` · effect `read` · [Request, response and examples](/docs/api/checkout_policies/get)

## update

Updates the environment's checkout policy, whole.

**`NAME`** — the resource's name; a bare id is enough below the linked
project.

**CLI**

```bash
sylphx money checkout-policies update orgs/acme/projects/shop/envs/production/checkout_policies/checkout-policy
```

`PATCH https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/checkout_policies/checkout-policy` · scope `billing:write` · effect `write` · [Request, response and examples](/docs/api/checkout_policies/update)

**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). |
