Skip to content

Endpoint ​

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

POST Register PayPal Webhook​

POST
/settings/paypal-payouts/webhook

Register the webhook at PayPal for a mode (mode: test or live) and save its ID. Without a webhook, payout results arrive with the hourly check.

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