AgentFlow Enterprise Docs

PayPal Orders and Webhooks

The server validates the plan price, creates the order, captures an approved payment, verifies webhook signatures, and records payment state in Supabase.

Implemented routes

RoutePurpose
POST /api/paypal/subscriptions/createValidate the plan, create a PayPal subscription, and persist the local checkout reference.
POST /api/paypal/subscriptions/confirmVerify the returned subscription with PayPal and synchronize active access.
POST /api/webhooks/paypalVerify PayPal webhook signatures and update payment state.

Current billing limitation

One-time payment

Recurring PayPal subscriptions require configured server-side plan IDs. Active status is synchronized through verified webhooks and a server-side return confirmation.

These docs describe implementation readiness and configuration. They are not a certification, penetration test, contractual SLA, or financial advice claim.