Skip to main content
POST
Fail a pending redemption
Marks a PENDING redemption as FAILED and returns any remaining HELD points to AVAILABLE in one RELEASE journal entry (release_journal_entry_id and released_amount). Include an optional reason to record why fulfillment failed.
  • Gift-card redemptions: Failing also marks the fulfillment FAILED with redemption_failed. Once Scrip places the provider order, failing returns 409 fulfillment_in_progress.
  • Expired held lots: On LOT-mode assets, only unexpired held value is released; if all held points already expired, no RELEASE entry is created and release_journal_entry_id and released_amount are null.
  • Retries: Repeating failure returns the stored redemption; a different terminal outcome returns 409 redemption_already_resolved.
For expiration and terminal state behavior, see Pending redemptions.

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 within 24 hours replays the original response (Idempotent-Replayed: true).

Maximum string length: 255

Path Parameters

redemption_id
string<uuid>
required

The redemption's id.

Body

application/json

Failure details

Cancels or fails a pending redemption and releases the points it holds.

idempotency_key
string

Your key for this request. You can send it in the Idempotency-Key header instead; when both are sent they must match.

Example:

"fail-12345"

reason
string

Optional fulfillment failure or cancellation reason (1-500 chars)

Required string length: 1 - 500
Example:

"provider_rejected"

Response

Redemption failed or same-outcome replay

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.

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.

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

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.

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"