Overview

Environments
Zūm Rails provides two environments to make API requests - a sandbox environment for testing, and a live environment where payments are processed.
The two environments are separate and do not share information.
Production:
Live Portal: https://app.zumrails.com
Live API base URL: https://api-app.zumrails.com
Requests limits*:
1000 requests/5 min for the /api/authorize;
100 requests/5 min for the filter endpoints;
100 requests/5 min for the GET/api/transaction/*;
Sandbox:
Sandbox Portal: https://sandbox.zumrails.com
Sandbox API base URL: https://api-sandbox.zumrails.com
Request limits*:
300 requests/5 min for all endpoints;
*When limits are exceeded, the IP will be blocked for 5 minutes
API Standards
All datetime fields are stored and returned in UTC format.
All API requests must pass
Content-type: application/jsonin the header.
API Structure
All API endpoints return the same response, containing 4 important pieces of information:
statusCode
The HTTP status code.
message
A message describing if the response was successful.
isError
true or false to indicate if the request was successfully processed.
result
The JSON response for the API call.
responseException
When isError is true, the exception message indicating the problem.
INFO
We recommend first checking if isError is true. If not, use the statusCode to determine the appropriate next steps. For successful responses (isError: false), the statusCode will guide your subsequent actions.
Follow these steps to quickly get started with the Zūm Rails API:
Once you have access to your sandbox portal:
Login in your sandbox portal, navigate to Settings -> Webhook & API Settings. Grab your API username and password
Download and install the Postman app
Install the Zūm Rails Postman Collection. Click the "Run in Postman" button below to install
In Postman find the endpoint /Authorize, paste your API username and password and it's all set.
NOTE
This Postman Collection is already prepared to set the authorization token as an environment variable, so that you don't need to copy and paste the authorization token every time. If you need to change this configuration, go to Authorize endpoint in the Postman Collection, and open the Tests tab to view how this tweak is done.
Postman Collection
To get started with the Zūm Rails API:
Login in the sandbox portal.
Navigate to Settings -> Webhook & API Settings page, and copy the API username and password.
Download and install the Postman app.
For your region, click the "Run in Postman" button below to install the Zūm Rails Postman Collection.
Open the Postman Collection, find the endpoint
/Authorize, and paste your API username and password.
Each Postman Collection is already prepared to set the authorization token as an environment variable, so you don't need to copy and paste the authorization token every time. If you need to change this configuration, go to the Authorize endpoint in the Postman Collection, and review the Scripts tab.
Last updated
Was this helpful?
