Skip to content

Latest commit

 

History

History

Postman

FruitsBytes-Moncash-PHP

Version 1.0.0

🌎 i18n: 🇺🇸🇫🇷🇭🇹

Postman

This is a Postman API similar to the the official one provided in the portal documentation, with additional features:

✨ Merchant + Client endpoints

Both end points and their requests are handled.

✨ Environment

Set the environment variables to easily switch between live and sandbox, or securely share your business API endpoints with co-developers.

✨ Automatic Authentication Bearer

Every request that need will automatically fetch a new authentication token and re-use it it is not expired yet.

✨ Share state between requests

Some values are automatically saved to be shared for the next API call in the payment flow.

Example:

the Create Payment call from the client endpoints automatically reserves the payment_token.token for the Payment/Redirect request. If you leave the token parameter empty it will use the last saved token.

✨ RSA Base64 encryption

For the Client button (Client2: *) requests the request body is automatically encrypted. Only make sur to set the

Enjoy!

How to use

Fork the API and set the environment variables. You can use the MonCash - Sandbox environment as a guide.

Select env demo

(learn more here and here ).

More on how to manage Postman collection

Title Link
How to use and share Postman Collections Video Importing and exporting collections
How to Share Postman Collections Video Importing and exporting collections
Postman How to Connect to Your Git Repository Video Importing and exporting collections
Generate a Collection From a Specification Video Importing and exporting collections