Card payments
P2C uses webhooks to update you on the status of your cards and to report transaction changes. 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.
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.
Typically, P2C aggregates event objects every 30-120 seconds.
Use POST /api/WebhookRegistrations to register to poll for event status.
Call | Description |
CardAuthorized | Reports:
|
CardStatusChanged | Reports if a card changed status to active or inactive |
Transaction | Reports any transactions |
TransactionStatusChanged | Reports the changed status of a transaction |
TransactionCompleted | Reports the completion of a transaction request. This webhook is sent only 1 time. If a transaction has changed after the initial execution, the TransactionStatusChanged webhook will be sent. |