cURL
curl --request POST \ --url https://api.firstpromoter.com/api/v2/company/payout_methods \ --header 'ACCOUNT-ID: <api-key>' \ --header 'Account-ID: <account-id>' \ --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
"acc_123456"
paypal
bank
wise
crypto
custom
dots
Id of the promoter
Show child attributes
Created payout method