Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
ID of previously created redemption.
Response
Returns a redemption object.
- Redemption
- Redemption Rollback
Response body schema for GET `v1/redemptions/{redemptionId} This is an object representing a redemption.
Unique redemption ID.
"r_0bc92f81a6801f9bca"
The type of the object represented by the JSON
redemption
Timestamp representing the date and time when the object was created. The value is shown in the ISO 8601 format.
"2021-12-22T10:13:06.487Z"
Unique customer ID of the redeeming customer.
"cust_i8t5Tt6eiKG5K79KQlJ0Vs64"
Hashed customer source ID.
The metadata object stores all custom attributes assigned to the redemption.
Unique redemption ID of the parent redemption.
"r_0c656311b5878a2031"
Redemption result.
SUCCESS
, FAILURE
Redemption status.
SUCCEEDED
, FAILED
, ROLLED_BACK
Order information.
Defines the details of the channel through which the redemption was issued.
Simplified customer data.
Defines the related object.
voucher
, promotion_tier
, redemption
Unique related object ID assigned by Voucherify, i.e. v_lfZi4rcEGe0sN9gmnj40bzwK2FH6QUno for a voucher.
For gift cards, this is a positive integer in the smallest currency unit (e.g. 100 cents for $1.00) representing the number of redeemed credits. For loyalty cards, this is the number of loyalty points used in the transaction.
10000
Contains details about the redemption session lock. Sessions can be established only for discount vouchers, promotions, and gift cards.
If the result is FAILURE
, this parameter will provide a generic reason as to why the redemption failed.
"customer_rules_violated"
If the result is FAILURE
, this parameter will provide a more expanded reason as to why the redemption failed.
Contains details of the promotion tier and the parent campaign. This is an object representing a promotion tier. Promotion tiers are always assigned to a campaign and cannot be used standalone.
Contains the amount subtracted from the gift card for the redemption.
Contains the number of points subtracted from the loyalty card for the redemption.
Defines the details of the voucher being redeemed. This is an object representing a voucher with categories and validation rules assignments. This is an object representing a voucher holder. This is an object representing a voucher.