Claim codes
ClaimCodeReceipt records one code and its exact seat disposition.
ClaimCodeReceipt records one code and its exact seat disposition.
Service Sylphx Money · Resource type money.sylphx.com/ClaimCodeReceipt · Name pattern orgs/{org}/projects/{project}/envs/{env}/reseller_channels/{reseller_channel}/claim_codes/{claim_code_receipt} · Shape record
Fields
| Field | Type | What it is |
|---|---|---|
name | string | Canonical resource name. |
uid | string | Immutable resource identifier. Output only. |
meta | ResourceMeta | Resource metadata. Output only. |
code_id | string | Opaque code identifier, not the redeemable bearer value. Output only. |
code | string | Omitted by protobuf on terminal receipts (no plaintext remains available). Output only. Never returned again. |
code_masked | string | Non-redeemable display hint. Output only. |
partner_order_id | string | Stable reseller-assigned order identifier. Output only. |
price_key | string | Price key from the environment catalog. Output only. |
seats | int32 | Total seats in this receipt. Output only. |
redeemed_seats | int32 | Seats already claimed by a buyer. Output only. |
unclaimed_seats | int32 | Seats that were not claimed. Output only. |
expires_at | timestamp | Exclusive expiry boundary. Money sets it 24 hours after mint. Output only. |
disposition | string | Business state of this receipt, not a payment status. Output only. |
Methods
Every method of the collection, in the registry's order, with the scope it needs. The full request, response and examples are one link away.
| Method | Call | What it does |
|---|---|---|
POST | mint | MintClaimCode mints one bearer code with a 24-hour claim window. |
POST | void | VoidClaimCode returns whether any seats were claimed before the code was voided. |
mint
MintClaimCode mints one bearer code with a 24-hour claim window.
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
void
VoidClaimCode returns whether any seats were claimed before the code was voided.
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