Create Order


Send a POST request to the URL to create a payment link. Decode the JSON response, select the ID in 'response', and redirect your customer to{response}


Parameter Type Position # Description
apiKey String Body Required Your merchant API key.
email String Body Required Customer's email address. Must be valid.
amount Float Body Required Total order amount. Must be equal or above 1.
webhookURL String Body Required The URL that we will send an IPN notification to after a successful payment.
returnURL String Body Required The URL the customer will be redirected to after a successful payment. You may add {paymentID} into the URL and we will automatically replace it with the payment ID that we send back.
metadata String Body Optional Extra data that will be sent back in the IPN notification.


HTTP/1.1 200 Success
    "status": "success",
    "response": "89c9d6dd-e225-4df6-85aa-dd4f785b16d0"
HTTP/1.1 400 Bad Request
    "status": "fail",
    "response": "Invalid parameter"
HTTP/1.1 401 Unauthorized
    "status": "fail",
    "response": "Invalid merchant API key"