Redeems a reward from a program’s catalog. Custom rewards take quantity (UNIT_BASED) or amount / face_value (AMOUNT_BASED), and complete immediately unless capture is false, or capture is omitted and the reward’s fulfillment_mode is ASYNC.For managed gift cards, send the chosen card value as face_value (quantity must be 1 or omitted). Managed gift cards always hold points while Scrip fulfills the order; capture: true is rejected.Send expected_amount to verify the price the participant reviewed (409 reward_price_changed on mismatch without creating a redemption), and send idempotency_key to retry safely.
Redemptions covers catalog purchases and price checks. Follow Gift cards for card values and claim links, or Pending redemptions to resolve a custom reward’s pending redemption.
Authorizations
Authorization
string
header
default:sk_...
required
Send your API key as Authorization: Bearer <key>.
Headers
Idempotency-Key
string
Unique key (1-255 printable ASCII characters) to make retries safe. Repeating the same request with the same key returns the original result; reusing the key with different fields returns 409 idempotency_conflict. When the body also accepts idempotency_key, supply either or both with the same value.
Maximum string length: 255
Path Parameters
participant_id
string
required
The participant's id, or ext: followed by the participant's external_id.
Asset amount for custom AMOUNT_BASED rewards. For gift cards, send face_value instead.
Example:
"50.00"
capture
boolean
Whether to complete the redemption at once. true spends the points now. false leaves the redemption PENDING with the points held until you complete, cancel, or fail it, or its deadline passes. If omitted, the reward's fulfillment_mode applies; managed gift cards always hold points while ordering.
Example:
false
description
string
Optional context for this redemption, used in journal entries (max 500 chars)
Example:
"Gift card redemption"
expected_amount
string
Expected total cost in asset units. If the current cost differs, no redemption is created (409 reward_price_changed). Retries compare against the original redemption's amount.
Example:
"50.00"
expires_at
string<date-time>
Absolute pending-redemption deadline (RFC3339); alternative to ttl_seconds and limited to one year. If no request or program deadline is set, the deadline is 90 days.
Example:
"2027-12-31T23:59:59Z"
face_value
object
The money price for a reward that takes one. For a custom variable-amount reward it replaces amount (converted via values_per_unit or value_per_unit, rounded up; send face_value or amount, not both). For a gift card it is the card's value; fixed-denomination cards verify it against the allowed denomination and currency.
Show child attributes
fulfillment
object
Order details for managed gift cards. Supply either top-level face_value or this block. capture: true is unsupported for managed rewards.
Show child attributes
idempotency_key
string
Your key for this redemption. You can send it in the Idempotency-Key header instead; when both are sent they must match.
Example:
"redeem-item-12345"
program_id
string<uuid>
The program this redemption belongs to.
Example:
"8f14e45f-ceea-4e70-9df8-2a7d1b3c9f01"
quantity
integer
Number of units to redeem. Defaults to 1; managed rewards require exactly 1.
Example:
2
reward_id
string<uuid>
The reward catalog item to redeem.
Example:
"2b7a9c4e-1f3d-4a8b-9e6c-5a1d3f7b8c08"
ttl_seconds
integer
Relative pending-redemption deadline in seconds; alternative to expires_at and limited to one year. If no request or program deadline is set, the deadline is 90 days.
Example:
3600
Response
Redemption created
A redemption: value a participant spent, with its status and fulfillment.
amount
string
Total amount debited from the participant's balance (decimal string)
Example:
"1000.00"
asset_id
string<uuid>
The asset that was debited
Example:
"a3bb189e-8bf9-4c8b-9be0-6b5d2f4e7a02"
capture_journal_entry_id
string<uuid>
Ledger entry that completed a pending redemption
Example:
"657a0312-1aaa-4ba7-842b-edfbb39edf14"
captured_at
string<date-time>
When the pending redemption was completed
Example:
"2027-01-15T10:30:00Z"
cost
object
What the provider billed, in its own currency. Present only when you sent it to complete the redemption.
Show child attributes
created_at
string<date-time>
When this redemption was created
Example:
"2027-01-15T10:30:00Z"
description
string
Context for this redemption, used in journal entries
Example:
"Redeemed: Insulated Water Bottle"
expires_at
string<date-time>
The redemption's deadline. Present for pending redemptions; defaults to 90 days and may be configured up to one year.
Example:
"2027-12-31T23:59:59Z"
face_value
object
The money the redemption pays for, such as a $50 gift card. Present when the redemption has a money price (face_value sent instead of amount, or a gift card's value). amount records the points it priced to at redemption time.
Show child attributes
failure_reason
string
Machine-readable or operator-supplied terminal failure detail
Example:
"fulfillment_failed"
fulfillment
object
Gift-card vendor order status, present only for provider-backed
(fulfillment) redemptions
Show child attributes
id
string<uuid>
Unique identifier for this redemption
Example:
"7f422b43-4ba2-41c7-b05d-e4e90b68e978"
journal_entry_id
string<uuid>
Immutable ledger anchor: the HOLD entry for a pending redemption, otherwise the instant redemption entry
Example:
"657a0312-1aaa-4ba7-842b-edfbb39edf14"
order_id
string
The provider's id for the purchase. Present only when you sent it with provider to complete the redemption.
Example:
"ord_123"
participant_id
string<uuid>
The participant who redeemed
Example:
"f7a8b9c0-1d2e-4f3a-b4c5-d6e7f8a9b006"
program_id
string<uuid>
The program this redemption belongs to
Example:
"8f14e45f-ceea-4e70-9df8-2a7d1b3c9f01"
provider
string
Who you bought from, as free text. Present only when you sent it to complete the redemption.
Example:
"acme-travel"
quantity
integer
Number of units redeemed (catalog redemptions only)
Example:
2
release_journal_entry_id
string<uuid>
Ledger entry that released the held points back to AVAILABLE. Present only on FAILED or CANCELLED redemptions whose hold was released.
Example:
"657a0312-1aaa-4ba7-842b-edfbb39edf14"
released_amount
string
Amount returned to AVAILABLE by the release entry (decimal string). Present only when release_journal_entry_id is present.
Example:
"1000.00"
reservation_id
string<uuid>
The ID of the hold behind a pending redemption
Example:
"5d1f8a26-3c79-4e0b-9a64-b2e7c1d85f10"
resolved_at
string<date-time>
When the pending redemption reached a terminal state
Example:
"2027-01-15T10:30:00Z"
reversals
object[]
The redemption's reversals, newest first: the newest 100 when there are more, and reversed_amount covers them all. Returned by GET /v1/redemptions/{redemption_id} with expand[]=reversals, as an empty list when the redemption has none.
Show child attributes
reversed_amount
string
Cumulative amount reversed so far (decimal string)
Example:
"0.00"
reversed_quantity
integer
Cumulative units reversed so far (UNIT_BASED catalog redemptions only)
Example:
0
reward_id
string<uuid>
The reward catalog item that was redeemed (catalog redemptions only)
Example:
"2b7a9c4e-1f3d-4a8b-9e6c-5a1d3f7b8c08"
status
enum<string>
Current lifecycle and reversal state
Available options:
PENDING,
COMPLETED,
FAILED,
CANCELLED,
PARTIALLY_REVERSED,
FULLY_REVERSED
Example:
"COMPLETED"
unit_cost
string
Cost per unit at the time of redemption (catalog redemptions only, decimal string)
Example:
"500.00"
updated_at
string<date-time>
When this redemption was last updated (e.g., after a reversal)
Example:
"2027-01-15T10:30:00Z"
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Scrip Docs","description":"The operating system for rewards programs. Build and run card rewards, customer loyalty, referral programs, and marketplace incentives with Scrip's API, dashboard, and double-entry ledger.","colors":{"primary":"#FF4F0C","light":"#FF4F0C","dark":"#FF4F0C"},"logo":{"light":"https://mintcdn.com/scrip/T3s-FRIg6XhFktLB/logo/scrip-logo-light.svg?fit=max\u0026auto=format\u0026n=T3s-FRIg6XhFktLB\u0026q=85\u0026s=b63bc2ffbb52895c7ca415bc1c30e9c6","dark":"https://mintcdn.com/scrip/T3s-FRIg6XhFktLB/logo/scrip-logo-dark.svg?fit=max\u0026auto=format\u0026n=T3s-FRIg6XhFktLB\u0026q=85\u0026s=e28fa32a605d1b2150fa46387793366b"},"favicon":"https://mintcdn.com/scrip/3oFesJ41GdpKauvv/logo/scrip-favicon.svg?fit=max\u0026auto=format\u0026n=3oFesJ41GdpKauvv\u0026q=85\u0026s=20c277b33f9cf71c42c42c8549b18eb4","api":{"openapi":["openapi.json"],"examples":{"languages":["curl","python","javascript","go"]}},"navbar":{"links":[{"href":"mailto:hello@scrip.dev","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.scrip.dev"}},"footer":{},"fonts":{"heading":{"family":"Geist"},"body":{"family":"Geist"}},"contextual":{"options":["copy","view","claude","mcp","cursor","vscode"],"display":"header"},"interaction":{"drilldown":false},"markdown":{"instructions":["Start with https://docs.scrip.dev/agents.md and https://docs.scrip.dev/which-endpoints-you-need.md. Your application only needs a few API calls as users earn and spend (`POST /v1/events`, balance/history reads, and redemptions); program setup happens in the dashboard or setup scripts.","Use `https://api-sandbox.scrip.dev` with `sk_test_` keys for testing, and `https://api.scrip.dev` with `sk_live_` keys for production. Keep API keys on your server.","Pass your own user ID as `external_id` on events and prefix it with `ext:` in participant URL paths (e.g., `GET /v1/participants/ext:user_123/balances`). By default (`on_unknown_participant: CREATE`), the first event for a new `external_id` creates and enrolls the participant automatically.","Events process asynchronously: `POST /v1/events` returns `202 Accepted` when queued, and rules evaluate in the background. Pass an `idempotency_key` (such as an order ID) on every event, and wait for the `event.completed` webhook or poll `GET /v1/events/{event_id}` before reading updated balances.","Connect the hosted MCP server at https://mcp.scrip.dev/mcp (OAuth, defaults to Sandbox) to inspect programs, validate and simulate rules, and trace events. Append `.md` to any docs URL for Markdown, or fetch https://docs.scrip.dev/openapi.json for full endpoint schemas."]},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"scrip","hasAudioNarration":false,"actualSubdomain":"scrip","customDomains":["docs.scrip.dev"],"gitSource":{"type":"github","owner":"scrip-dev","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b03d4784ca26305da2ba9c6","clientVersion":"0.0.4286","searchFilterCounts":[{"language":"default","tag":"Endpoints","count":157},{"language":"default","tag":"API Reference","count":153},{"language":"default","tag":"Guides","count":41},{"language":"default","tag":"Rules","count":24},{"language":"default","tag":"Groups","count":14},{"language":"default","tag":"Participants","count":12},{"language":"default","tag":"Programs","count":12},{"language":"default","tag":"Webhooks","count":12},{"language":"default","tag":"Gift cards","count":11},{"language":"default","tag":"Reporting","count":11}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":".sidebar-group button[aria-label^=\"Toggle\"]{justify-content:space-between}div:has(>.sidebar-group-header)+div:has(>.sidebar-group-header){border-top:1px solid var(--border-color, #e5e7eb);margin-top:1rem!important;padding-top:1rem}.dark div:has(>.sidebar-group-header)+div:has(>.sidebar-group-header){border-color:var(--border-color, #374151)}"}]}
{"page":{"pagePath":"api-reference/redemptions/redeem-a-catalog-item","slug":"/api-reference/redemptions/redeem-a-catalog-item","pageMetadata":{"title":"Redeem a catalog item","openapi":"POST /v1/participants/{participant_id}/redemptions/items","description":"Redeem a catalog reward for a participant.","href":"/api-reference/redemptions/redeem-a-catalog-item"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Redeem a catalog reward for a participant.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,..._provideComponents(),...props.components},{Note}=_components;if(!Note)_missingMdxReference(`Note`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Redeems a reward from a program’s catalog. Custom rewards take `,_jsx(_components.code,{children:`quantity`}),` (`,_jsx(_components.code,{children:`UNIT_BASED`}),`) or `,_jsx(_components.code,{children:`amount`}),` / `,_jsx(_components.code,{children:`face_value`}),` (`,_jsx(_components.code,{children:`AMOUNT_BASED`}),`), and complete immediately unless `,_jsx(_components.code,{children:`capture`}),` is `,_jsx(_components.code,{children:`false`}),`, or `,_jsx(_components.code,{children:`capture`}),` is omitted and the reward’s `,_jsx(_components.code,{children:`fulfillment_mode`}),` is `,_jsx(_components.code,{children:`ASYNC`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`For managed gift cards, send the chosen card value as `,_jsx(_components.code,{children:`face_value`}),` (`,_jsx(_components.code,{children:`quantity`}),` must be `,_jsx(_components.code,{children:`1`}),` or omitted). Managed gift cards always hold points while Scrip fulfills the order; `,_jsx(_components.code,{children:`capture: true`}),` is rejected.`]}),`\n`,_jsxs(_components.p,{children:[`Send `,_jsx(_components.code,{children:`expected_amount`}),` to verify the price the participant reviewed (`,_jsx(_components.code,{children:`409 reward_price_changed`}),` on mismatch without creating a redemption), and send `,_jsx(_components.code,{children:`idempotency_key`}),` to retry safely.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/guides/redemptions`,children:`Redemptions`}),` covers catalog purchases and price checks. Follow `,_jsx(_components.a,{href:`/guides/gift-cards`,children:`Gift cards`}),` for card values and claim links, or `,_jsx(_components.a,{href:`/guides/redemption-lifecycle`,children:`Pending redemptions`}),` to resolve a custom reward’s pending redemption.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Redeem a catalog item","openapi":"POST /v1/participants/{participant_id}/redemptions/items","description":"Redeem a catalog reward for a participant.","href":"/api-reference/redemptions/redeem-a-catalog-item"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Redeem a catalog reward for a participant.","operationId":"createRedemptionItems","parameters":["ba222b3a-8974-402d-80eb-2b046bb88826","9b8132a5-e2d0-4927-8e74-888fed29681b"],"requestBody":"4e0928a0-f089-48d5-80ba-134dea7aa913","responses":{"201":"9eacbbb9-6834-4402-811a-555a23145d54","400":"5fe44dbc-2a0e-46f0-a23a-132ff4bebd9f","401":"55dcc548-c35c-4360-ac2f-aeb5a9be5381","403":"4c694887-93a2-46df-b461-aa8e13320caf","404":"2fb37c0a-b92e-4e6b-ba6c-d2b4e430b4f3","409":"b5a0e155-de80-4fac-9dcf-9f4c3c3cd96f","422":"f3a78710-696f-4ceb-bc54-02362516bc31","429":"50286773-dab8-467c-bee5-3a5340110371","500":"8c65cc20-a884-480d-a36b-6ace0629ed3b"},"security":["644668ef-cca0-4765-9d8a-0899d06406c5"],"summary":"Redeem a catalog item","tags":["Redemptions"],"x-scrip-idempotency":"conflict_safe","method":"post","type":"path","servers":["121dbe0f-d156-4944-97e6-6130832ce07d","507f9d07-4c8d-4877-8525-1f10e203f59b"],"path":"/v1/participants/{participant_id}/redemptions/items","baseUrlOptions":["https://api.scrip.dev","https://api-sandbox.scrip.dev"],"title":"Redeem a catalog item","codeSamples":[],"requestExampleLanguages":["bash","python","javascript","go"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"ba222b3a-8974-402d-80eb-2b046bb88826":{"description":"The participant's id, or ext: followed by the participant's external_id.","example":"f7a8b9c0-1d2e-4f3a-b4c5-d6e7f8a9b006","in":"path","name":"participant_id","required":true,"schema":{"pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}|ext:.{1,255})$","type":"string","isRequired":true,"description":"The participant's id, or ext: followed by the participant's external_id.","uniqueKey":"","typeLabel":"string"}},"9b8132a5-e2d0-4927-8e74-888fed29681b":{"description":"Unique key (1-255 printable ASCII characters) to make retries safe. Repeating the same request with the same key returns the original result; reusing the key with different fields returns `409 idempotency_conflict`. When the body also accepts `idempotency_key`, supply either or both with the same value.","in":"header","name":"Idempotency-Key","schema":{"maxLength":255,"type":"string","description":"Unique key (1-255 printable ASCII characters) to make retries safe. Repeating the same request with the same key returns the original result; reusing the key with different fields returns `409 idempotency_conflict`. When the body also accepts `idempotency_key`, supply either or both with the same value.","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"content":{"application/json":{"examples":{"custom_reward":{"title":"custom_reward","summary":"Redeem a custom catalog reward","value":{"idempotency_key":"redeem-item-12345","program_id":"8f14e45f-ceea-4e70-9df8-2a7d1b3c9f01","quantity":1,"reward_id":"2b7a9c4e-1f3d-4a8b-9e6c-5a1d3f7b8c08"}},"gift_card":{"title":"gift_card","summary":"Redeem a managed gift card","value":{"face_value":{"amount_minor":2500,"currency":"USD"},"idempotency_key":"redeem-giftcard-12345","program_id":"8f14e45f-ceea-4e70-9df8-2a7d1b3c9f01","reward_id":"2b7a9c4e-1f3d-4a8b-9e6c-5a1d3f7b8c08"}},"pending_redemption":{"title":"pending_redemption","summary":"Hold points for asynchronous fulfillment","value":{"capture":false,"idempotency_key":"redeem-pending-12345","program_id":"8f14e45f-ceea-4e70-9df8-2a7d1b3c9f01","quantity":1,"reward_id":"2b7a9c4e-1f3d-4a8b-9e6c-5a1d3f7b8c08","ttl_seconds":3600}}},"schema":{"additionalProperties":false,"description":"Redeems a catalog reward for a participant.","properties":{"amount":{"description":"Asset amount for custom AMOUNT_BASED rewards. For gift cards, send face_value instead.","examples":["50.00"],"type":"string","uniqueKey":"amount","typeLabel":"string"},"capture":{"description":"Whether to complete the redemption at once. `true` spends the points now. `false` leaves the redemption `PENDING` with the points held until you complete, cancel, or fail it, or its deadline passes. If omitted, the reward's `fulfillment_mode` applies; managed gift cards always hold points while ordering.","examples":[false],"type":"boolean","uniqueKey":"capture","typeLabel":"boolean"},"description":{"description":"Optional context for this redemption, used in journal entries (max 500 chars)","examples":["Gift card redemption"],"type":"string","uniqueKey":"description","typeLabel":"string"},"expected_amount":{"description":"Expected total cost in asset units. If the current cost differs, no redemption is created (`409 reward_price_changed`). Retries compare against the original redemption's amount.","examples":["50.00"],"type":"string","uniqueKey":"expected_amount","typeLabel":"string"},"expires_at":{"description":"Absolute pending-redemption deadline (RFC3339); alternative to ttl_seconds and limited to one year. If no request or program deadline is set, the deadline is 90 days.","examples":["2027-12-31T23:59:59Z"],"format":"date-time","type":"string","uniqueKey":"expires_at","typeLabel":"string\u003cdate-time>"},"face_value":{"description":"The money price for a reward that takes one. For a custom variable-amount reward it replaces `amount` (converted via `values_per_unit` or `value_per_unit`, rounded up; send `face_value` or `amount`, not both). For a gift card it is the card's value; fixed-denomination cards verify it against the allowed denomination and currency.","properties":{"amount_minor":{"description":"Amount in the currency's minor units, such as cents for USD","examples":[2500],"type":"integer","isRequired":true,"uniqueKey":"face_value.amount_minor","typeLabel":"integer"},"currency":{"description":"ISO 4217 currency code","examples":["USD"],"type":"string","isRequired":true,"uniqueKey":"face_value.currency","typeLabel":"string"}},"required":["amount_minor","currency"],"type":"object","uniqueKey":"face_value","typeLabel":"object"},"fulfillment":{"additionalProperties":false,"description":"Order details for managed gift cards. Supply either top-level `face_value` or this block. `capture: true` is unsupported for managed rewards.","properties":{"face_value":{"description":"The card's value and currency. Send it as the top-level `face_value` instead. If you send both, they must be equal.","properties":{"amount_minor":{"description":"Amount in the currency's minor units, such as cents for USD","examples":[2500],"type":"integer","isRequired":true,"uniqueKey":"fulfillment.face_value.amount_minor","typeLabel":"integer"},"currency":{"description":"ISO 4217 currency code","examples":["USD"],"type":"string","isRequired":true,"uniqueKey":"fulfillment.face_value.currency","typeLabel":"string"}},"required":["amount_minor","currency"],"type":"object","uniqueKey":"fulfillment.face_value","typeLabel":"object"},"type":{"description":"What the fulfillment delivers. Omit it, or send `GIFT_CARD`, for a gift card.","enum":["GIFT_CARD"],"examples":["GIFT_CARD"],"type":"string","uniqueKey":"fulfillment.type","typeLabel":"enum\u003cstring>"}},"type":"object","uniqueKey":"fulfillment","typeLabel":"object"},"idempotency_key":{"description":"Your key for this redemption. You can send it in the Idempotency-Key header instead; when both are sent they must match.","examples":["redeem-item-12345"],"type":"string","uniqueKey":"idempotency_key","typeLabel":"string"},"program_id":{"description":"The program this redemption belongs to.","examples":["8f14e45f-ceea-4e70-9df8-2a7d1b3c9f01"],"format":"uuid","type":"string","uniqueKey":"program_id","typeLabel":"string\u003cuuid>"},"quantity":{"description":"Number of units to redeem. Defaults to 1; managed rewards require exactly 1.","examples":[2],"type":"integer","uniqueKey":"quantity","typeLabel":"integer"},"reward_id":{"description":"The reward catalog item to redeem.","examples":["2b7a9c4e-1f3d-4a8b-9e6c-5a1d3f7b8c08"],"format":"uuid","type":"string","uniqueKey":"reward_id","typeLabel":"string\u003cuuid>"},"ttl_seconds":{"description":"Relative pending-redemption deadline in seconds; alternative to expires_at and limited to one year. If no request or program deadline is set, the deadline is 90 days.","examples":[3600],"type":"integer","uniqueKey":"ttl_seconds","typeLabel":"integer"}},"type":"object","uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"description":"Catalog item redemption details","required":true,"x-originalParamName":"request","exampleType":"examples"},"responses":{"9eacbbb9-6834-4402-811a-555a23145d54":{"content":{"application/json":{"examples":{"default":{"title":"default","value":{"amount":"1000.00","asset_id":"a3bb189e-8bf9-4c8b-9be0-6b5d2f4e7a02","capture_journal_entry_id":"657a0312-1aaa-4ba7-842b-edfbb39edf14","captured_at":"2027-01-15T10:30:00Z","created_at":"2027-01-15T10:30:00Z","description":"Redeemed: Insulated Water Bottle","id":"7f422b43-4ba2-41c7-b05d-e4e90b68e978","journal_entry_id":"657a0312-1aaa-4ba7-842b-edfbb39edf14","participant_id":"f7a8b9c0-1d2e-4f3a-b4c5-d6e7f8a9b006","program_id":"8f14e45f-ceea-4e70-9df8-2a7d1b3c9f01","reservation_id":"5d1f8a26-3c79-4e0b-9a64-b2e7c1d85f10","resolved_at":"2027-01-15T10:30:00Z","reversals":[{"amount":"500.00","created_at":"2027-01-15T10:30:00Z","id":"9e3c5b71-6d28-4a94-8f1e-0c7b2a4d6e11","journal_entry_id":"657a0312-1aaa-4ba7-842b-edfbb39edf14","reason":"Customer refund request","redemption_id":"7f422b43-4ba2-41c7-b05d-e4e90b68e978"}],"reversed_amount":"0.00","status":"COMPLETED","updated_at":"2027-01-15T10:30:00Z"}}},"schema":{"description":"A redemption: value a participant spent, with its status and fulfillment.","properties":{"amount":{"description":"Total amount debited from the participant's balance (decimal string)","examples":["1000.00"],"type":"string","uniqueKey":"amount","typeLabel":"string"},"asset_id":{"description":"The asset that was debited","examples":["a3bb189e-8bf9-4c8b-9be0-6b5d2f4e7a02"],"format":"uuid","type":"string","uniqueKey":"asset_id","typeLabel":"string\u003cuuid>"},"capture_journal_entry_id":{"description":"Ledger entry that completed a pending redemption","examples":["657a0312-1aaa-4ba7-842b-edfbb39edf14"],"format":"uuid","type":"string","uniqueKey":"capture_journal_entry_id","typeLabel":"string\u003cuuid>"},"captured_at":{"description":"When the pending redemption was completed","examples":["2027-01-15T10:30:00Z"],"format":"date-time","type":"string","uniqueKey":"captured_at","typeLabel":"string\u003cdate-time>"},"cost":{"description":"What the provider billed, in its own currency. Present only when you sent it to complete the redemption.","properties":{"amount_minor":{"description":"Amount in the currency's minor units, such as cents for USD","examples":[2500],"type":"integer","isRequired":true,"uniqueKey":"cost.amount_minor","typeLabel":"integer"},"currency":{"description":"ISO 4217 currency code","examples":["USD"],"type":"string","isRequired":true,"uniqueKey":"cost.currency","typeLabel":"string"}},"required":["amount_minor","currency"],"type":"object","uniqueKey":"cost","typeLabel":"object"},"created_at":{"description":"When this redemption was created","examples":["2027-01-15T10:30:00Z"],"format":"date-time","type":"string","uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"description":{"description":"Context for this redemption, used in journal entries","examples":["Redeemed: Insulated Water Bottle"],"type":"string","uniqueKey":"description","typeLabel":"string"},"expires_at":{"description":"The redemption's deadline. Present for pending redemptions; defaults to 90 days and may be configured up to one year.","examples":["2027-12-31T23:59:59Z"],"format":"date-time","type":"string","uniqueKey":"expires_at","typeLabel":"string\u003cdate-time>"},"face_value":{"description":"The money the redemption pays for, such as a $50 gift card. Present when the redemption has a money price (`face_value` sent instead of `amount`, or a gift card's value). `amount` records the points it priced to at redemption time.","properties":{"amount_minor":{"description":"Amount in the currency's minor units, such as cents for USD","examples":[2500],"type":"integer","isRequired":true,"uniqueKey":"face_value.amount_minor","typeLabel":"integer"},"currency":{"description":"ISO 4217 currency code","examples":["USD"],"type":"string","isRequired":true,"uniqueKey":"face_value.currency","typeLabel":"string"}},"required":["amount_minor","currency"],"type":"object","uniqueKey":"face_value","typeLabel":"object"},"failure_reason":{"description":"Machine-readable or operator-supplied terminal failure detail","examples":["fulfillment_failed"],"type":"string","uniqueKey":"failure_reason","typeLabel":"string"},"fulfillment":{"description":"Gift-card vendor order status, present only for provider-backed\n(fulfillment) redemptions","properties":{"claim_url":{"description":"Usable claim link, when available on the catalog redemption creation response. Omitted on GET/list; use POST /v1/redemptions/{id}/claim-link to retrieve a link.","examples":["https://claim.example.com/abc123"],"type":"string","uniqueKey":"fulfillment.claim_url","typeLabel":"string"},"created_at":{"description":"When this fulfillment was created","examples":["2027-01-15T10:30:00Z"],"format":"date-time","type":"string","uniqueKey":"fulfillment.created_at","typeLabel":"string\u003cdate-time>"},"face_value":{"description":"Face value ordered","properties":{"amount_minor":{"description":"Amount in the currency's minor units, such as cents for USD","examples":[2500],"type":"integer","isRequired":true,"uniqueKey":"fulfillment.face_value.amount_minor","typeLabel":"integer"},"currency":{"description":"ISO 4217 currency code","examples":["USD"],"type":"string","isRequired":true,"uniqueKey":"fulfillment.face_value.currency","typeLabel":"string"}},"required":["amount_minor","currency"],"type":"object","uniqueKey":"fulfillment.face_value","typeLabel":"object"},"failure_reason":{"description":"Bounded terminal failure reason, present only when FAILED","examples":["provider_permanent_error"],"type":"string","uniqueKey":"fulfillment.failure_reason","typeLabel":"string"},"provider":{"description":"Gift-card provider fulfilling this redemption.","examples":["TREMENDOUS"],"type":"string","uniqueKey":"fulfillment.provider","typeLabel":"string"},"provider_order_id":{"description":"Provider's order identifier, present once an order has been placed","examples":["ord_abc123"],"type":"string","uniqueKey":"fulfillment.provider_order_id","typeLabel":"string"},"resolved_at":{"description":"When this fulfillment reached a terminal state","examples":["2027-01-15T10:30:00Z"],"format":"date-time","type":"string","uniqueKey":"fulfillment.resolved_at","typeLabel":"string\u003cdate-time>"},"status":{"description":"Fulfillment lifecycle status","enum":["PENDING","PROCESSING","SUCCEEDED","FAILED","AWAITING_FUNDS","CANCELLED"],"examples":["PROCESSING"],"type":"string","uniqueKey":"fulfillment.status","typeLabel":"enum\u003cstring>"},"type":{"description":"What the fulfillment delivers (`GIFT_CARD` for gift cards, prepaid cards, and charity).","enum":["GIFT_CARD"],"examples":["GIFT_CARD"],"type":"string","uniqueKey":"fulfillment.type","typeLabel":"enum\u003cstring>"},"updated_at":{"description":"When this fulfillment was last updated","examples":["2027-01-15T10:30:00Z"],"format":"date-time","type":"string","uniqueKey":"fulfillment.updated_at","typeLabel":"string\u003cdate-time>"}},"type":"object","uniqueKey":"fulfillment","typeLabel":"object"},"id":{"description":"Unique identifier for this redemption","examples":["7f422b43-4ba2-41c7-b05d-e4e90b68e978"],"format":"uuid","type":"string","uniqueKey":"id","typeLabel":"string\u003cuuid>"},"journal_entry_id":{"description":"Immutable ledger anchor: the `HOLD` entry for a pending redemption, otherwise the instant redemption entry","examples":["657a0312-1aaa-4ba7-842b-edfbb39edf14"],"format":"uuid","type":"string","uniqueKey":"journal_entry_id","typeLabel":"string\u003cuuid>"},"order_id":{"description":"The provider's id for the purchase. Present only when you sent it with `provider` to complete the redemption.","examples":["ord_123"],"type":"string","uniqueKey":"order_id","typeLabel":"string"},"participant_id":{"description":"The participant who redeemed","examples":["f7a8b9c0-1d2e-4f3a-b4c5-d6e7f8a9b006"],"format":"uuid","type":"string","uniqueKey":"participant_id","typeLabel":"string\u003cuuid>"},"program_id":{"description":"The program this redemption belongs to","examples":["8f14e45f-ceea-4e70-9df8-2a7d1b3c9f01"],"format":"uuid","type":"string","uniqueKey":"program_id","typeLabel":"string\u003cuuid>"},"provider":{"description":"Who you bought from, as free text. Present only when you sent it to complete the redemption.","examples":["acme-travel"],"type":"string","uniqueKey":"provider","typeLabel":"string"},"quantity":{"description":"Number of units redeemed (catalog redemptions only)","examples":[2],"type":"integer","uniqueKey":"quantity","typeLabel":"integer"},"release_journal_entry_id":{"description":"Ledger entry that released the held points back to AVAILABLE. Present only on FAILED or CANCELLED redemptions whose hold was released.","examples":["657a0312-1aaa-4ba7-842b-edfbb39edf14"],"format":"uuid","type":"string","uniqueKey":"release_journal_entry_id","typeLabel":"string\u003cuuid>"},"released_amount":{"description":"Amount returned to AVAILABLE by the release entry (decimal string). Present only when `release_journal_entry_id` is present.","examples":["1000.00"],"type":"string","uniqueKey":"released_amount","typeLabel":"string"},"reservation_id":{"description":"The ID of the hold behind a pending redemption","examples":["5d1f8a26-3c79-4e0b-9a64-b2e7c1d85f10"],"format":"uuid","type":"string","uniqueKey":"reservation_id","typeLabel":"string\u003cuuid>"},"resolved_at":{"description":"When the pending redemption reached a terminal state","examples":["2027-01-15T10:30:00Z"],"format":"date-time","type":"string","uniqueKey":"resolved_at","typeLabel":"string\u003cdate-time>"},"reversals":{"description":"The redemption's reversals, newest first: the newest 100 when there are more, and reversed_amount covers them all. Returned by GET /v1/redemptions/{redemption_id} with `expand[]=reversals`, as an empty list when the redemption has none.","items":{"description":"A reversal of all or part of a redemption.","properties":{"amount":{"description":"Amount credited back to the participant's balance (decimal string)","examples":["500.00"],"type":"string","uniqueKey":"reversals.items.[INDEX].amount","typeLabel":"string"},"created_at":{"description":"When this reversal was created","examples":["2027-01-15T10:30:00Z"],"format":"date-time","type":"string","uniqueKey":"reversals.items.[INDEX].created_at","typeLabel":"string\u003cdate-time>"},"id":{"description":"Unique identifier for this reversal","examples":["9e3c5b71-6d28-4a94-8f1e-0c7b2a4d6e11"],"format":"uuid","type":"string","uniqueKey":"reversals.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"journal_entry_id":{"description":"The ledger journal entry created by this reversal","examples":["657a0312-1aaa-4ba7-842b-edfbb39edf14"],"format":"uuid","type":"string","uniqueKey":"reversals.items.[INDEX].journal_entry_id","typeLabel":"string\u003cuuid>"},"quantity":{"description":"Units reversed (UNIT_BASED catalog redemptions only)","examples":[1],"type":"integer","uniqueKey":"reversals.items.[INDEX].quantity","typeLabel":"integer"},"reason":{"description":"Why this reversal was made","examples":["Customer refund request"],"type":"string","uniqueKey":"reversals.items.[INDEX].reason","typeLabel":"string"},"redemption_id":{"description":"The redemption that was reversed","examples":["7f422b43-4ba2-41c7-b05d-e4e90b68e978"],"format":"uuid","type":"string","uniqueKey":"reversals.items.[INDEX].redemption_id","typeLabel":"string\u003cuuid>"}},"type":"object","uniqueKey":"reversals.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"reversals","typeLabel":"object[]"},"reversed_amount":{"description":"Cumulative amount reversed so far (decimal string)","examples":["0.00"],"type":"string","uniqueKey":"reversed_amount","typeLabel":"string"},"reversed_quantity":{"description":"Cumulative units reversed so far (UNIT_BASED catalog redemptions only)","examples":[0],"type":"integer","uniqueKey":"reversed_quantity","typeLabel":"integer"},"reward_id":{"description":"The reward catalog item that was redeemed (catalog redemptions only)","examples":["2b7a9c4e-1f3d-4a8b-9e6c-5a1d3f7b8c08"],"format":"uuid","type":"string","uniqueKey":"reward_id","typeLabel":"string\u003cuuid>"},"status":{"description":"Current lifecycle and reversal state","enum":["PENDING","COMPLETED","FAILED","CANCELLED","PARTIALLY_REVERSED","FULLY_REVERSED"],"examples":["COMPLETED"],"type":"string","uniqueKey":"status","typeLabel":"enum\u003cstring>"},"unit_cost":{"description":"Cost per unit at the time of redemption (catalog redemptions only, decimal string)","examples":["500.00"],"type":"string","uniqueKey":"unit_cost","typeLabel":"string"},"updated_at":{"description":"When this redemption was last updated (e.g., after a reversal)","examples":["2027-01-15T10:30:00Z"],"format":"date-time","type":"string","uniqueKey":"updated_at","typeLabel":"string\u003cdate-time>"}},"type":"object","uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"description":"Redemption created","headers":{"X-RateLimit-Limit":{"description":"Request ceiling enforced by the API instance that served your request.","schema":{"examples":[1000],"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left before the instance that served your request returns 429.","schema":{"examples":[0],"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time in seconds when the instance that served your request has its full allowance again.","schema":{"examples":[1790000000],"type":"integer"}},"X-Request-ID":{"description":"The id of this request, the same `req_` value as `request_id` in an error body. Quote it when you contact support.","schema":{"examples":["req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a"],"type":"string"}}},"exampleType":"examples"},"5fe44dbc-2a0e-46f0-a23a-132ff4bebd9f":{"content":{"application/json":{"examples":{"invalid_json":{"title":"invalid_json","summary":"The request body is not a valid JSON object.","value":{"code":"invalid_json","doc_url":"https://docs.scrip.dev/errors#invalid_json","message":"The request body is not a valid JSON object.","request_id":"req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a","type":"invalid_request"}},"validation_error":{"title":"validation_error","summary":"One or more request fields are missing, malformed or not allowed; `fields` lists each one.","value":{"code":"validation_error","doc_url":"https://docs.scrip.dev/errors#validation_error","fields":[{"field":"participant_id","message":"participant_id is not valid.","reason":"invalid_format"}],"message":"participant_id is not valid.","param":"participant_id","request_id":"req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a","type":"invalid_request"}}},"schema":{"additionalProperties":false,"description":"The error body for a 400 response: the request itself is wrong.","properties":{"code":{"description":"The specific reason for the error. Branch on this value, not on message","examples":["validation_error"],"type":"string","uniqueKey":"code","typeLabel":"string"},"details":{"additionalProperties":true,"description":"Extra context for this code, documented per code on the errors page","type":"object","uniqueKey":"details","typeLabel":"object"},"doc_url":{"description":"A link to this code on the errors page","examples":["https://docs.scrip.dev/errors#validation_error"],"type":"string","uniqueKey":"doc_url","typeLabel":"string"},"fields":{"description":"Every failing field on a validation_error, reported in one pass","items":{"description":"One failing field: its JSON name, why it failed, and what to change.","properties":{"field":{"description":"The JSON name of the failing field, with dots for nested fields","type":"string","uniqueKey":"fields.items.[INDEX].field","typeLabel":"string"},"message":{"description":"What to change in this field","type":"string","uniqueKey":"fields.items.[INDEX].message","typeLabel":"string"},"reason":{"description":"Why the field failed: required, invalid_format, out_of_range, unknown_field, not_allowed or too_long","examples":["required"],"type":"string","uniqueKey":"fields.items.[INDEX].reason","typeLabel":"string"}},"type":"object","uniqueKey":"fields.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"fields","typeLabel":"object[]"},"message":{"description":"What happened and what to do next, in one or two sentences","examples":["The request failed validation. Fix every field listed in fields."],"type":"string","uniqueKey":"message","typeLabel":"string"},"param":{"description":"The one request field at fault, when there is one","type":"string","uniqueKey":"param","typeLabel":"string"},"request_id":{"description":"The id of this request, the same req_ value as the X-Request-ID response header. Quote it when you contact support","examples":["req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a"],"type":"string","uniqueKey":"request_id","typeLabel":"string"},"type":{"description":"The error family. It is one value per HTTP status","examples":["invalid_request"],"type":"string","uniqueKey":"type","typeLabel":"string"}},"type":"object","uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"description":"Validation failed (code: validation_error | invalid_json | header_body_mismatch)","headers":{"X-RateLimit-Limit":{"description":"Request ceiling enforced by the API instance that served your request.","schema":{"examples":[1000],"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left before the instance that served your request returns 429.","schema":{"examples":[0],"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time in seconds when the instance that served your request has its full allowance again.","schema":{"examples":[1790000000],"type":"integer"}},"X-Request-ID":{"description":"The id of this request, the same `req_` value as `request_id` in an error body. Quote it when you contact support.","schema":{"examples":["req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a"],"type":"string"}}},"exampleType":"examples"},"55dcc548-c35c-4360-ac2f-aeb5a9be5381":{"content":{"application/json":{"examples":{"authentication_required":{"title":"authentication_required","summary":"The request carried no API key or session token.","value":{"code":"authentication_required","doc_url":"https://docs.scrip.dev/errors#authentication_required","message":"The request carried no API key or session token.","request_id":"req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a","type":"authentication"}},"invalid_api_key":{"title":"invalid_api_key","summary":"The API key in the `Authorization` header is unknown, revoked or needs rotation.","value":{"code":"invalid_api_key","doc_url":"https://docs.scrip.dev/errors#invalid_api_key","message":"The API key in the Authorization header is unknown, revoked or needs rotation.","request_id":"req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a","type":"authentication"}}},"schema":{"description":"The error body for a 401 response: the API key is missing or not valid.","properties":{"code":{"description":"The specific reason for the error. Branch on this value, not on message","examples":["invalid_api_key"],"type":"string","uniqueKey":"code","typeLabel":"string"},"details":{"additionalProperties":true,"description":"Extra context for this code, documented per code on the errors page","type":"object","uniqueKey":"details","typeLabel":"object"},"doc_url":{"description":"A link to this code on the errors page","examples":["https://docs.scrip.dev/errors#invalid_api_key"],"type":"string","uniqueKey":"doc_url","typeLabel":"string"},"fields":{"description":"Every failing field on a validation_error, reported in one pass","items":{"description":"One failing field: its JSON name, why it failed, and what to change.","properties":{"field":{"description":"The JSON name of the failing field, with dots for nested fields","type":"string","uniqueKey":"fields.items.[INDEX].field","typeLabel":"string"},"message":{"description":"What to change in this field","type":"string","uniqueKey":"fields.items.[INDEX].message","typeLabel":"string"},"reason":{"description":"Why the field failed: required, invalid_format, out_of_range, unknown_field, not_allowed or too_long","examples":["required"],"type":"string","uniqueKey":"fields.items.[INDEX].reason","typeLabel":"string"}},"type":"object","uniqueKey":"fields.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"fields","typeLabel":"object[]"},"message":{"description":"What happened and what to do next, in one or two sentences","examples":["The API key in the Authorization header is unknown, revoked or needs rotation."],"type":"string","uniqueKey":"message","typeLabel":"string"},"param":{"description":"The one request field at fault, when there is one","type":"string","uniqueKey":"param","typeLabel":"string"},"request_id":{"description":"The id of this request, the same req_ value as the X-Request-ID response header. Quote it when you contact support","examples":["req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a"],"type":"string","uniqueKey":"request_id","typeLabel":"string"},"type":{"description":"The error family. It is one value per HTTP status","examples":["authentication"],"type":"string","uniqueKey":"type","typeLabel":"string"}},"type":"object","uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"description":"The API key is missing or not valid. See [Authentication](https://docs.scrip.dev/authentication).","headers":{"WWW-Authenticate":{"description":"The authentication challenge: `Bearer realm=\"scrip\"`. Send your API key as a bearer token.","schema":{"examples":["Bearer realm=\"scrip\""],"type":"string"}},"X-Request-ID":{"description":"The id of this request, the same `req_` value as `request_id` in an error body. Quote it when you contact support.","schema":{"examples":["req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a"],"type":"string"}}},"exampleType":"examples"},"4c694887-93a2-46df-b461-aa8e13320caf":{"content":{"application/json":{"examples":{"insufficient_permissions":{"title":"insufficient_permissions","summary":"Your dashboard role does not allow this action.","value":{"code":"insufficient_permissions","doc_url":"https://docs.scrip.dev/errors#insufficient_permissions","message":"Your dashboard role does not allow this action.","request_id":"req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a","type":"permission"}}},"schema":{"description":"The error body for a 403 response: the caller is not allowed to do this.","properties":{"code":{"description":"The specific reason for the error. Branch on this value, not on message","examples":["insufficient_permissions"],"type":"string","uniqueKey":"code","typeLabel":"string"},"details":{"additionalProperties":true,"description":"Extra context for this code, documented per code on the errors page","type":"object","uniqueKey":"details","typeLabel":"object"},"doc_url":{"description":"A link to this code on the errors page","examples":["https://docs.scrip.dev/errors#insufficient_permissions"],"type":"string","uniqueKey":"doc_url","typeLabel":"string"},"fields":{"description":"Every failing field on a validation_error, reported in one pass","items":{"description":"One failing field: its JSON name, why it failed, and what to change.","properties":{"field":{"description":"The JSON name of the failing field, with dots for nested fields","type":"string","uniqueKey":"fields.items.[INDEX].field","typeLabel":"string"},"message":{"description":"What to change in this field","type":"string","uniqueKey":"fields.items.[INDEX].message","typeLabel":"string"},"reason":{"description":"Why the field failed: required, invalid_format, out_of_range, unknown_field, not_allowed or too_long","examples":["required"],"type":"string","uniqueKey":"fields.items.[INDEX].reason","typeLabel":"string"}},"type":"object","uniqueKey":"fields.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"fields","typeLabel":"object[]"},"message":{"description":"What happened and what to do next, in one or two sentences","examples":["Your dashboard role does not allow this action."],"type":"string","uniqueKey":"message","typeLabel":"string"},"param":{"description":"The one request field at fault, when there is one","type":"string","uniqueKey":"param","typeLabel":"string"},"request_id":{"description":"The id of this request, the same req_ value as the X-Request-ID response header. Quote it when you contact support","examples":["req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a"],"type":"string","uniqueKey":"request_id","typeLabel":"string"},"type":{"description":"The error family. It is one value per HTTP status","examples":["permission"],"type":"string","uniqueKey":"type","typeLabel":"string"}},"type":"object","uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"description":"The caller is not allowed to do this.","headers":{"X-RateLimit-Limit":{"description":"Request ceiling enforced by the API instance that served your request.","schema":{"examples":[1000],"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left before the instance that served your request returns 429.","schema":{"examples":[0],"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time in seconds when the instance that served your request has its full allowance again.","schema":{"examples":[1790000000],"type":"integer"}},"X-Request-ID":{"description":"The id of this request, the same `req_` value as `request_id` in an error body. Quote it when you contact support.","schema":{"examples":["req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a"],"type":"string"}}},"exampleType":"examples"},"2fb37c0a-b92e-4e6b-ba6c-d2b4e430b4f3":{"content":{"application/json":{"examples":{"participant_not_found":{"title":"participant_not_found","summary":"No participant with that id exists in your organization.","value":{"code":"participant_not_found","doc_url":"https://docs.scrip.dev/errors#participant_not_found","message":"No participant with that id exists in your organization.","request_id":"req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a","type":"not_found"}},"program_not_found":{"title":"program_not_found","summary":"No program with that id exists in your organization.","value":{"code":"program_not_found","doc_url":"https://docs.scrip.dev/errors#program_not_found","message":"No program with that id exists in your organization.","request_id":"req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a","type":"not_found"}},"reward_not_found":{"title":"reward_not_found","summary":"No reward with that id exists in your organization.","value":{"code":"reward_not_found","doc_url":"https://docs.scrip.dev/errors#reward_not_found","message":"No reward with that id exists in your organization.","request_id":"req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a","type":"not_found"}}},"schema":{"description":"The error body for a 404 response: the resource does not exist in your organization.","properties":{"code":{"description":"The specific reason for the error. Branch on this value, not on message","examples":["participant_not_found"],"type":"string","uniqueKey":"code","typeLabel":"string"},"details":{"additionalProperties":true,"description":"Extra context for this code, documented per code on the errors page","type":"object","uniqueKey":"details","typeLabel":"object"},"doc_url":{"description":"A link to this code on the errors page","examples":["https://docs.scrip.dev/errors#participant_not_found"],"type":"string","uniqueKey":"doc_url","typeLabel":"string"},"fields":{"description":"Every failing field on a validation_error, reported in one pass","items":{"description":"One failing field: its JSON name, why it failed, and what to change.","properties":{"field":{"description":"The JSON name of the failing field, with dots for nested fields","type":"string","uniqueKey":"fields.items.[INDEX].field","typeLabel":"string"},"message":{"description":"What to change in this field","type":"string","uniqueKey":"fields.items.[INDEX].message","typeLabel":"string"},"reason":{"description":"Why the field failed: required, invalid_format, out_of_range, unknown_field, not_allowed or too_long","examples":["required"],"type":"string","uniqueKey":"fields.items.[INDEX].reason","typeLabel":"string"}},"type":"object","uniqueKey":"fields.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"fields","typeLabel":"object[]"},"message":{"description":"What happened and what to do next, in one or two sentences","examples":["The participant was not found."],"type":"string","uniqueKey":"message","typeLabel":"string"},"param":{"description":"The one request field at fault, when there is one","type":"string","uniqueKey":"param","typeLabel":"string"},"request_id":{"description":"The id of this request, the same req_ value as the X-Request-ID response header. Quote it when you contact support","examples":["req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a"],"type":"string","uniqueKey":"request_id","typeLabel":"string"},"type":{"description":"The error family. It is one value per HTTP status","examples":["not_found"],"type":"string","uniqueKey":"type","typeLabel":"string"}},"type":"object","uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"description":"Participant, program, or reward not found (code: participant_not_found | program_not_found | reward_not_found)","headers":{"X-RateLimit-Limit":{"description":"Request ceiling enforced by the API instance that served your request.","schema":{"examples":[1000],"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left before the instance that served your request returns 429.","schema":{"examples":[0],"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time in seconds when the instance that served your request has its full allowance again.","schema":{"examples":[1790000000],"type":"integer"}},"X-Request-ID":{"description":"The id of this request, the same `req_` value as `request_id` in an error body. Quote it when you contact support.","schema":{"examples":["req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a"],"type":"string"}}},"exampleType":"examples"},"b5a0e155-de80-4fac-9dcf-9f4c3c3cd96f":{"content":{"application/json":{"examples":{"idempotency_conflict":{"title":"idempotency_conflict","summary":"This idempotency key was already used with a different request.","value":{"code":"idempotency_conflict","doc_url":"https://docs.scrip.dev/errors#idempotency_conflict","message":"This idempotency key was already used with a different request.","request_id":"req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a","type":"conflict"}},"max_per_participant_exceeded":{"title":"max_per_participant_exceeded","summary":"The participant has reached the reward's per-participant limit.","value":{"code":"max_per_participant_exceeded","doc_url":"https://docs.scrip.dev/errors#max_per_participant_exceeded","message":"The participant has reached the reward's per-participant limit.","request_id":"req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a","type":"conflict"}},"max_total_exceeded":{"title":"max_total_exceeded","summary":"The reward's total redemption limit has been reached.","value":{"code":"max_total_exceeded","doc_url":"https://docs.scrip.dev/errors#max_total_exceeded","message":"The reward's total redemption limit has been reached.","request_id":"req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a","type":"conflict"}},"participant_inactive":{"title":"participant_inactive","summary":"The participant's status does not allow this operation.","value":{"code":"participant_inactive","doc_url":"https://docs.scrip.dev/errors#participant_inactive","message":"The participant's status does not allow this operation.","request_id":"req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a","type":"conflict"}},"program_inactive":{"title":"program_inactive","summary":"The program is `SUSPENDED` or `ARCHIVED` and does not process this request.","value":{"code":"program_inactive","doc_url":"https://docs.scrip.dev/errors#program_inactive","message":"The program is SUSPENDED or ARCHIVED and does not process this request.","request_id":"req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a","type":"conflict"}},"retryable_conflict":{"title":"retryable_conflict","summary":"Another request changed the same records at the same moment, so nothing was saved.","value":{"code":"retryable_conflict","doc_url":"https://docs.scrip.dev/errors#retryable_conflict","message":"Another request changed the same records at the same moment, so nothing was saved.","request_id":"req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a","type":"conflict"}},"reward_no_longer_available":{"title":"reward_no_longer_available","summary":"The reward's `available_until` has passed.","value":{"code":"reward_no_longer_available","doc_url":"https://docs.scrip.dev/errors#reward_no_longer_available","message":"The reward's available_until has passed.","request_id":"req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a","type":"conflict"}},"reward_not_active":{"title":"reward_not_active","summary":"The reward is not `ACTIVE`.","value":{"code":"reward_not_active","doc_url":"https://docs.scrip.dev/errors#reward_not_active","message":"The reward is not ACTIVE.","request_id":"req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a","type":"conflict"}},"reward_not_yet_available":{"title":"reward_not_yet_available","summary":"The reward's `available_from` is in the future.","value":{"code":"reward_not_yet_available","doc_url":"https://docs.scrip.dev/errors#reward_not_yet_available","message":"The reward's available_from is in the future.","request_id":"req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a","type":"conflict"}},"reward_price_changed":{"title":"reward_price_changed","summary":"The price changed since it was reviewed (the reward's cost or point value changed).","value":{"code":"reward_price_changed","doc_url":"https://docs.scrip.dev/errors#reward_price_changed","message":"The price changed since it was reviewed (the reward's cost or point value changed).","request_id":"req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a","type":"conflict"}}},"schema":{"description":"The error body for a 409 response: the current state of a resource blocks the request.","properties":{"code":{"description":"The specific reason for the error. Branch on this value, not on message","examples":["idempotency_conflict"],"type":"string","uniqueKey":"code","typeLabel":"string"},"details":{"additionalProperties":true,"description":"Extra context for this code, documented per code on the errors page","type":"object","uniqueKey":"details","typeLabel":"object"},"doc_url":{"description":"A link to this code on the errors page","examples":["https://docs.scrip.dev/errors#idempotency_conflict"],"type":"string","uniqueKey":"doc_url","typeLabel":"string"},"fields":{"description":"Every failing field on a validation_error, reported in one pass","items":{"description":"One failing field: its JSON name, why it failed, and what to change.","properties":{"field":{"description":"The JSON name of the failing field, with dots for nested fields","type":"string","uniqueKey":"fields.items.[INDEX].field","typeLabel":"string"},"message":{"description":"What to change in this field","type":"string","uniqueKey":"fields.items.[INDEX].message","typeLabel":"string"},"reason":{"description":"Why the field failed: required, invalid_format, out_of_range, unknown_field, not_allowed or too_long","examples":["required"],"type":"string","uniqueKey":"fields.items.[INDEX].reason","typeLabel":"string"}},"type":"object","uniqueKey":"fields.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"fields","typeLabel":"object[]"},"message":{"description":"What happened and what to do next, in one or two sentences","examples":["The Idempotency-Key header was already used for a different request."],"type":"string","uniqueKey":"message","typeLabel":"string"},"param":{"description":"The one request field at fault, when there is one","type":"string","uniqueKey":"param","typeLabel":"string"},"request_id":{"description":"The id of this request, the same req_ value as the X-Request-ID response header. Quote it when you contact support","examples":["req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a"],"type":"string","uniqueKey":"request_id","typeLabel":"string"},"type":{"description":"The error family. It is one value per HTTP status","examples":["conflict"],"type":"string","uniqueKey":"type","typeLabel":"string"}},"type":"object","uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"description":"Idempotency key conflict, price changed, inventory unavailable, or reward unavailable","headers":{"Retry-After":{"description":"Seconds to wait before you retry, rounded up to a whole second.","schema":{"examples":[1],"type":"integer"}},"X-RateLimit-Limit":{"description":"Request ceiling enforced by the API instance that served your request.","schema":{"examples":[1000],"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left before the instance that served your request returns 429.","schema":{"examples":[0],"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time in seconds when the instance that served your request has its full allowance again.","schema":{"examples":[1790000000],"type":"integer"}},"X-Request-ID":{"description":"The id of this request, the same `req_` value as `request_id` in an error body. Quote it when you contact support.","schema":{"examples":["req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a"],"type":"string"}}},"exampleType":"examples"},"f3a78710-696f-4ceb-bc54-02362516bc31":{"content":{"application/json":{"examples":{"asset_archived":{"title":"asset_archived","summary":"The asset is `ARCHIVED` and cannot move value.","value":{"code":"asset_archived","doc_url":"https://docs.scrip.dev/errors#asset_archived","message":"The asset is ARCHIVED and cannot move value.","request_id":"req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a","type":"unprocessable"}},"asset_not_reservable":{"title":"asset_not_reservable","summary":"The asset's inventory mode cannot hold points for a pending redemption.","value":{"code":"asset_not_reservable","doc_url":"https://docs.scrip.dev/errors#asset_not_reservable","message":"The asset's inventory mode cannot hold points for a pending redemption.","request_id":"req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a","type":"unprocessable"}},"currency_not_supported":{"title":"currency_not_supported","summary":"The currency sent is not one this redemption can use.","value":{"code":"currency_not_supported","doc_url":"https://docs.scrip.dev/errors#currency_not_supported","message":"The currency sent is not one this redemption can use.","request_id":"req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a","type":"unprocessable"}},"face_value_not_supported":{"title":"face_value_not_supported","summary":"`face_value` does not apply to this reward or redemption.","value":{"code":"face_value_not_supported","doc_url":"https://docs.scrip.dev/errors#face_value_not_supported","message":"face_value does not apply to this reward or redemption.","request_id":"req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a","type":"unprocessable"}},"fulfillment_cap_window_invalid":{"title":"fulfillment_cap_window_invalid","summary":"The saved fulfillment limit window (`fulfillment_participant_window_seconds` on the program, or `participant_window_seconds` on the reward) is outside 1 to 31536000 seconds, so Scrip cannot check the limit for this request.","value":{"code":"fulfillment_cap_window_invalid","doc_url":"https://docs.scrip.dev/errors#fulfillment_cap_window_invalid","message":"The saved fulfillment limit window (fulfillment_participant_window_seconds on the program, or participant_window_seconds on the reward) is outside 1 to 31536000 seconds, so Scrip cannot check the limit for this request.","request_id":"req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a","type":"unprocessable"}},"fulfillment_face_value_cap_exceeded":{"title":"fulfillment_face_value_cap_exceeded","summary":"The face value or price is above the per-redemption limit of the reward or the program; `details.scope` says which.","value":{"code":"fulfillment_face_value_cap_exceeded","doc_url":"https://docs.scrip.dev/errors#fulfillment_face_value_cap_exceeded","message":"The face value or price is above the per-redemption limit of the reward or the program; details.scope says which.","request_id":"req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a","type":"unprocessable"}},"fulfillment_participant_amount_cap_exceeded":{"title":"fulfillment_participant_amount_cap_exceeded","summary":"The participant has reached the total-value limit of the reward or the program for the window; `details.scope` says which.","value":{"code":"fulfillment_participant_amount_cap_exceeded","doc_url":"https://docs.scrip.dev/errors#fulfillment_participant_amount_cap_exceeded","message":"The participant has reached the total-value limit of the reward or the program for the window; details.scope says which.","request_id":"req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a","type":"unprocessable"}},"fulfillment_participant_count_cap_exceeded":{"title":"fulfillment_participant_count_cap_exceeded","summary":"The participant has reached the count limit of the reward or the program for the window; `details.scope` says which.","value":{"code":"fulfillment_participant_count_cap_exceeded","doc_url":"https://docs.scrip.dev/errors#fulfillment_participant_count_cap_exceeded","message":"The participant has reached the count limit of the reward or the program for the window; details.scope says which.","request_id":"req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a","type":"unprocessable"}},"fulfillment_window_too_long":{"title":"fulfillment_window_too_long","summary":"The pending redemption would end more than 365 days from now.","value":{"code":"fulfillment_window_too_long","doc_url":"https://docs.scrip.dev/errors#fulfillment_window_too_long","message":"The pending redemption would end more than 365 days from now.","request_id":"req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a","type":"unprocessable"}},"fulfillment_window_too_short":{"title":"fulfillment_window_too_short","summary":"The pending redemption would end less than 60 seconds from now. This happens with a past `expires_at`, a `ttl_seconds` or `pending_redemption_ttl` under 60 seconds, or redeemed value that expires within 60 seconds.","value":{"code":"fulfillment_window_too_short","doc_url":"https://docs.scrip.dev/errors#fulfillment_window_too_short","message":"The pending redemption would end less than 60 seconds from now. This happens with a past expires_at, a ttl_seconds or pending_redemption_ttl under 60 seconds, or redeemed value that expires within 60 seconds.","request_id":"req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a","type":"unprocessable"}},"insufficient_funds":{"title":"insufficient_funds","summary":"The available balance is below what the request needs.","value":{"code":"insufficient_funds","doc_url":"https://docs.scrip.dev/errors#insufficient_funds","message":"The available balance is below what the request needs.","request_id":"req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a","type":"unprocessable"}},"invalid_currency":{"title":"invalid_currency","summary":"The currency is not a three-letter ISO 4217 code, or it does not match the product's currency.","value":{"code":"invalid_currency","doc_url":"https://docs.scrip.dev/errors#invalid_currency","message":"The currency is not a three-letter ISO 4217 code, or it does not match the product's currency.","request_id":"req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a","type":"unprocessable"}},"provider_connection_unavailable":{"title":"provider_connection_unavailable","summary":"The fulfillment account is disabled, disconnected or removed.","value":{"code":"provider_connection_unavailable","doc_url":"https://docs.scrip.dev/errors#provider_connection_unavailable","message":"The fulfillment account is disabled, disconnected or removed.","request_id":"req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a","type":"unprocessable"}},"value_per_unit_not_set":{"title":"value_per_unit_not_set","summary":"Neither the reward nor the asset has a point value, so the face value cannot be priced in points.","value":{"code":"value_per_unit_not_set","doc_url":"https://docs.scrip.dev/errors#value_per_unit_not_set","message":"Neither the reward nor the asset has a point value, so the face value cannot be priced in points.","request_id":"req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a","type":"unprocessable"}}},"schema":{"description":"The error body for a 422 response: the request is well formed but breaks a business rule.","properties":{"code":{"description":"The specific reason for the error. Branch on this value, not on message","examples":["insufficient_funds"],"type":"string","uniqueKey":"code","typeLabel":"string"},"details":{"additionalProperties":true,"description":"Extra context for this code, documented per code on the errors page","type":"object","uniqueKey":"details","typeLabel":"object"},"doc_url":{"description":"A link to this code on the errors page","examples":["https://docs.scrip.dev/errors#insufficient_funds"],"type":"string","uniqueKey":"doc_url","typeLabel":"string"},"fields":{"description":"Every failing field on a validation_error, reported in one pass","items":{"description":"One failing field: its JSON name, why it failed, and what to change.","properties":{"field":{"description":"The JSON name of the failing field, with dots for nested fields","type":"string","uniqueKey":"fields.items.[INDEX].field","typeLabel":"string"},"message":{"description":"What to change in this field","type":"string","uniqueKey":"fields.items.[INDEX].message","typeLabel":"string"},"reason":{"description":"Why the field failed: required, invalid_format, out_of_range, unknown_field, not_allowed or too_long","examples":["required"],"type":"string","uniqueKey":"fields.items.[INDEX].reason","typeLabel":"string"}},"type":"object","uniqueKey":"fields.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"fields","typeLabel":"object[]"},"message":{"description":"What happened and what to do next, in one or two sentences","examples":["Insufficient funds"],"type":"string","uniqueKey":"message","typeLabel":"string"},"param":{"description":"The one request field at fault, when there is one","type":"string","uniqueKey":"param","typeLabel":"string"},"request_id":{"description":"The id of this request, the same req_ value as the X-Request-ID response header. Quote it when you contact support","examples":["req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a"],"type":"string","uniqueKey":"request_id","typeLabel":"string"},"type":{"description":"The error family. It is one value per HTTP status","examples":["unprocessable"],"type":"string","uniqueKey":"type","typeLabel":"string"}},"type":"object","uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"description":"Insufficient balance, invalid fulfillment window, or reward unavailable","headers":{"X-RateLimit-Limit":{"description":"Request ceiling enforced by the API instance that served your request.","schema":{"examples":[1000],"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left before the instance that served your request returns 429.","schema":{"examples":[0],"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time in seconds when the instance that served your request has its full allowance again.","schema":{"examples":[1790000000],"type":"integer"}},"X-Request-ID":{"description":"The id of this request, the same `req_` value as `request_id` in an error body. Quote it when you contact support.","schema":{"examples":["req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a"],"type":"string"}}},"exampleType":"examples"},"50286773-dab8-467c-bee5-3a5340110371":{"content":{"application/json":{"examples":{"rate_limit_exceeded":{"title":"rate_limit_exceeded","summary":"Your organization sent more requests than the rate limit allows.","value":{"code":"rate_limit_exceeded","doc_url":"https://docs.scrip.dev/errors#rate_limit_exceeded","message":"Your organization sent more requests than the rate limit allows.","request_id":"req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a","type":"rate_limited"}}},"schema":{"additionalProperties":false,"description":"The error body for a 429 response: you sent more requests than the rate limit allows.","properties":{"code":{"description":"The specific reason for the error. Branch on this value, not on message","examples":["rate_limit_exceeded"],"type":"string","uniqueKey":"code","typeLabel":"string"},"details":{"additionalProperties":true,"description":"Extra context for this code, documented per code on the errors page","type":"object","uniqueKey":"details","typeLabel":"object"},"doc_url":{"description":"A link to this code on the errors page","examples":["https://docs.scrip.dev/errors#rate_limit_exceeded"],"type":"string","uniqueKey":"doc_url","typeLabel":"string"},"fields":{"description":"Every failing field on a validation_error, reported in one pass","items":{"description":"One failing field: its JSON name, why it failed, and what to change.","properties":{"field":{"description":"The JSON name of the failing field, with dots for nested fields","type":"string","uniqueKey":"fields.items.[INDEX].field","typeLabel":"string"},"message":{"description":"What to change in this field","type":"string","uniqueKey":"fields.items.[INDEX].message","typeLabel":"string"},"reason":{"description":"Why the field failed: required, invalid_format, out_of_range, unknown_field, not_allowed or too_long","examples":["required"],"type":"string","uniqueKey":"fields.items.[INDEX].reason","typeLabel":"string"}},"type":"object","uniqueKey":"fields.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"fields","typeLabel":"object[]"},"message":{"description":"What happened and what to do next, in one or two sentences","examples":["Rate limit exceeded. Wait for the Retry-After delay, then retry."],"type":"string","uniqueKey":"message","typeLabel":"string"},"param":{"description":"The one request field at fault, when there is one","type":"string","uniqueKey":"param","typeLabel":"string"},"request_id":{"description":"The id of this request, the same req_ value as the X-Request-ID response header. Quote it when you contact support","examples":["req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a"],"type":"string","uniqueKey":"request_id","typeLabel":"string"},"type":{"description":"The error family. It is one value per HTTP status","examples":["rate_limited"],"type":"string","uniqueKey":"type","typeLabel":"string"}},"type":"object","uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"description":"Too many requests. Wait the number of seconds in the `Retry-After` header, then retry. See [Limits and durations](https://docs.scrip.dev/limits#rate-limits).","headers":{"Retry-After":{"description":"Seconds to wait before you retry, rounded up to a whole second.","schema":{"examples":[1],"type":"integer"}},"X-RateLimit-Limit":{"description":"Request ceiling enforced by the API instance that served your request.","schema":{"examples":[1000],"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left before the instance that served your request returns 429.","schema":{"examples":[0],"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time in seconds when the instance that served your request has its full allowance again.","schema":{"examples":[1790000000],"type":"integer"}},"X-Request-ID":{"description":"The id of this request, the same `req_` value as `request_id` in an error body. Quote it when you contact support.","schema":{"examples":["req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a"],"type":"string"}}},"exampleType":"examples"},"8c65cc20-a884-480d-a36b-6ace0629ed3b":{"content":{"application/json":{"examples":{"internal_error":{"title":"internal_error","summary":"Scrip hit an unexpected error while handling the request.","value":{"code":"internal_error","doc_url":"https://docs.scrip.dev/errors#internal_error","message":"Scrip hit an unexpected error while handling the request.","request_id":"req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a","type":"internal"}}},"schema":{"description":"The error body for a 500 response: something failed on Scrip's side. Quote the `request_id` when you contact support.","properties":{"code":{"description":"The specific reason for the error. Branch on this value, not on message","examples":["internal_error"],"type":"string","uniqueKey":"code","typeLabel":"string"},"doc_url":{"description":"A link to this code on the errors page","examples":["https://docs.scrip.dev/errors#internal_error"],"type":"string","uniqueKey":"doc_url","typeLabel":"string"},"message":{"description":"What happened and what to do next, in one or two sentences","examples":["An internal error occurred. Retry the request; if it keeps failing, contact support with the request_id."],"type":"string","uniqueKey":"message","typeLabel":"string"},"request_id":{"description":"The id of this request, the same req_ value as the X-Request-ID response header. Quote it when you contact support","examples":["req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a"],"type":"string","uniqueKey":"request_id","typeLabel":"string"},"type":{"description":"The error family. It is one value per HTTP status","examples":["internal"],"type":"string","uniqueKey":"type","typeLabel":"string"}},"type":"object","uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"description":"Something failed on Scrip's side. Retry the request, and quote `request_id` if it keeps failing. [Errors](https://docs.scrip.dev/errors) lists every code, and the [API introduction](https://docs.scrip.dev/api-reference/introduction) describes the error format.","headers":{"X-RateLimit-Limit":{"description":"Request ceiling enforced by the API instance that served your request.","schema":{"examples":[1000],"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left before the instance that served your request returns 429.","schema":{"examples":[0],"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time in seconds when the instance that served your request has its full allowance again.","schema":{"examples":[1790000000],"type":"integer"}},"X-Request-ID":{"description":"The id of this request, the same `req_` value as `request_id` in an error body. Quote it when you contact support.","schema":{"examples":["req_6f1c2d7e-4b7a-4c0e-9c1a-2f3e4d5c6b7a"],"type":"string"}}},"exampleType":"examples"}},"security":{"644668ef-cca0-4765-9d8a-0899d06406c5":{"BearerAuth":{"description":"Send your API key as `Authorization: Bearer \u003ckey>`.","scheme":"bearer","type":"http","x-default":"sk_...","scopes":[],"schemeName":"BearerAuth"}}},"servers":{"121dbe0f-d156-4944-97e6-6130832ce07d":{"description":"Production","url":"https://api.scrip.dev"},"507f9d07-4c8d-4877-8525-1f10e203f59b":{"description":"Sandbox","url":"https://api-sandbox.scrip.dev"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"description":"Send your API key as `Authorization: Bearer \u003ckey>`.","scheme":"bearer","type":"http","x-default":"sk_...","scopes":[],"schemeName":"BearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Send your API key as `Authorization: Bearer \u003ckey>`.","format":"bearer","default":"sk_...","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"scrip","siteName":"Scrip Docs","title":"Redeem a catalog item - Scrip Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-20T19:28:27.752Z","originalFileLocation":"api-reference/redemptions/redeem-a-catalog-item.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Redeem a catalog reward for a participant.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Scrip Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/scrip/ypIeIHGanLHv-iFW/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/scrip/ypIeIHGanLHv-iFW/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/scrip/ypIeIHGanLHv-iFW/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/scrip/ypIeIHGanLHv-iFW/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/scrip/ypIeIHGanLHv-iFW/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/scrip/ypIeIHGanLHv-iFW/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/scrip/ypIeIHGanLHv-iFW/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/scrip/ypIeIHGanLHv-iFW/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/scrip/ypIeIHGanLHv-iFW/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Redeem a catalog item - Scrip Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Redeem a catalog reward for a participant.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Scrip Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.scrip.dev/api-reference/redemptions/redeem-a-catalog-item\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://scrip.mintlify.site/_mintlify/api/og/v2?division=Redemptions\u0026amp;title=Redeem+a+catalog+item\u0026amp;description=Redeem+a+catalog+reward+for+a+participant.\u0026amp;theme=e6fcc7a0ae01d31eb0ec9668\u0026amp;signature=9f618243ad862deb1cb8d0ead257b0abb1c2846b5783f16bf1d831b157a5b476\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Redeem a catalog item - Scrip Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Redeem a catalog reward for a participant.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://scrip.mintlify.site/_mintlify/api/og/v2?division=Redemptions\u0026amp;title=Redeem+a+catalog+item\u0026amp;description=Redeem+a+catalog+reward+for+a+participant.\u0026amp;theme=e6fcc7a0ae01d31eb0ec9668\u0026amp;signature=9f618243ad862deb1cb8d0ead257b0abb1c2846b5783f16bf1d831b157a5b476\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/scrip/ypIeIHGanLHv-iFW/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Scrip Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FF4F0C\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.scrip.dev/api-reference/redemptions/redeem-a-catalog-item\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/redemptions/redeem-a-catalog-item.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.scrip.dev/#organization\",\"name\":\"Scrip Docs\",\"url\":\"https://docs.scrip.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/scrip/T3s-FRIg6XhFktLB/logo/scrip-logo-light.svg?fit=max\u0026auto=format\u0026n=T3s-FRIg6XhFktLB\u0026q=85\u0026s=b63bc2ffbb52895c7ca415bc1c30e9c6\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.scrip.dev#website\",\"name\":\"Scrip Docs\",\"url\":\"https://docs.scrip.dev\",\"publisher\":{\"@id\":\"https://docs.scrip.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.scrip.dev/api-reference/redemptions/redeem-a-catalog-item#webpage\",\"url\":\"https://docs.scrip.dev/api-reference/redemptions/redeem-a-catalog-item\",\"name\":\"Redeem a catalog item\",\"description\":\"Redeem a catalog reward for a participant.\",\"dateModified\":\"2026-11-20T19:28:27.752Z\",\"isPartOf\":{\"@id\":\"https://docs.scrip.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.scrip.dev/api-reference/redemptions/redeem-a-catalog-item#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.scrip.dev/api-reference/redemptions/redeem-a-catalog-item#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.scrip.dev/api-reference/programs/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Redemptions\",\"item\":\"https://docs.scrip.dev/api-reference/redemptions/overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Redeem a catalog item\",\"item\":\"https://docs.scrip.dev/api-reference/redemptions/redeem-a-catalog-item\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.scrip.dev/api-reference/redemptions/redeem-a-catalog-item#apireference\",\"headline\":\"Redeem a catalog item\",\"name\":\"Redeem a catalog item\",\"description\":\"Redeem a catalog reward for a participant.\",\"url\":\"https://docs.scrip.dev/api-reference/redemptions/redeem-a-catalog-item\",\"mainEntityOfPage\":{\"@id\":\"https://docs.scrip.dev/api-reference/redemptions/redeem-a-catalog-item#webpage\"},\"dateModified\":\"2026-11-20T19:28:27.752Z\",\"publisher\":{\"@id\":\"https://docs.scrip.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.scrip.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Scrip Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Scrip Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/redemptions/redeem-a-catalog-item.md","siteName":"Scrip Docs","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/introduction"}]},{"tab":"Examples","pages":[{"title":"Examples","href":"/examples/common-patterns"}]},{"tab":"API Reference","groups":[{"group":"Scrip API","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"title":"Data model","href":"/api-reference/data-model"}]},{"group":"Endpoints","pages":[{"group":"Programs","expanded":false,"pages":[{"title":"Programs","sidebarTitle":"Overview","href":"/api-reference/programs/overview"},{"title":"List programs","openapi":"GET /v1/programs","href":"/api-reference/programs/list-programs"},{"title":"Create a program","openapi":"POST /v1/programs","href":"/api-reference/programs/create-a-program"},{"title":"Get a program","openapi":"GET /v1/programs/{program_id}","href":"/api-reference/programs/get-a-program"},{"title":"Update a program","openapi":"PATCH /v1/programs/{program_id}","href":"/api-reference/programs/update-a-program"},{"group":"Linked assets","expanded":false,"pages":[{"title":"List program assets","openapi":"GET /v1/programs/{program_id}/assets","href":"/api-reference/programs/list-program-assets"},{"title":"Link asset to program","openapi":"POST /v1/programs/{program_id}/assets","href":"/api-reference/programs/link-asset-to-program"}]},{"group":"Wallet","expanded":false,"pages":[{"title":"Get program balances","openapi":"GET /v1/programs/{program_id}/balances","href":"/api-reference/programs/get-program-balance"},{"title":"Fund a program","openapi":"POST /v1/programs/{program_id}/balances/fund","href":"/api-reference/programs/fund-a-program"},{"title":"Burn program balance","openapi":"POST /v1/programs/{program_id}/assets/{asset_id}/burn","href":"/api-reference/programs/burn-program-balance"},{"title":"Get program wallet transaction history","openapi":"GET /v1/programs/{program_id}/history","href":"/api-reference/programs/get-program-wallet-transaction-history"},{"title":"Get program statement","openapi":"GET /v1/programs/{program_id}/statement","href":"/api-reference/programs/get-program-statement"}]}]},{"group":"Folders","expanded":false,"pages":[{"title":"Folders","sidebarTitle":"Overview","href":"/api-reference/folders/overview"},{"title":"List folders","openapi":"GET /v1/folders","href":"/api-reference/folders/list-folders"},{"title":"Create a folder","openapi":"POST /v1/folders","href":"/api-reference/folders/create-a-folder"},{"title":"Get a folder","openapi":"GET /v1/folders/{folder_id}","href":"/api-reference/folders/get-a-folder"},{"title":"Update a folder","openapi":"PATCH /v1/folders/{folder_id}","href":"/api-reference/folders/update-a-folder"}]},{"group":"Assets","expanded":false,"pages":[{"title":"Assets","sidebarTitle":"Overview","href":"/api-reference/assets/overview"},{"title":"List assets","openapi":"GET /v1/assets","href":"/api-reference/assets/list-assets"},{"title":"Create an asset","openapi":"POST /v1/assets","href":"/api-reference/assets/create-an-asset"},{"title":"Get an asset","openapi":"GET /v1/assets/{asset_id}","href":"/api-reference/assets/get-an-asset"},{"title":"Update an asset","openapi":"PATCH /v1/assets/{asset_id}","href":"/api-reference/assets/update-an-asset"}]},{"group":"Participants","expanded":false,"pages":[{"title":"Participants","sidebarTitle":"Overview","href":"/api-reference/participants/overview"},{"title":"List participants","openapi":"GET /v1/participants","href":"/api-reference/participants/list-or-get-participants"},{"title":"Create a participant","openapi":"POST /v1/participants","href":"/api-reference/participants/create-a-participant"},{"title":"Get a participant","openapi":"GET /v1/participants/{participant_id}","href":"/api-reference/participants/get-a-participant-by-internal-id"},{"title":"Update a participant","openapi":"PATCH /v1/participants/{participant_id}","href":"/api-reference/participants/update-a-participant"},{"group":"Balances","expanded":false,"pages":[{"title":"Get participant balances","openapi":"GET /v1/participants/{participant_id}/balances","href":"/api-reference/participants/get-participant-balances"},{"title":"Apply a balance operation","openapi":"POST /v1/participants/{participant_id}/balances/operations","href":"/api-reference/participants/apply-a-balance-operation-to-a-participant"},{"title":"List participant lots","openapi":"GET /v1/participants/{participant_id}/balances/lots","href":"/api-reference/participants/list-participant-lots"}]},{"group":"Activity","expanded":false,"pages":[{"title":"Get participant transaction history","openapi":"GET /v1/participants/{participant_id}/activity/history","href":"/api-reference/participants/get-participant-transaction-history"},{"title":"Get participant statement","openapi":"GET /v1/participants/{participant_id}/statement","href":"/api-reference/participants/get-participant-statement"},{"title":"List participant events","openapi":"GET /v1/participants/{participant_id}/activity/events","href":"/api-reference/participants/list-participant-events"},{"title":"Get participant state history","openapi":"GET /v1/participants/{participant_id}/activity/state-history","href":"/api-reference/participants/get-participant-state-history"}]}]},{"group":"Groups","expanded":false,"pages":[{"title":"Groups","sidebarTitle":"Overview","href":"/api-reference/groups/overview"},{"title":"List groups","openapi":"GET /v1/groups","href":"/api-reference/groups/list-groups"},{"title":"Create a group","openapi":"POST /v1/groups","href":"/api-reference/groups/create-a-group"},{"title":"Get a group","openapi":"GET /v1/groups/{group_id}","href":"/api-reference/groups/get-a-group"},{"title":"Update a group","openapi":"PATCH /v1/groups/{group_id}","href":"/api-reference/groups/update-a-group"},{"group":"Members","expanded":false,"pages":[{"title":"List group members","openapi":"GET /v1/groups/{group_id}/members","href":"/api-reference/groups/list-group-members"},{"title":"Add a member to a group","openapi":"POST /v1/groups/{group_id}/members","href":"/api-reference/groups/add-a-member-to-a-group"},{"title":"Remove a member from a group","openapi":"DELETE /v1/groups/{group_id}/members/{participant_id}","href":"/api-reference/groups/remove-a-member-from-a-group"},{"title":"Update group member role","openapi":"PATCH /v1/groups/{group_id}/members/{participant_id}","href":"/api-reference/groups/update-group-member-role"}]},{"group":"Balances","expanded":false,"pages":[{"title":"Get group balances","openapi":"GET /v1/groups/{group_id}/balances","href":"/api-reference/groups/get-group-balances"},{"title":"Apply a group balance operation","openapi":"POST /v1/groups/{group_id}/balances/operations","href":"/api-reference/groups/apply-a-balance-operation-to-a-group"},{"title":"List group lots","openapi":"GET /v1/groups/{group_id}/balances/lots","href":"/api-reference/groups/list-group-lots"}]},{"group":"Activity","expanded":false,"pages":[{"title":"Get group statement","openapi":"GET /v1/groups/{group_id}/statement","href":"/api-reference/groups/get-group-statement"},{"title":"Get group state history","openapi":"GET /v1/groups/{group_id}/activity/state-history","href":"/api-reference/groups/get-group-state-history"}]}]},{"group":"State definitions","expanded":false,"pages":[{"title":"State definitions","sidebarTitle":"Overview","href":"/api-reference/state-definitions/overview"},{"title":"List counter and tag definitions","openapi":"GET /v1/state-definitions","href":"/api-reference/rules/list-state-definitions"},{"title":"Set a counter or tag's display fields","openapi":"PUT /v1/state-definitions/{scope}/{kind}/{key}","href":"/api-reference/rules/set-state-definition-display-fields"}]},{"group":"Rules","expanded":false,"pages":[{"title":"Rules","sidebarTitle":"Overview","href":"/api-reference/rules/overview"},{"group":"Individual rules","expanded":false,"pages":[{"title":"List rules","openapi":"GET /v1/rules","href":"/api-reference/rules/list-rules"},{"title":"Create a rule","openapi":"POST /v1/rules","href":"/api-reference/rules/create-a-rule"},{"title":"Get a rule","openapi":"GET /v1/rules/{rule_id}","href":"/api-reference/rules/get-a-rule"},{"title":"Update a rule","openapi":"PATCH /v1/rules/{rule_id}","href":"/api-reference/rules/update-a-rule"},{"title":"Move a rule","openapi":"POST /v1/rules/{rule_id}/move","href":"/api-reference/rules/move-a-rule"},{"title":"Validate a CEL condition","openapi":"POST /v1/rules/validate","href":"/api-reference/rules/validate-a-cel-condition"},{"title":"Simulate a rule","openapi":"POST /v1/rules/{rule_id}/simulate","href":"/api-reference/rules/simulate-a-rule"},{"title":"Simulate a draft rule","openapi":"POST /v1/rules/simulate","href":"/api-reference/rules/simulate-a-draft-rule"}]},{"group":"Rule sets","expanded":false,"pages":[{"title":"Rule sets","sidebarTitle":"Overview","href":"/api-reference/rule-sets/overview"},{"title":"List rule sets","openapi":"GET /v1/programs/{program_id}/rule-sets","href":"/api-reference/rule-sets/list-rule-sets"},{"title":"Create a rule set","openapi":"POST /v1/programs/{program_id}/rule-sets","href":"/api-reference/rule-sets/create-a-rule-set"},{"title":"Get a rule set","openapi":"GET /v1/programs/{program_id}/rule-sets/{rule_set_id}","href":"/api-reference/rule-sets/get-a-rule-set"},{"title":"Update a rule set","openapi":"PATCH /v1/programs/{program_id}/rule-sets/{rule_set_id}","href":"/api-reference/rule-sets/update-a-rule-set"},{"title":"Reorder all rule sets","openapi":"PUT /v1/programs/{program_id}/rule-sets/order","href":"/api-reference/rules/reorder-rule-sets"},{"title":"Move a rule set","openapi":"POST /v1/programs/{program_id}/rule-sets/{rule_set_id}/move","href":"/api-reference/rules/move-a-rule-set"},{"title":"Reorder rules in a rule set","openapi":"PUT /v1/programs/{program_id}/rule-sets/{rule_set_id}/rules/order","href":"/api-reference/rules/reorder-rules-in-a-rule-set"}]},{"group":"Rule configuration","expanded":false,"pages":[{"title":"Get rule configuration","openapi":"GET /v1/programs/{program_id}/rule-configuration","href":"/api-reference/rules/get-rule-configuration"},{"title":"Analyze a rule configuration","openapi":"POST /v1/programs/{program_id}/rule-configuration/analysis","href":"/api-reference/rules/analyze-rule-configuration"},{"title":"Preview a rule-configuration change set","openapi":"POST /v1/programs/{program_id}/rule-configuration/preview","href":"/api-reference/rules/preview-rule-configuration"},{"title":"Apply a rule-configuration change set","openapi":"POST /v1/programs/{program_id}/rule-configuration/apply","href":"/api-reference/rules/apply-rule-configuration"},{"title":"List rule-configuration revisions","openapi":"GET /v1/programs/{program_id}/rule-configuration/revisions","href":"/api-reference/rules/list-rule-configuration-revisions"},{"title":"Get a rule-configuration revision","openapi":"GET /v1/programs/{program_id}/rule-configuration/revisions/{version}","href":"/api-reference/rules/get-rule-configuration-revision"},{"title":"Preview a rule-configuration rollback","openapi":"POST /v1/programs/{program_id}/rule-configuration/revisions/{version}/rollback/preview","href":"/api-reference/rules/preview-rule-configuration-rollback"}]}]},{"group":"Events","expanded":false,"pages":[{"title":"Events","sidebarTitle":"Overview","href":"/api-reference/events/overview"},{"title":"List events","openapi":"GET /v1/events","href":"/api-reference/events/list-events"},{"title":"Ingest an event","openapi":"POST /v1/events","href":"/api-reference/events/ingest-an-event"},{"title":"Ingest events in batch","openapi":"POST /v1/events/batch","href":"/api-reference/events/ingest-events-in-batch"},{"title":"Get an event","openapi":"GET /v1/events/{event_id}","href":"/api-reference/events/get-an-event"},{"title":"Get event impact","openapi":"GET /v1/events/{event_id}/impact","href":"/api-reference/events/get-event-impact"},{"title":"Retry failed events","openapi":"POST /v1/events/retry","href":"/api-reference/events/retry-failed-events"},{"title":"Reverse an event's awards","openapi":"POST /v1/events/{event_id}/reverse","href":"/api-reference/events/reverse-an-event"}]},{"group":"Tiers","expanded":false,"pages":[{"title":"Tiers","sidebarTitle":"Overview","href":"/api-reference/tiers/overview"},{"group":"Tier definitions","expanded":false,"pages":[{"title":"List tiers","openapi":"GET /v1/programs/{program_id}/tiers","href":"/api-reference/tiers/list-tiers"},{"title":"Create a tier","openapi":"POST /v1/programs/{program_id}/tiers","href":"/api-reference/tiers/create-a-tier"},{"title":"Get a tier","openapi":"GET /v1/programs/{program_id}/tiers/{tier_key}","href":"/api-reference/tiers/get-a-tier"},{"title":"Update a tier","openapi":"PATCH /v1/programs/{program_id}/tiers/{tier_key}","href":"/api-reference/tiers/update-a-tier"}]},{"group":"Participant tiers","expanded":false,"pages":[{"title":"List participant tiers","openapi":"GET /v1/participants/{participant_id}/state/tiers","href":"/api-reference/tiers/list-participant-tiers"},{"title":"Get participant tier","openapi":"GET /v1/participants/{participant_id}/state/tiers/{tier_key}","href":"/api-reference/tiers/get-participant-tier"},{"title":"Set participant tier","openapi":"PUT /v1/participants/{participant_id}/state/tiers/{tier_key}","href":"/api-reference/tiers/set-participant-tier"},{"title":"Remove participant tier","openapi":"DELETE /v1/participants/{participant_id}/state/tiers/{tier_key}","href":"/api-reference/tiers/remove-participant-tier"}]}]},{"group":"Rewards","expanded":false,"pages":[{"title":"Rewards","sidebarTitle":"Overview","href":"/api-reference/rewards/overview"},{"title":"List rewards","openapi":"GET /v1/programs/{program_id}/rewards","href":"/api-reference/rewards/list-rewards"},{"title":"Create a reward","openapi":"POST /v1/programs/{program_id}/rewards","href":"/api-reference/rewards/create-a-reward"},{"title":"Get a reward","openapi":"GET /v1/programs/{program_id}/rewards/{reward_id}","href":"/api-reference/rewards/get-reward"},{"title":"Update a reward","openapi":"PATCH /v1/programs/{program_id}/rewards/{reward_id}","href":"/api-reference/rewards/update-a-reward"},{"title":"List reward redemptions","openapi":"GET /v1/programs/{program_id}/rewards/{reward_id}/redemptions","href":"/api-reference/rewards/list-reward-redemptions"}]},{"group":"Redemptions","expanded":false,"pages":[{"title":"Redemptions","sidebarTitle":"Overview","href":"/api-reference/redemptions/overview"},{"title":"Redeem an amount","openapi":"POST /v1/participants/{participant_id}/redemptions","description":"Redeem points, or a face value in money, from a participant's available balance.","href":"/api-reference/redemptions/redeem-points-assets"},{"title":"Redeem a catalog item","openapi":"POST /v1/participants/{participant_id}/redemptions/items","href":"/api-reference/redemptions/redeem-a-catalog-item"},{"title":"List participant redemptions","openapi":"GET /v1/participants/{participant_id}/redemptions","description":"List redemptions for a participant.","href":"/api-reference/redemptions/list-participant-redemptions"},{"title":"Get a redemption","openapi":"GET /v1/redemptions/{redemption_id}","href":"/api-reference/redemptions/get-redemption"},{"title":"Create a claim link","openapi":"POST /v1/redemptions/{redemption_id}/claim-link","href":"/api-reference/redemptions/create-a-claim-link"},{"title":"Complete a pending redemption","openapi":"POST /v1/redemptions/{redemption_id}/complete","href":"/api-reference/redemptions/complete-a-pending-redemption"},{"title":"Fail a pending redemption","openapi":"POST /v1/redemptions/{redemption_id}/fail","href":"/api-reference/redemptions/fail-a-pending-redemption"},{"title":"Cancel a pending redemption","openapi":"POST /v1/redemptions/{redemption_id}/cancel","href":"/api-reference/redemptions/cancel-a-redemption"},{"title":"Reverse a redemption","openapi":"POST /v1/redemptions/{redemption_id}/reverse","href":"/api-reference/redemptions/reverse-a-redemption"}]},{"group":"Gift cards","expanded":false,"pages":[{"title":"Gift cards","sidebarTitle":"Overview","href":"/api-reference/gift-cards/overview"},{"group":"Fulfillment accounts","expanded":false,"pages":[{"title":"List fulfillment accounts","openapi":"GET /v1/fulfillment-accounts","href":"/api-reference/gift-cards/list-fulfillment-accounts"},{"title":"Get a fulfillment account","openapi":"GET /v1/fulfillment-accounts/{fulfillment_account_id}","href":"/api-reference/gift-cards/get-a-fulfillment-account"},{"title":"List fulfillment products","openapi":"GET /v1/fulfillment-accounts/{fulfillment_account_id}/products","href":"/api-reference/gift-cards/list-products"}]},{"group":"Reward sources","expanded":false,"pages":[{"title":"List reward sources","openapi":"GET /v1/programs/{program_id}/reward-sources","href":"/api-reference/gift-cards/list-reward-sources"},{"title":"Create a reward source","openapi":"POST /v1/programs/{program_id}/reward-sources","href":"/api-reference/gift-cards/create-a-reward-source"},{"title":"Get a reward source","openapi":"GET /v1/programs/{program_id}/reward-sources/{reward_source_id}","href":"/api-reference/gift-cards/get-a-reward-source"},{"title":"Update a reward source","openapi":"PATCH /v1/programs/{program_id}/reward-sources/{reward_source_id}","href":"/api-reference/gift-cards/update-a-reward-source"}]},{"group":"Product settings","expanded":false,"pages":[{"title":"List product settings","openapi":"GET /v1/programs/{program_id}/reward-sources/{reward_source_id}/product-settings","href":"/api-reference/gift-cards/list-product-settings"},{"title":"Set product settings","openapi":"PUT /v1/programs/{program_id}/reward-sources/{reward_source_id}/product-settings/{product_id}","href":"/api-reference/gift-cards/set-product-settings"},{"title":"Clear product settings","openapi":"DELETE /v1/programs/{program_id}/reward-sources/{reward_source_id}/product-settings/{product_id}","href":"/api-reference/gift-cards/clear-product-settings"}]}]},{"group":"Transfers","expanded":false,"pages":[{"title":"Transfers","sidebarTitle":"Overview","href":"/api-reference/transfers/overview"},{"title":"Create a transfer","openapi":"POST /v1/transfers","href":"/api-reference/transfers/create-a-transfer"}]},{"group":"Automations","expanded":false,"pages":[{"title":"Automations","sidebarTitle":"Overview","href":"/api-reference/automations/overview"},{"title":"List automations","openapi":"GET /v1/programs/{program_id}/automations","href":"/api-reference/automations/list-automations"},{"title":"Create an automation","openapi":"POST /v1/programs/{program_id}/automations","href":"/api-reference/automations/create-an-automation"},{"title":"Get an automation","openapi":"GET /v1/programs/{program_id}/automations/{automation_id}","href":"/api-reference/automations/get-an-automation"},{"title":"Update an automation","openapi":"PATCH /v1/programs/{program_id}/automations/{automation_id}","href":"/api-reference/automations/update-an-automation"},{"title":"Cancel an automation","openapi":"POST /v1/programs/{program_id}/automations/{automation_id}/cancel","href":"/api-reference/automations/cancel-an-automation"},{"title":"List automation subscriptions","openapi":"GET /v1/programs/{program_id}/automations/{automation_id}/subscriptions","href":"/api-reference/automations/list-automation-subscriptions"}]},{"group":"Reporting","expanded":false,"pages":[{"title":"Reporting","sidebarTitle":"Overview","href":"/api-reference/reporting/overview"},{"title":"Get liability report","openapi":"GET /v1/reports/liability","href":"/api-reference/reporting/get-liability-report"},{"title":"Get liability rollforward","openapi":"GET /v1/reports/liability-rollforward","href":"/api-reference/reporting/get-liability-rollforward"},{"title":"Get redemption attribution","openapi":"GET /v1/reports/redemption-attribution","href":"/api-reference/reporting/get-redemption-attribution"},{"title":"Get expiration schedule","openapi":"GET /v1/reports/expiration-schedule","href":"/api-reference/reporting/get-expiration-schedule"},{"title":"Get ledger summary","openapi":"GET /v1/reports/ledger-summary","href":"/api-reference/reporting/get-ledger-summary"},{"title":"Get program activity","openapi":"GET /v1/reports/program-activity","href":"/api-reference/reporting/get-program-activity"},{"title":"Get fulfillment cost report","openapi":"GET /v1/reports/fulfillment-cost","href":"/api-reference/reporting/get-fulfillment-cost-report"},{"title":"List failure causes","openapi":"GET /v1/reports/failure-causes","href":"/api-reference/reporting/list-failure-causes"},{"group":"Journal entries","expanded":false,"pages":[{"title":"List journal entries","openapi":"GET /v1/journal-entries","href":"/api-reference/reporting/list-journal-entries"},{"title":"Get a journal entry","openapi":"GET /v1/journal-entries/{journal_entry_id}","href":"/api-reference/reporting/get-a-journal-entry"}]}]},{"group":"Webhooks","expanded":false,"pages":[{"title":"Webhooks","sidebarTitle":"Overview","href":"/api-reference/webhooks/overview"},{"title":"Event payloads","sidebarTitle":"Event payloads","href":"/api-reference/webhooks/event-payloads"},{"title":"List webhook event types","openapi":"GET /v1/webhook-event-types","href":"/api-reference/webhooks/list-webhook-event-types"},{"group":"Endpoints","expanded":false,"pages":[{"title":"List webhook endpoints","openapi":"GET /v1/webhook-endpoints","href":"/api-reference/webhooks/list-webhook-endpoints"},{"title":"Create a webhook endpoint","openapi":"POST /v1/webhook-endpoints","href":"/api-reference/webhooks/create-a-webhook-endpoint"},{"title":"Get a webhook endpoint","openapi":"GET /v1/webhook-endpoints/{webhook_endpoint_id}","href":"/api-reference/webhooks/get-a-webhook-endpoint"},{"title":"Update a webhook endpoint","openapi":"PATCH /v1/webhook-endpoints/{webhook_endpoint_id}","href":"/api-reference/webhooks/update-a-webhook-endpoint"},{"title":"Rotate endpoint secret","openapi":"POST /v1/webhook-endpoints/{webhook_endpoint_id}/rotate-secret","href":"/api-reference/webhooks/rotate-webhook-endpoint-secret"},{"title":"Send a test webhook","openapi":"POST /v1/webhook-endpoints/{webhook_endpoint_id}/test","href":"/api-reference/webhooks/send-a-test-webhook"}]},{"group":"Deliveries","expanded":false,"pages":[{"title":"List deliveries","openapi":"GET /v1/webhook-endpoints/{webhook_endpoint_id}/deliveries","href":"/api-reference/webhooks/list-webhook-deliveries"},{"title":"Get a delivery","openapi":"GET /v1/webhook-deliveries/{delivery_id}","href":"/api-reference/webhooks/get-a-webhook-delivery"},{"title":"Resend a delivery","openapi":"POST /v1/webhook-deliveries/{delivery_id}/resend","href":"/api-reference/webhooks/resend-a-webhook-delivery"}]}]}]}]},{"tab":"MCP","pages":[{"title":"MCP","href":"/mcp/overview"}]}]},"basePath":"","title":"Redeem a catalog item - Scrip Docs","deploymentId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","buildId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-x4vGgoST.js","snippetPresets-BGlsYH49.js","utils-D225GpYB.js","style-to-object-BY3JEAdk.js","utils-fb7dxv-3.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-D0sNzoEe.js","conditional-requirements-CFM0id0Q.js","cloneDeep-C4iMfrOs.js","_Uint8Array-DDor1j2p.js","isObject-FP1Yky1u.js","ApiExamples-Bw_TWYoP.js","usePlaygroundInputsStore-DLRpNM_Z.js","shallow-DCZ_mvT2.js","isEqual-BZMHHGz2.js","CodeSnippets-CqYNT6UN.js","CodeSnippet-AsYrl7_f.js","getApiPlaygroundDisplay-B1HdZsAn.js","Page-COAeG2by.js","DynamicMarkdown-Bg54PExR.js","SectionHeading-BVOfbSTS.js","icon-Bwg0LftJ.js","MethodPill-ETXe5J4U.js","getPastedJson-6m1DH7UM.js","Check2Icon-Bz4v4IkN.js","axios-CsQoIw0U.js","Markdown-CYkmN8yk.js","AssistantPageLink-BZUrxqjy.js","dist-C-58LlaB.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}