Endpoint
- Method:
POST - Path:
/payouts/{id}/paypal-send - Edition: PRO
- Controller:
PayPalPayoutController@sendPayout - Route source:
fluent-affiliate-pro/app/Http/Routes/api.php - Access:
PayoutPolicy—manage_options, ormanage_all_payoutsormanage_all_data.
POST Send PayPal Payout
POST
/payouts/{id}/paypal-send
Queue a PayPal payout for sending. Only the transactions in processing status are sent, in one PayPal batch (15,000 items at most, one currency). The payout moves to sending, so a double request sends it once. Rejected when the payout was already sent, or when PayPal may already have it (use paypal-batch then).
Controller: PayPalPayoutController@sendPayout
Route source: fluent-affiliate-pro/app/Http/Routes/api.php
Authorizations
ApplicationPasswords
WordPress Application Passwords — use Basic auth with username:application_password.
Type
API Key (header: Authorization)
Parameters
Path Parameters
id*
The id.
Type
Requiredinteger
Request Body
application/json
JSON
{
}
Responses
Successful response
application/json
JSON
{
"message": "string",
"payout": {
"id": 0,
"created_by": 0,
"title": "string",
"description": "string",
"status": "string",
"payout_method": "string",
"total_amount": 0,
"currency": "string",
"settings": {
},
"referrals_count": 0,
"transactions_count": 0,
"created_at": "string",
"updated_at": "string"
}
}