Authentication

Machnet uses API keys to allow access to our APIs. Machnet will provide you with a set of keys: CLIENT_ID and CLIENT_SECRET. You must use X-Client-Id and X-Client-Secret in every API request header.

CLIENT_ID and CLIENT_SECRET values should never be used or shared publicly and should be stored properly in an encrypted format.

X-Client-Id: CLIENT_ID X-Client-Secret: CLIENT_SECRET

You will have to use the following URL to access our sandbox: https://sandbox.api.machpay.com/v2

Set up your custom API keys

If you've downloaded our Postman collection, you should be able to see our API endpoints on the left and the appropriate environment variables on the right.

Add Client Keys

The next step is to add your own client keys into the environment variables.

Last updated