Endpoint
- Method:
POST - Path:
/payouts/{id}/paypal-batch - Edition: PRO
- Controller:
PayPalPayoutController@recoverBatch - Route source:
fluent-affiliate-pro/app/Http/Routes/api.php - Access:
PayoutPolicy—manage_options, ormanage_all_payoutsormanage_all_data.
POST Recover PayPal Batch
POST
/payouts/{id}/paypal-batch
Recover a lost PayPal batch: save the PayPal batch_id and settle the transactions from it. The batch must carry this payout's sender batch ID.
Controller: PayPalPayoutController@recoverBatch
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"
}
}