Skip to main content
PUT
/
payout_methods
/
{id}
Update a payout method
curl --request PUT \
  --url https://v2.firstpromoter.com/api/v2/company/payout_methods/{id} \
  --header 'ACCOUNT-ID: <api-key>' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "method": "paypal",
  "is_disabled": true,
  "is_selected": true,
  "promoter_id": 123,
  "details": {
    "paypal_email": "[email protected]"
  }
}'
{
  "id": 123,
  "method": "paypal",
  "date_added": "2023-11-07T05:31:56Z",
  "is_disabled": true,
  "meta": {},
  "is_selected": true,
  "details": {
    "paypal_email": "[email protected]"
  },
  "managed_payouts": true
}

Authorizations

Authorization
string
header
required

Access token passed as a Bearer token in the Authorization header

ACCOUNT-ID
string
header
required

Account identifier that specifies which account is making the request

Path Parameters

id
integer
required

Payout method ID

Body

application/json
method
enum<string>
required
Available options:
paypal,
bank,
wise,
crypto,
custom,
dots
promoter_id
integer
required

Id of the promoter

details
object
required
  • Option 1
  • Option 2
  • Option 3
  • Option 4
is_disabled
boolean
is_selected
boolean

Response

Updated payout method

id
integer
method
enum<string>
Available options:
paypal,
bank,
wise,
crypto,
custom,
dots
date_added
string<date-time>
is_disabled
boolean
meta
object
is_selected
boolean
details
object
  • Option 1
  • Option 2
  • Option 3
  • Option 4
managed_payouts
boolean
I