PURPOSE

APEXX can return webhook data to an endpoint provided by the merchant. This is useful in case the original API response is missed, to direct transaction updates to an additional endpoint, or for asynchronous transaction updates such as chargeback notifications.

 

FOR WHICH EVENTS WILL APEXX SEND WEBHOOK DATA?

When the APEXX gateway receives a response from the PSP for a given transaction, it will return the transaction response to the merchant via the API and also create a webhook. Webhook notifications are sent to the merchant from a different component than the payment API responses. Webhooks are sent out from the PEXX gateway every three minutes. 



Success notifications are sent for the following APIs:

Hosted payment page
Card payment (3DS + Non 3DS)
Afterpay Payment
Afterpay Cancel
Afterpay Capture
Afterpay Refund
Hosted CUP
CUP
Hosted Alipay payment
Alipay
APMs
Cancel
Capture
Refund
CancelCapture
CancelRefund
Create Credit Transaction
Cancel Credit Transaction


Failur(internal or external) and decline notifications are sent for the following APIs :

Hosted Payment Page
Hosted CUP
Hosted Alipay
Card payment (3DS + Non 3DS)
Afterpay Payment
CUP
Alipay Preorder
APMs
Create Credit Transaction

WILL APEXX SEND WEBHOOK DATA FOR REQUESTS THAT WERE FAILED BY THE PSP?

When a transaction is failed or declined by the PSP, APEXX will send webhook data for payment API requests only. 

WILL APEXX SEND WEBHOOK DATA FOR REQUESTS THAT FAILED BECAUSE THE PSP COULD NOT BE REACHED?
APEXX does not send any webhook notifications for events where the PSP is unreachable.

WHEN WILL APEXX NOT SEND WEBHOOK DATA?

When a transaction is failed or declined by the PSP and if the API is for a downstream request, APEXX will not send webhook notifications. This includes Cancel, Capture, Refund, Cancel Capture, Cancel Refund, Cancel Credit Transaction, Afterpay Cancel, Afterpay Capture and Afterpay Refund requests.


CHARGEBACK NOTIFICATIONS

When a chargeback is received for a transaction then the webhook component will send chargeback detail along with the transaction details to the merchant in a webhook notification.


RELATED ARTICLES

What is the purpose of webhooks?

How do I configure accounts for webhooks?

What does the error "Webhook url should contain same domain as account webhook url" mean