Creating an Order
Last updated
{
wallets: {
"evm": "addressHere",
"tron": "addressHere",
},
"src": "API",
"returnUrl": "URL_TO_YOUR_THANKYOU_PAGE", // or https://pay.just.money/thankyou
"statusHookUrl": "https://yourdomain.com/yourHookUrl",
"totalAmount": "100",
"orderId": "ORDER_ID_IN_YOUR_SYSTEM",
"currency": "USD"
}{
"id": "OUR_ORDER_ID",
"hash": "HASH",
"paymentUrl": "PAYMENT_URL",
}{ error: "Server error" }