Webhooks

The Cardknox gateway can be set up (the setup is done on the backend by Cardknox support) to send webhooks to a specific URL notifying your system of every transaction that is processed on a specific Cardknox account. It will be sent as a POST key-value pair URL encoded and will contain all information needed to identify the transaction including the transaction status. The fields that are returned can be adjusted according to your needs. For a full list of available fields see Response parameters

Here is an example:

Form values

xEnteredDate

9/3/2021 9:28:22 AM

xRefNum

506918667

xCommand

CC:Sale

xAmount

0.01

xResponseResult

Approved

xMaskedCardNumber

4xxxxxxxxxxx1111

xExp

1020

xCardType

Visa

xToken

7h39p8qp6hq2pgqp76mgg2qnq7npp3g5

xSoftwareName

KnockKnox

xSourceKey

Cardknox Support Key

xResponseBatch

6358090

xMerchantID

8663

xMerchantName

Cardknox Support

Raw Content xEnteredDate=9%2f3%2f2021+9%3a28%3a22+AM&xRefNum=506918667&xCommand=CC%3aSale&xAmount=0.01&xResponseResult=Approved&xMaskedCardNumber=4xxxxxxxxxxx1111&xExp=1020&xCardType=Visa&xToken=7h39p8qp6hq2pgqp76mgg2qnq7npp3g5&xSoftwareName=KnockKnox&xSourceKey=Cardknox+Support+Key&xResponseBatch=6358090&xMerchantID=8663&xMerchantName=Cardknox+Support