{ "merNo": 111111, "merOrderNo": "222222", "currencyCode": "USD", "sourceAmount": "100.05", "returnUrl": "https://example.com", "notifyUrl": "https://example.com/notify", "sign": "906FDF4880B00B00281F2AB61AE9A721", "ipAddress": "192.168.1.1", "version": "V3.0.0", "userId": "111", "email": "example@gmail.com", "osType": "ANDROID", "terminal": "WAP" }
curl --location --request POST 'https://testpay.onlinepay.ai/payment' \ --header 'paymentType: ALIPAY' \ --header 'Content-Type: application/json' \ --data-raw '{ "merNo": 111111, "merOrderNo": "222222", "currencyCode": "USD", "sourceAmount": "100.05", "returnUrl": "https://example.com", "notifyUrl": "https://example.com/notify", "sign": "906FDF4880B00B00281F2AB61AE9A721", "ipAddress": "192.168.1.1", "version": "V3.0.0", "userId": "111", "email": "example@gmail.com", "osType": "ANDROID", "terminal": "WAP" }'
{ "code": "00000", "message": "SUCCESS", "data": { "payCode": 0, "tradeNo": "ONL3333333", "merorderNo": "222222", "payUrl": "https://abc.com/" } }