Skip to content

Endpoint ​

  • Method: POST
  • Path: /settings/paypal-payouts
  • Edition: PRO
  • Controller: PayPalSettingsController@save
  • Route source: fluent-affiliate-pro/app/Http/Routes/api.php
  • Access: SuperAdminPolicy — WordPress administrators only (manage_options). Not delegable.

POST Update PayPal Settings​

POST
/settings/paypal-payouts

Save the PayPal Payouts settings (settings.mode and the test_* / live_* client ID and secret). Changed key pairs are checked with PayPal before anything is saved. A webhook is registered for each configured mode that does not have one; problems are returned in notices. Send the masked secret back unchanged to keep the stored secret.

Controller: PayPalSettingsController@save
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)

Request Body​

application/json
JSON
{
}

Responses​

Successful response

application/json
JSON
{
"message": "string",
"notices": [
"string"
],
"settings": {
"mode": "string",
"test_client_id": "string",
"test_client_secret": "string",
"test_webhook_id": "string",
"live_client_id": "string",
"live_client_secret": "string",
"live_webhook_id": "string"
},
"webhook_url": "string"
}

Playground​

Authorization
Body

Samples​

Powered by VitePress OpenAPI

FluentAffiliate developer documentation