API endpoints return various response status codes that you should handle in your application. For example responses refer to the API Documentation section.
Status Code
Meaning
Description
200
OK
Success response
201
Created
Order is created successfully. If merchant_webhook_url is set but the shared secret is not configured, then a warning message will be present.
400
Bad Request
When your request parameters are invalid. Message text in the response will contain the relevant details.
401
Unauthorized
X-API-KEY is empty or incorrect, or merchant_id and X-API-KEY are mismatched