cURL
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 }
Access token passed as a Bearer token in the Authorization header
Account identifier that specifies which account is making the request
Payout method ID
Updated payout method
The response is of type object.
object