Advanced API Documentation
Campaigns
Contract Documents
Dashboard
Invoices
Invoice Templates
Payment Batches
Payout Methods
Referrals
Payout Methods
Update a payout method
PUT
/
payout_methods
/
{id}
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
Access token passed as a Bearer token in the Authorization header
Account identifier that specifies which account is making the request
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/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
}
Assistant
Responses are generated using AI and may contain mistakes.