Skip to main content
Version: v4New

Update Payout Method

PUT 

/affiliate-manager/affiliate/:affiliateId/payout-method/:payoutMethodId

Update a stored payout method for an affiliate.

Request​

Version stringrequired

API Version

Available optionsv4
affiliateId stringrequired

Affiliate Id

payoutMethodId stringrequired

Payout Method Id

application/json

Bodyrequired

    paypalEmailstring

    PayPal Email (required if method is PAYPAL)

    payoutMethodstringrequired

    Payout method to store the details under

    Available optionsPAYPALBANK
    bankDetailsobject

    Bank Details (required if method is BANK)

    locationIdstringrequired

    Location Id

application/json

Successful response

Schema
    _idstringrequired

    Payout method id

    locationIdstringrequired

    Location the payout method belongs to

    affiliateIdstringrequired

    Affiliate the payout method belongs to

    methodstringrequired

    Payout method type

    Available optionsPAYPALBANK
    paypalEmailstring

    PayPal email, when the method is PAYPAL

    bankDetailsobject

    Bank details, when the method is BANK

    isPrimarybooleanrequired

    Whether payouts default to this method

    createdAtstringrequired

    Created at timestamp

    updatedAtstringrequired

    Updated at timestamp