Redeem points/assets
Redeem an amount of an asset from a participant’s AVAILABLE balance.
Debits an arbitrary amount from a participant’sDocumentation Index
Fetch the complete documentation index at: https://docs.scrip.dev/llms.txt
Use this file to discover all available pages before exploring further.
AVAILABLE balance for a given asset. This is a raw redemption, meaning it is not tied to any catalog item. You must provide program_id, asset_id, amount, and a description explaining the redemption.
The participant must be active, the program must be ACTIVE (not archived or suspended), and the asset must be linked to the program. The call fails with 422 if the participant’s AVAILABLE balance is insufficient to cover the requested amount. On success, the debited amount is credited to the program’s configured redemption target account (default: SYSTEM_REDEMPTION). Use this endpoint for custom redemption flows that fall outside the reward catalog, such as pay-with-points at checkout or ad-hoc deductions.
Pass an idempotency_key to safely retry requests. Duplicate requests return 200 with the existing redemption instead of 201.
Authorizations
API key passed in the X-API-Key header.
Path Parameters
Participant ID
Body
Redemption details
Amount to debit (decimal string)
1"1000.00"
The asset to debit from the participant's balance
"550e8400-e29b-41d4-a716-446655440001"
Context for this redemption, used in journal entries (1-500 chars)
1 - 500"Cash out reward points"
The program this redemption belongs to
"550e8400-e29b-41d4-a716-446655440000"
Prevents duplicate redemptions when retrying requests
"redeem-12345"
Response
Duplicate request (idempotency key matched, returns existing record)
Total amount debited from the participant's balance (decimal string)
"1000.00"
The asset that was debited
"550e8400-e29b-41d4-a716-446655440003"
When this redemption was created
"2024-01-15T10:30:00Z"
Context for this redemption, used in journal entries
"Redeemed: Gift Card"
Unique identifier for this redemption
"550e8400-e29b-41d4-a716-446655440000"
The ledger journal entry created by this redemption
"550e8400-e29b-41d4-a716-446655440005"
The participant who redeemed
"550e8400-e29b-41d4-a716-446655440002"
The program this redemption belongs to
"550e8400-e29b-41d4-a716-446655440001"
Number of units redeemed (catalog redemptions only)
2
Cumulative amount reversed so far (decimal string)
"0.00"
Cumulative units reversed so far (UNIT_BASED catalog redemptions only)
0
The reward catalog item that was redeemed (catalog redemptions only)
"550e8400-e29b-41d4-a716-446655440004"
Current state: COMPLETED, PARTIALLY_REVERSED, or FULLY_REVERSED
"COMPLETED"
Cost per unit at the time of redemption (catalog redemptions only, decimal string)
"500.00"
When this redemption was last updated (e.g., after a reversal)
"2024-01-15T10:30:00Z"