sylphx money claim_codes
Every sylphx money claim_codes command: its argument, its flags and a run line.
The claim_codes commands of Sylphx Money, as the CLI spells them: the same
calls as the claim_codes API page, typed for the
shell. Install, sign in and the grammar 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
sylphx money claim-codes mint orgs/acme/projects/shop/envs/production/reseller_channels/reseller-channelPOST 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
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
sylphx money claim-codes void orgs/acme/projects/shop/envs/production/reseller_channels/reseller-channelPOST 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
Flags
| Flag | Type | What it does |
|---|---|---|
--code-id | string | Opaque code identifier, not the redeemable bearer value. Required. |