REST API
Welcome to the REST API section of the MakeCommerce Developer Portal. Here you could try all our API endpoints very easily - just enter authentication details and send requests straight from this page.
You could also use our Postman collection:
Use Guides section to learn about different use cases.
Authentication
API requests are made via HTTPS. Each request must be authenticated with HTTP Basic Authentication using:
- Shop ID as
username
- Secret key as
password
Shop ID and Secret key could be found under the API settings section on the Merchant Portal. Always keep your Secret key secure and do not share in publicly accessible places like GitHub or client-side code. If your Secret key is leaked, immediately generate a new one in the Merchant Portal.
Useful Links
- LIVE environment base URL: https://api.maksekeskus.ee
- TEST environment base URL: https://api.test.maksekeskus.ee
- LIVE environment Merchant Portal: https://merchant.maksekeskus.ee
- TEST environment Merchant Portal: https://merchant.test.maksekeskus.ee
- Service status page: https://status.maksekeskus.ee
Error Codes
Error Code | Description |
---|---|
400 | Bad request, invalid body/parameters or business logic errors. |
401 | Unauthorized - check authentication. |
404 | Resource does not exist or is not available for this shop. |
409 | Resource conflict. |
415 | Request content type is not application/json . |
500 | Server error. |
Codes in the 2xx
range indicate success.
Request Limits
We have IP-based default limits for the maximum number of requests:
Time Range | Max Amount of Requests in LIVE Environment | Max Amount of Requests in TEST Environment |
---|---|---|
1 second | 15 requests | 15 requests |
10 seconds | 100 requests | 75 requests |
1 minute | 200 requests | 150 requests |
5 minutes | 1000 requests | 500 requests |