Affiliate API Documentation
Affiliate Assets
Affiliate Campaigns
Affiliate Commissions
Affiliate Contract Documents
Affiliate Email Settings
Affiliate Payout Methods
Affiliate Payouts
Affiliate Promo Codes
Affiliate Promoter Campaigns
Affiliate Promoters
Affiliate Referral Links
Affiliate Referrals
Affiliate Reports
Affiliate Payout Methods
Update a payout method
PUT
/
payout_methods
/
{id}
curl --request PUT \
--url https://v2.firstpromoter.com/api/v2/affiliate/payout_methods/{id} \
--header 'Account-ID: <account-id>' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"method": "paypal",
"is_disabled": true,
"is_selected": true,
"details": {
"paypal_email": "<string>",
"wise_email": "<string>",
"wallet_address": "<string>",
"crypto_currency": "<string>",
"bank_country": "AD",
"account_holder_name": "<string>",
"account_number": "<string>",
"routing_aba_number": "<string>",
"country": "<string>",
"state": "<string>",
"postal_code": "<string>",
"address": "<string>",
"city": "<string>",
"transit_number": "<string>",
"institution_number": "<string>",
"bsb_code": "<string>",
"sort_code": "<string>",
"iban": "<string>",
"swift_bic_code": "<string>",
"bank_name": "<string>",
"bank_city": "<string>",
"bank_address": "<string>"
}
}'
{
"id": 123,
"method": "paypal",
"date_added": "2023-11-07T05:31:56Z",
"is_disabled": true,
"meta": {},
"is_selected": true,
"details": {
"paypal_email": "<string>",
"wise_email": "<string>",
"wallet_address": "<string>",
"crypto_currency": "<string>",
"bank_country": "AD",
"account_holder_name": "<string>",
"account_number": "<string>",
"routing_aba_number": "<string>",
"country": "<string>",
"state": "<string>",
"postal_code": "<string>",
"address": "<string>",
"city": "<string>",
"transit_number": "<string>",
"institution_number": "<string>",
"bsb_code": "<string>",
"sort_code": "<string>",
"iban": "<string>",
"swift_bic_code": "<string>",
"bank_name": "<string>",
"bank_city": "<string>",
"bank_address": "<string>"
},
"managed_payouts": true
}
Authorizations
Access token passed as a Bearer token in the Authorization header
Headers
Account identifier that specifies which account is making the request
Example:
"acc_123456"
Path Parameters
Payout method ID
Body
application/json
Response
200
application/json
Updated payout method
The response is of type object
.
curl --request PUT \
--url https://v2.firstpromoter.com/api/v2/affiliate/payout_methods/{id} \
--header 'Account-ID: <account-id>' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"method": "paypal",
"is_disabled": true,
"is_selected": true,
"details": {
"paypal_email": "<string>",
"wise_email": "<string>",
"wallet_address": "<string>",
"crypto_currency": "<string>",
"bank_country": "AD",
"account_holder_name": "<string>",
"account_number": "<string>",
"routing_aba_number": "<string>",
"country": "<string>",
"state": "<string>",
"postal_code": "<string>",
"address": "<string>",
"city": "<string>",
"transit_number": "<string>",
"institution_number": "<string>",
"bsb_code": "<string>",
"sort_code": "<string>",
"iban": "<string>",
"swift_bic_code": "<string>",
"bank_name": "<string>",
"bank_city": "<string>",
"bank_address": "<string>"
}
}'
{
"id": 123,
"method": "paypal",
"date_added": "2023-11-07T05:31:56Z",
"is_disabled": true,
"meta": {},
"is_selected": true,
"details": {
"paypal_email": "<string>",
"wise_email": "<string>",
"wallet_address": "<string>",
"crypto_currency": "<string>",
"bank_country": "AD",
"account_holder_name": "<string>",
"account_number": "<string>",
"routing_aba_number": "<string>",
"country": "<string>",
"state": "<string>",
"postal_code": "<string>",
"address": "<string>",
"city": "<string>",
"transit_number": "<string>",
"institution_number": "<string>",
"bsb_code": "<string>",
"sort_code": "<string>",
"iban": "<string>",
"swift_bic_code": "<string>",
"bank_name": "<string>",
"bank_city": "<string>",
"bank_address": "<string>"
},
"managed_payouts": true
}
Assistant
Responses are generated using AI and may contain mistakes.