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] (https://github.com/PRIORITYPAYMENTSYSTEMS/payment-libraries/tree/master/PHP)
[Javascript] (https://github.com/PRIORITYPAYMENTSYSTEMS/payment-libraries/tree/master/Javascript)
[C#] (https://github.com/PRIORITYPAYMENTSYSTEMS/payment-libraries/tree/master/C%23)

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

https://www.getpostman.com/collections/07f7c9110539ec7ee643