Workflows ReferenceType Definitions
RedemptionMethodWorkflow
type RedemptionMethodWorkflow = (args) =>
| Promise<RedemptionMethodWorkflowResult>
| RedemptionMethodWorkflowResult;A workflow that accepts an offer token and runs custom logic to redeem the offer, for example, creating a checkout session or purchasing a subscription.
Parameters
| Parameter | Type |
|---|---|
args | RedemptionMethodWorkflowArgs |
Returns
| Promise<RedemptionMethodWorkflowResult>
| RedemptionMethodWorkflowResult