Code Samples

Page Resource

These are our Library files for interfacing with the payment API. For your convenience, we have added sample codes that you can use and tweak in order to get a headstart on coding to our API. Each source code has our most functional calls to make a successful payment, gather reports, and create customers.

How to use our Code Samples?

  1. Choose any sample library of your coding choice below. We have C#, Javascript, and PHP for your reference below.
  2. Utilize the combination of our sample codes and our developer documentation to make test calls.

[PHP] (
[Javascript] (
[C#] (

Postman Collection

These postman collections are for you to test to better understand the MX Merchant API. Please import the URL below into your postman.

Terminal Checkout API Postman Collection