Skip to content

Endpoint ​

  • Method: PATCH
  • Path: /payouts/{id}
  • Edition: Core
  • Controller: PayoutController@updatePayout
  • Route source: app/Http/Routes/api.php
  • Access: PayoutPolicy — manage_options, or manage_all_payouts or manage_all_data.

PATCH Update Payout​

PATCH
/payouts/{id}

Update a payout.

Controller: PayoutController@updatePayout
Route source: 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
integer
Required

Request Body​

application/json
JSON
{
}

Responses​

Successful response

application/json
JSON
{
"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"
},
"message": "string"
}

Playground​

Authorization
Variables
Key
Value
Body

Samples​

Powered by VitePress OpenAPI

FluentAffiliate developer documentation