Cancel Delayed Referral
growsurf_cancel_delayed_referralCancel a participant's pending delayed referral before the delay elapses, such as after a refund or order cancellation. Specify participantId or participantEmail and optional campaignId.
Instructions
Cancel a pending delayed referral trigger for a participant before the delay elapses (e.g. on refund/cancellation). Returns { success, message }. Targets campaignId if you pass it, otherwise GROWSURF_CAMPAIGN_ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaignId | No | Target program (campaign) id for this call. Defaults to GROWSURF_CAMPAIGN_ID when omitted. Program IDs also identify newly created programs without restarting the server. | |
| participantId | No | ||
| participantEmail | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | Human-readable result message. Present when credit was not awarded immediately. | |
| success | No | Whether referral credit was awarded, scheduled, or cancelled. |