Skip to main content
POST
Redeem an amount
Creates an amount redemption for a participant using either amount in asset units or face_value in money.
  • Instant vs. pending: By default (capture: true or omitted), the redemption completes immediately, debiting AVAILABLE and crediting the program’s redemption target in one REDEMPTION journal entry. Set capture: false to hold the points in HELD (HOLD entry) and return reservation_id plus expires_at (bound the hold with either expires_at or ttl_seconds, not both).
  • Idempotency: Repeating the same request with the same idempotency_key returns 201 with Idempotent-Replayed: true; reusing the key with different parameters returns 409 idempotency_conflict.
For deadline selection, recording external orders, and resolution endpoints, 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 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.

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})$

Body

application/json

Redemption details

Redeems points of an asset for a participant, given as points (amount) or as money (face_value).

asset_id
string<uuid>
required

The asset to debit from the participant's balance

Example:

"a3bb189e-8bf9-4c8b-9be0-6b5d2f4e7a02"

program_id
string<uuid>
required

The program this redemption belongs to

Example:

"8f14e45f-ceea-4e70-9df8-2a7d1b3c9f01"

amount
string

Points to debit (decimal string). Send amount or face_value, not both.

Example:

"1000.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 redemption completes at once.

Example:

false

description
string

Context for this redemption, used in journal entries (1-500 chars). Optional.

Required string length: 1 - 500
Example:

"Cash out reward points"

expected_amount
string

The points you expect this redemption to cost, as a decimal string. If the price is different, nothing is redeemed (409 reward_price_changed). A retry is compared with the original redemption's amount.

Example:

"20000"

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 to redeem. Scrip converts it to points at the asset's value_per_unit and rounds up, then returns the points as amount. The currency must match the asset's value_per_unit. Send face_value or amount, not both.

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-12345"

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.

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"