Cancel Delayed Referral
growsurf_cancel_delayed_referralCancel a participant's pending delayed referral trigger before the delay elapses, such as on a refund or cancellation. Returns success or indicates no pending trigger.
Instructions
Cancel a pending delayed referral trigger for a participant before the delay elapses (e.g. on refund/cancellation). Returns { success, message }; success is false when the participant has no pending delayed trigger. Targets campaignId if you pass it, otherwise GROWSURF_CAMPAIGN_ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaignId | Yes | Target program id for this call: the `id` returned by `growsurf_list_campaigns`, not the program name or a share URL. 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. |