Endpoint
- Method:
POST - Path:
/payouts/validate-payout-config - Edition: Core
- Controller:
PayoutController@validatePayoutConfig - Route source:
app/Http/Routes/api.php
POST Validate Payout Config
POST
/payouts/validate-payout-config
Validate a payout configuration before processing.
Controller: PayoutController@validatePayoutConfig
Route source: app/Http/Routes/api.php
Authorizations
ApplicationPasswords
WordPress Application Passwords — use Basic auth with username:application_password.
Type
API Key (header: Authorization)
Request Body
application/json
JSON
{
}
Responses
Successful response
application/json
JSON
{
"payable_affiliates": [
{
"id": 0,
"user_id": 0,
"status": "string",
"affiliate_code": "string",
"rate": "string",
"rate_type": "string",
"earnings_balance": "string",
"total_paid": "string",
"total_unpaid": "string",
"created_at": "string",
"updated_at": "string"
}
],
"payable_total_amount": 0,
"config": {
"start_date": "string",
"end_date": "string",
"min_payout": 0,
"affiliate_ids": [
0
]
}
}