ghl_affiliate_mark_payout_method_primary
Sets an affiliate's payout method as the default for payouts and removes primary status from any other method.
Instructions
Mark Payout Method As Primary Make this payout method the one payouts default to. Any other method stops being primary. Endpoint: PATCH /affiliate-manager/{locationId}/affiliate/{affiliateId}/payout-method/{payoutMethodId}/primary (Version header: v3; source: v3/affiliate-manager-v3.json) Requires a Sub-Account (location) token. OAuth scopes: affiliate-manager.write
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"locationId": "<locationId>",
"affiliateId": "<affiliateId>",
"payoutMethodId": "<payoutMethodId>"
},
"name": "ghl_affiliate_mark_payout_method_primary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locationId | Yes | Location Id | |
| affiliateId | Yes | Affiliate Id | |
| payoutMethodId | Yes | Payout Method Id |