Overview

Introduction

Welcome to the MassPay API documentation! Our API will give you the functionality to add beneficiaries, fund wallets, initiate transfers.

We have language bindings in Shell, Ruby, Python, Java and JavaScript! You can view code examples in the dark area to the right, and you can switch the programming language of the examples with the tabs in the top right.

Our API utilizes versioning and will therefore have different functionality based on the version set up in your account.


MassPay API

Base URLs:

https://{environment}.masspay.io/{VERSION}

  • VERSION - Default: v1.0.0
    • v0.1.4
    • v1.0.0
  • environment - Default: api
    • api
    • staging-api

Making Requests

All requests and responses are JSON encoded. Requests must be made over SSL connections using HTTPS. Requests made over HTTP will be redirected to HTTPS.


Compression

The API supports the header Accept-Encoding: gzip for calls that return payloads larger than 1024KBs. Simply add the approprate header and if the size of the payload exceeds 1024, it will be returned as GZip.