Get Order
Retrieving a specific order by MugglePay order ID
It's done by MugglePay payment page. ONLY use this if you want to build an in-house payment without redirecting.
Definition
GET https://api.mugglepay.com/v1/orders/:order_id
Body Params
order.order_id
string
Yes
MugglePay order ID. It's provided in the response of Create Order.
order.price_amount
Float
Yes
Label Price in USD (e.g. FIAT Lable price). In this example, it's $9.9 in US Dollars
invoice.pay_amount
Float
Yes
Token amount in Token. In this example, it's 9.9 USDC Token on Solana.
invoice.pay_currency
string
Yes
The crypto currency we want to pay. In this example, it's USDC_SOL (USDC on Solana)
invoice.memo
string
No
If you are using MugglePay invoice page, it's automatically handled if user pay with crypto wallets. If you want to customize your payment page, add the memo when paying the transaction. It's optional for most payments. It's required for payments like TON, Solana.
Example
Result Format
200 OK
Error Format
MugglePay Server will always return status 400. If API failed, it will return error_code and error as its object.
Last updated