API-Key in Headers for authentication, which needs to be obtained from /api/plugin/key interface./api/order/pay/real-currency API.Api-Key will be attached to the request headers.Api-Key will be appended to the request headers.API-Key in the request header before executing the request.Applicable to callback_urlandtimeout_callbackfields
callback_url URL will be requested;timeout_callback URL will be requested.curl --location 'https://dashboard.aurpay.net/api/order/pay-url' \
--header 'Content-Type: application/json' \
--data '{
"price": 10, // Order amount in real currency - required
"currency": "USD", // Real currency type - required
"succeed_url": "https://example.com/succeed_url", // Redirect URL to checkout page after successful payment
"timeout_url": "https://example.com/timeout_url", // Redirect URL to checkout page after payment timeout
"callback_url": "https://example.com/callback_url", // Callback URL(GET) after successful payment
"timeout_callback": "https://example.com/timeout_callback" // Callback URL(GET) after payment timeout
}'{
"code": 0,
"message": "ok",
"data": {
"pay_url": "https://dashboard.aurpay.net/#/cashier/choose?token=1ad16906cce282a5abe0e666ad99bddf20229630f948e5537f5b46f1f5beee1a"
},
"result": true
}