---
# @generated by sylphx-gen. Do not edit.
title: "sylphx money claim_codes"
description: "The sylphx money claim_codes commands of Sylphx Money: every verb, with its argument, its flags and a run line."
type: reference
product: payments
summary: "Every sylphx money claim_codes command: its argument, its flags and a run line."
nav: false
---

The `claim_codes` commands of Sylphx Money, as the CLI spells them: the same
calls as [the `claim_codes` API page](/docs/api/claim_codes), typed for the
shell. [Install, sign in and the grammar](/docs/cli) are on the CLI index.

## mint

MintClaimCode mints one bearer code with a 24-hour claim window.

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

**CLI**

```bash
sylphx money claim-codes mint orgs/acme/projects/shop/envs/production/reseller_channels/reseller-channel
```

`POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/reseller_channels/reseller-channel/claim_codes:mint` · scope `money:partner_resold:write` · effect `write` · [Request, response and examples](/docs/api/claim_codes/mint)

**Flags**

| Flag | Type | What it does |
| --- | --- | --- |
| `--partner-order-id` | `string` | Stable reseller-assigned order identifier. Required. |
| `--price-key` | `string` | Price key from the environment catalog. Required. |
| `--seats` | `int` | Total seats in this receipt. Required. |
| `--intended-recipient` | `json` | Omit for a transferable code. |
| `--customer-organization` | `string` | Optional fixed workspace subject. The environment's authorized server must attest the redeeming user's billing authority for this exact ID. |

## void

VoidClaimCode returns whether any seats were claimed before the code was voided.

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

**CLI**

```bash
sylphx money claim-codes void orgs/acme/projects/shop/envs/production/reseller_channels/reseller-channel
```

`POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/reseller_channels/reseller-channel/claim_codes:void` · scope `money:partner_resold:write` · effect `write` · [Request, response and examples](/docs/api/claim_codes/void)

**Flags**

| Flag | Type | What it does |
| --- | --- | --- |
| `--code-id` | `string` | Opaque code identifier, not the redeemable bearer value. Required. |
