P2C uses webhooks to update you on the status of your cards and report transaction changes, via API calls. Webhooks report to your system with real-time notifications when an event happens. In P2C, a single registration registers the callback URL for all webhook events. When an event occurs, a webhook is triggered and sends the updates to your system.

How webhooks work

Every time an event occurs, P2C reports the webhook data to your endpoint, in JSON format. This eliminates the need to poll the API to discover changes. The full event details are included and sent to your system.

Webhook events

These are the webhook events available for P2C:

  • CardAuthorized
  • CardStatusChanged
  • Transaction
  • TransactionStatusChanged
  • TransactionBatchCompleted

Did this page help you?