Checkout Order
Last updated
Last updated
Based on the purchase amount, the customer can select payment currency for the order. The response will have the pay_amount and payment_address. You can redirect the buyer to the payment_url.
It's done by our side. ONLY use this if you want to build an in-house payment without redirecting to our page. This API is only needed with no page redirecting.
POST https://api.mugglepay.com/v1/orders/:id/checkout
Param | Type | Required | Description |
---|---|---|---|
MugglePay Server will always return status 200 on success API.
MugglePay Server will always return status 400. If API failed, it will return error_code and error as its object.
If you want the user to stay at your website, a QR code can generated based on the pay_amount and payment_address. Buyer can scan the QR code with any crypto wallets on their mobiles.
order_id
string
MugglePay order ID
pay_currency
string
Yes
Payment cryptocurrency. It's currency selected by the user. For example, "EOS".