Payment, authorization, refund, and fee notifications.
Examples below cover first payments by payment method, subsequent payments, and payment outcomes. Always inspect status: PAYMENT_SUCCESS can also report a failed or canceled payment.
Use paymentMethodDetails for payment method data. transactionDetails is a legacy field included for compatibility. Depending on the provider and available data, paymentMethodDetails may be absent or null; optional wallet card details may vary.
New payment and refund notifications include merchantPspId, the identifier of the merchant PSP connection that processed the transaction. It records the connection actually used, independently of current routing. Legacy payloads may omit it. legalEntityName is the optional name configured on that connection and applies across projects that use it. When no name is configured, the field is omitted rather than sent as null.
routeId is the optional identifier of the Route that actually processed the payment. It remains tied to that historical payment if routing configuration changes later and is not inferred from merchantPspId. Older transactions without a recorded Route omit the field.
For Apple Pay, read the customer's email from paymentMethodDetails.email when payment method details are available. To enable email collection in the payment sheet, see Enable email collection.
- First single payment
- First subscription payment
- One-time payment within an existing subscription
- Repeat single payment
- Subscription recurring payment
- Single payment with a network token
- Subscription payment with a network token
- One-time subscription payment with a network token
- Captured payment
- Failed payment
- Canceled payment
- Authorized payment
- Refund
- Refund created
- Transaction fees
For event types, status meanings, signature verification, and delivery handling, see the Webhooks guide.