Webhooks

Overview

You can create webhooks (see the Webhooks endpoint) to set up callbacks and get notified about certain events from Cardaq Gate. Once created, Cardaq Gate will contact your servers whenever a hooked event fires. You do not need to do it for each individual order: setting up a webhook once will fire for all related events.

To receive callbacks as a Partner, you can select the “Partner webhooks” radio button in the “Webhooks type” section. After that, you need to select the connected merchants, for which you want to receive the callbacks, in the “Connected merchants” section. When a callback is received, the body of the callback will contain the merchant ID by which you can identify the particular connected merchant.

Supported Event Types

Event IDDescription
order.issuedan order has been issued
order.payment_successcustomer has successfully paid for the order
order.payment_failurean error has occurred during the order payment
order.holdfunds for the order have been reserved
order.canceledan order has been cancelled; additionally, if funds were reserved for this order (skip_capture = true), they will be returned
order.in_progressan order has been issued and is being processed
order.invoice_viewedcustomer has viewed the invoice for this order
order.invoice_refundedmerchant has refunded the invoice for this order
order.invoice_reversalmerchant has reversed the invoice for this order
order.refund_failurean error occurred during the invoice refund
order.invoice_refund_reverseda refund has been reversed
order.refund_init_failurean error has occurred during the process of initialization of a refund
order.reversal_init_failurean error has occurred during the process of initialization of a reversal
order.reversal_failurean error occurred during the invoice reversal
order.refund_in _progressan invoice refund is being processed
order.reversal_in _progressan invoice reversal in being processed
order.receivedan order has been received
order.rejectedan invoice has been rejected by the customer
order.expiredan order has expired
order.chargebacka chargeback has been received
order.representationa representation has been processed
order.retrievala retrieval request has been received
order.pre-arbitrationa pre-arbitration has been received
order.good_faitha good faith has been received
order.fraud_advicea fraud advice has been received
oct.issuedan OCT order has been issued
oct.successan OCT transaction has been successfully executed
oct.failurean error has occurred during OCT transaction execution
card.createdcustomer's card data has been saved
card.deletedcustomer's card data has been deleted
card.updatedcustomer's card data has been updated

You can alternatively set all_events to true to hook all events to the same callback URL in one request.