Cardknox REST API - Source Code
The Cardknox API integrates payments into online, mobile, and in-store applications. It uses the same URL for sandbox and live accounts and it requires xKey to authenticate. The API supports Credit Card, Check (ACH), EBT, Gift Card and Fraud Protection transactions. Cardknox is a developer-friendly payment system.

- Summary
- SDKs (1)
- Articles (1)
- How To(0)
- Source Code(22)
- Libraries(0)
- Developers (0)
- Followers (2)
- Changelog (0)
Sample Source Code (22)
The following is a list of sample source code snippets that matched your search term. Source code snippets are chunks of source code that were found out on the Web that you can cut and paste into your own source code. Whereas most of the sample source code we've curated for our directory is for consuming APIs, we occasionally find something interesting on the API provider side of things. If you know of some sample source code that would be of interest to the ProgrammableWeb community, we'd like to know about it. Be sure to check our guidelines for making contributions to ProgrammableWeb.
Title | Description | |
---|---|---|
![]() | Cardknox Credit Card Refund .NET Sample Code | The Cardknox Credit Card Refund .NET Sample Code demonstrates how to use a check sale that commands debits funds from a customer’s checking or savings account using one of the following options: xAccount and xRouting parameters and xCheckImageFront, xCheckImageRear, and xMICR parameters. The merchant must have a supported Check/ACH processing account to use either of these options. |
![]() | Cardknox ACH Check PHP Sample Code | The Cardknox ACH Check PHP Sample Code demonstrates how to use a check sale that commands debits funds from a customer’s checking or savings account using one of the following options: xAccount and xRouting parameters and xCheckImageFront, xCheckImageRear, and xMICR parameters. The merchant must have a supported Check/ACH processing account to use either of these options. |
![]() | Cardknox ACH Check Node.js Sample Code | The Cardknox ACH Check Node.js Sample Code demonstrates how to use the check sale command to debit funds from a customer’s checking or savings account. The merchant must have a supported Check/ACH processing account. |
![]() | Cardknox ACH Check Android Sample Code | The Cardknox ACH Check Android Sample Code demonstrates how to command debits funds from a customer’s checking or savings account using one of the following options: xAccount and xRouting parameters and xCheckImageFront, xCheckImageRear, and xMICR parameters. |
![]() | Cardknox ACH Check C# Sample Code | The Cardknox ACH Check C# Sample Code demonstrates how to use the check sale command that debits funds from a customer’s checking or savings account. |
![]() | Cardknox Credit Card Refund Python Sample Code | The Cardknox Credit Card Refund Python Sample Code demonstrates how to use the refund command to refund a full amount of a previous transaction using xRefNum. Partial check refunds aren’t currently supported. |
![]() | Cardknox Credit Card Refund PHP Sample Code | The Cardknox Credit Card Refund PHP Sample Code demonstrates how to use the refund command to refund a full amount of a previous transaction using xRefNum. Partial check refunds aren’t currently supported. |
![]() | Cardknox Credit Card Refund Node.js Sample Code | The Cardknox Credit Card Refund Node.js Sample Code demonstrates how to use the refund command to refund a full amount of a previous transaction using xRefNum. |
![]() | Cardknox Credit Card Refund Android Sample Code | The Cardknox Credit Card Refund Android Sample Code demonstrates how to use the refund command to refund a full amount of a previous transaction using xRefNum. Partial check refunds aren’t currently supported. |
![]() | Cardknox Credit Card Refund C# Sample Code | The Cardknox Credit Card Refund C# Sample Coden demonstrates how to use the refund command to refund a full amount of a previous transaction using xRefNum. |
![]() | Cardknox Credit Card Sale .NET Sample Code | The Cardknox Credit Card Sale .NET Sample Code demonstrates how to access the API to implement a card sale. The sale command is a combination of authorization and capture and intended when fulfilling an order right away. Use the auth only command initially and use the capture command to complete the sale. |
![]() | Cardknox Credit Card Sale Python Sample Code | The Cardknox Credit Card Sale Python Sample Code demonstrates how to fulfill an order with a credit card sale. Use the auth only command initially and use the capture command to complete the sale. |
![]() | Cardknox Credit Card Sale PHP Sample Code | The Cardknox Credit Card Sale PHP Sample Code demonstrates how to implement credit card sales into applications. Use the auth only command initially and use the capture command to complete the sale. |
![]() | Cardknox Credit Card Sale Node.js Sample Code | The Cardknox Credit Card Sale Node.js Sample Code demonstrates how to use the card sale command. The Sale command is a combination of authorization and capture and intended when fulfilling an order right away. |
![]() | Cardknox Credit Card Sale Android Sample Code | The Cardknox Credit Card Sale Android Sample Code demonstrates how to use the credit card sale command. The card to be charged can be communicated with 4 different approaches: xCardNum + xExp OR xMagstripe OR xToken OR SUT. |
![]() | Cardknox Credit Card Sale C# Sample Code | The Cardknox Credit Card Sale C# Sample Code demonstrates how to use the credit sale command, a combination of authorization and capture and intended when fulfilling an order right away. |
![]() | Cardknox VB.NET Sample Code | The Cardknox VB.NET Sample Code demonstrates how to make requests to receive response data as a result. |
![]() | Cardknox Python Sample Code | The Cardknox Python Sample Code demonstrates how to import an URL parse to include requests with utf 8 that will include raw responses in return. |
![]() | Cardknox PHP Sample Code | The Cardknox PHP Sample Code demonstrates how to enter credentials to run the code and receive live response variables. |
![]() | Cardknox Node.js Sample Code | The Cardknox Node.js Sample Code demonstrates how to generate code choosing preferred language & transaction type. |
![]() | Cardknox Java Sample Code | The Cardknox Java Sample Code demonstrates how to run a sample code and receive a live response variable when entering Cardknox credentials. |
![]() | Cardknox C# Sample Code | The Cardknox C# Sample Code demonstrates how to build code, selecting the preferred language & transaction type. |