Skip to main content

Transaction declined

Webhook behaviour

Webhook is dispatched when the transaction is declined. Thanks to it, you do not need to parse the transaction processed webhook and search for the decline status

Payload

Here is the exact payload:

type Event = {
deduplicationId: string; // unique identifier for the event, used to prevent duplicate events
type: 'transaction-declined';
organizationId: string;
metadata: Transaction;
};

You can check how the transaction object look like here