Skip to main content
The Mojo Payments API lets your own software, such as your accounting package or ERP, work with your Mojo Payments account without anyone signing in to the portal. Point-of-sale systems taking card-present payments use a different API: the POS Gateway API.

The basics

  • Address: every request goes to https://api.paymentsmojo.com, over HTTPS.
  • JSON in and out (Requests and responses).
  • Authentication: an API key, exchanged for a token that lasts 10 minutes.
  • Lists come a page at a time (Pagination).
  • Errors explain themselves in plain words (Errors).

Quick start

1

Create an API key

In the portal, an Owner or Admin opens Settings → API keys, names the key, ticks what it can do and selects Create key. Copy the key id and secret: the secret is shown only once.
2

Get a token

3

Call the API

Next