Skip to content
Console
On this page

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

Shell
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

Flags

FlagTypeWhat it does
--partner-order-idstringStable reseller-assigned order identifier. Required.
--price-keystringPrice key from the environment catalog. Required.
--seatsintTotal seats in this receipt. Required.
--intended-recipientjsonOmit for a transferable code.
--customer-organizationstringOptional 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

Shell
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

Flags

FlagTypeWhat it does
--code-idstringOpaque code identifier, not the redeemable bearer value. Required.