POST
/
payout_methods
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
}

Authorizations

Authorization
string
header
required

Access token passed as a Bearer token in the Authorization header

Headers

Account-ID
string
required

Account identifier that specifies which account is making the request

Example:

"acc_123456"

Body

application/json

Response

200
application/json

Created payout method

The response is of type object.