Add Webhooks

apiLegacyLast updated: October 12th 2021, @ 6:58:00 pm


Add webhooks to your integration, to listen for the following events:

  • Buyer approval
  • Authorize an order
  • Void an authorization
  • Capture an authorization or an order
  • Refund a capture

First set up a webhooks integration. Then listen for Orders API events using the following event names:

Checkout flowEvent nameRelated API endpoints
Buyer approvalCHECKOUT.ORDER.APPROVEDn/a
Authorize an orderPAYMENT.AUTHORIZATION.CREATED/v2/checkout/orders/order_id/authorize
Void an authorizationPAYMENT.AUTHORIZATION.VOIDED/v2/payments/authorizations/authorization_id/void
Capture an order or authorizationPAYMENT.CAPTURE.COMPLETED/v2/checkout/orders/order_id/capture
/v2/payments/authorizations/authorization_id/capture
PAYMENT.CAPTURE.DENIED/v2/checkout/orders/order_id/capture
/v2/payments/authorizations/authorization_id/capture
PAYMENT.CAPTURE.PENDING/v2/checkout/orders/order_id/capture
/v2/payments/authorizations/authorization_id/capture
Refund a capturePAYMENT.CAPTURE.REFUNDED/v2/payments/captures/capture_id/refund