curl --request POST \
--url https://v2.firstpromoter.com/api/v2/affiliate/payout_methods \
--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
}
curl --request POST \
--url https://v2.firstpromoter.com/api/v2/affiliate/payout_methods \
--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
}
Access token passed as a Bearer token in the Authorization header
Account identifier that specifies which account is making the request
"acc_123456"
Created payout method
The response is of type object
.