Skip to main content
The PayPal plugin handles incoming webhooks. Point your provider’s subscription URL at your Corsair HTTP handler (see Overview for setup context and the exact URL shape).
New to Corsair? See webhooks and hooks.

Webhook map

  • catalogProduct (catalogProduct)
  • checkoutOrder (checkoutOrder)
  • dispute (dispute)
  • invoice (invoice)
  • other (other)
  • paymentAuthorization (paymentAuthorization)
  • paymentCapture (paymentCapture)
  • payout (payout)
  • plan (plan)
  • sale (sale)
  • subscription (subscription)
  • vault (vault)

HTTP handler setup

app/api/webhook/route.ts

Events

Catalog Product

Catalog Product

catalogProduct A catalog product was created or updated (event_type CATALOG.PRODUCT.*) Payload
webhookHooks example

Checkout Order

Checkout Order

checkoutOrder A Checkout order was approved, completed, saved or voided (event_type CHECKOUT.ORDER.*) Payload
webhookHooks example

Dispute

Dispute

dispute A dispute was created, updated or resolved (event_type CUSTOMER.DISPUTE.*) Payload
webhookHooks example

Invoice

Invoice

invoice An invoice was created, updated, paid, refunded, scheduled or cancelled (event_type INVOICING.INVOICE.*) Payload
webhookHooks example

Other

Other

other Any other PayPal event (merchant onboarding, risk, customer, Venmo …) (event_type *) Payload
webhookHooks example

Payment Authorization

Payment Authorization

paymentAuthorization A payment authorization was created or voided (event_type PAYMENT.AUTHORIZATION.*) Payload
webhookHooks example

Payment Capture

Payment Capture

paymentCapture A payment capture completed, was denied, pending, refunded, reversed or declined (event_type PAYMENT.CAPTURE.*) Payload
webhookHooks example

Payout

Payout

payout A payout batch or item was processed, succeeded, denied, blocked, held, refunded, returned, unclaimed or cancelled (event_type PAYMENT.PAYOUTS*) Payload
webhookHooks example

Plan

Plan

plan A billing plan was created, updated, activated, deactivated or its pricing changed (event_type BILLING.PLAN.*) Payload
webhookHooks example

Sale

Sale

sale A subscription payment (sale) completed, was denied, pending, refunded or reversed (event_type PAYMENT.SALE.*) Payload
webhookHooks example

Subscription

Subscription

subscription A subscription was created, activated, updated, renewed, suspended, cancelled, expired or a payment failed (event_type BILLING.SUBSCRIPTION.*) Payload
webhookHooks example

Vault

Vault

vault A vaulted payment token was created or deleted (event_type VAULT.PAYMENT-TOKEN.*) Payload
webhookHooks example