growsurf_get_participant_payout_destination
Check a participant's payout destination status across PayPal and Wise, including provider status, confirmed email, recipient type, and repair reasons to resolve payout issues.
Instructions
Get a participant's payout-destination status (by GrowSurf participant ID or email) across every payout provider enabled for the program (PayPal and/or Wise). For each provider it reports the current status, the confirmed payout email, the legal recipient type, and — when a delivery bounced or a recipient was invalidated — the repair reason. activeProvider is the provider that currently gets paid, or null until the participant confirms one. 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. Pass the `id` returned by growsurf_create_campaign to configure or operate a program you just created, without restarting the server. | |
| participantId | No | ||
| participantEmail | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| destinations | No | One entry per enabled payout provider describing the participant's destination for it. | |
| activeProvider | No | The payout provider currently selected, or `null` until the participant confirms one. Provider identifiers are open-ended; current examples include `PAYPAL` and `WISECOM`. | |
| enabledProviders | No | Payout provider identifiers enabled for this program. Values are open-ended; current examples include `PAYPAL` and `WISECOM`. |