Skip to main content
payment.canceled fires when your agent canceled a payment request before it was paid.

Read the payload

The data object is the full PaymentRequest from the API contract, the same object Retrieve a payment request returns. The envelope around it is the same on every event and is described in the event catalog.

Handle the event

Close the order for data.id. Every card that carries the request already reads Canceled.

Next steps