cURL
curl --request PUT \ --url https://api.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", "promoter_id": 123, "details": { "paypal_email": "[email protected]" }, "is_disabled": true, "is_selected": true } '
{ "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
paypal
bank
wise
crypto
custom
dots
Id of the promoter
Show child attributes
Updated payout method