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
links full type
links full type
Response data full type
Response data full type
webhookHooks example
Checkout Order
Checkout Order
checkoutOrder
A Checkout order was approved, completed, saved or voided (event_type CHECKOUT.ORDER.*)
Payload
links full type
links full type
Response data full type
Response data full type
webhookHooks example
Dispute
Dispute
dispute
A dispute was created, updated or resolved (event_type CUSTOMER.DISPUTE.*)
Payload
links full type
links full type
Response data full type
Response data full type
webhookHooks example
Invoice
Invoice
invoice
An invoice was created, updated, paid, refunded, scheduled or cancelled (event_type INVOICING.INVOICE.*)
Payload
links full type
links full type
Response data full type
Response data full type
webhookHooks example
Other
Other
other
Any other PayPal event (merchant onboarding, risk, customer, Venmo …) (event_type *)
Payload
links full type
links full type
Response data full type
Response data full type
webhookHooks example
Payment Authorization
Payment Authorization
paymentAuthorization
A payment authorization was created or voided (event_type PAYMENT.AUTHORIZATION.*)
Payload
links full type
links full type
Response data full type
Response data full type
webhookHooks example
Payment Capture
Payment Capture
paymentCapture
A payment capture completed, was denied, pending, refunded, reversed or declined (event_type PAYMENT.CAPTURE.*)
Payload
links full type
links full type
Response data full type
Response data full type
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
links full type
links full type
Response data full type
Response data full type
webhookHooks example
Plan
Plan
plan
A billing plan was created, updated, activated, deactivated or its pricing changed (event_type BILLING.PLAN.*)
Payload
links full type
links full type
Response data full type
Response data full type
webhookHooks example
Sale
Sale
sale
A subscription payment (sale) completed, was denied, pending, refunded or reversed (event_type PAYMENT.SALE.*)
Payload
links full type
links full type
Response data full type
Response data full type
webhookHooks example
Subscription
Subscription
subscription
A subscription was created, activated, updated, renewed, suspended, cancelled, expired or a payment failed (event_type BILLING.SUBSCRIPTION.*)
Payload
links full type
links full type
Response data full type
Response data full type
webhookHooks example
Vault
Vault
vault
A vaulted payment token was created or deleted (event_type VAULT.PAYMENT-TOKEN.*)
Payload
links full type
links full type
Response data full type
Response data full type
webhookHooks example