Workflows ReferenceType Definitions
WorkflowRedemptionMethodOffer
type WorkflowRedemptionMethodOffer = {
offerId: string;
offeringId: string;
presentation: Record<string, any>;
redemption: Record<string, unknown>;
redemptionSchema: string | null;
token: string;
};The offer being redeemed, validated and parsed from the provided offer token.
Properties
offerId
offerId: string;The unique identifier of the offer in MOS.
offeringId
offeringId: string;A unique identifier for the generation of this offer.
presentation
presentation: Record<string, any>;Presentation data for this offer.
redemption
redemption: Record<string, unknown>;The values configured for the redemption of this offer, for example, the instructions required to create a subscription for the specified price.
redemptionSchema
redemptionSchema: string | null;The id of the schema used for this redemption.
token
token: string;The encoded token for this offer.