Payout MethodsVersion: v3
Mark Payout Method As Primary
PATCH/affiliate-manager/{locationId}/affiliate/{affiliateId}/payout-method/{payoutMethodId}/primary
Make this payout method the one payouts default to. Any other method stops being primary.
Authorizations
Authorizationstringheaderrequired
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
Scope:
affiliate-manager. writeAuth methods:
OAuthPrivate IntegrationToken type:
Sub-Account TokenRequest
Headers
Versionstringrequired
API Version
Available options
v3Example:
v3Path Parameters
locationIdstringrequired
Location Id
Example:
ve9EPM428h8vShlRW1KTaffiliateIdstringrequired
Affiliate Id
Example:
63e35ac8b4dac93dfc2757c7payoutMethodIdstringrequired
Payout Method Id
Example:
63e35ac8b4dac93dfc2757c7Response
Successful response
_idstringrequired
Payout method id
Example:
63e35ac8b4dac93dfc2757c7locationIdstringrequired
Location the payout method belongs to
Example:
ve9EPM428h8vShlRW1KTaffiliateIdstringrequired
Affiliate the payout method belongs to
Example:
6385d230f6d19db03eef6fb2methodstringrequired
Payout method type
Available options
PAYPALBANKExample:
PAYPALbankDetailsobject
Bank details, when the method is BANK
isPrimarybooleanrequired
Whether payouts default to this method
Example:
truecreatedAtstringrequired
Created at timestamp
Example:
2024-06-16T00:00:00.000ZupdatedAtstringrequired
Updated at timestamp
Example:
2024-06-16T00:00:00.000Z