curl --location --request POST 'https://sandbox-acq.onerway.com/v1/txn/doTransaction' \
--header 'Content-Type: application/json' \
--data-raw '{
"merchantCustId": "6853d6faee226a602584abfe",
"merchantNo": "800515",
"merchantTxnId": "{{auto-generated-uuid}}",
"merchantTxnTime": "2025-07-24 16:25:32",
"orderAmount": "25",
"orderCurrency": "USD",
"sign": null,
"txnOrderMsg": {
"accept": "*/*",
"appId": "1968187301902553088",
"colorDepth": "32",
"contentLength": "1024",
"javaEnabled": true,
"language": "en-US",
"products": [
{
"currency": "USD",
"name": "sultana",
"num": "27",
"price": "859.35",
"type": "voluptate quis cupidatat qui"
},
{
"currency": "USD",
"name": "orange",
"num": "82",
"price": "252.49",
"type": "proident id sit"
}
],
"returnUrl": "YOUR-RETURN-URL",
"notifyUrl": "YOUR-WEBHOOK-ENDPOINT",
"screenHeight": "667",
"screenWidth": "2048",
"timeZoneOffset": "-300",
"transactionIp": "254.168.197.144",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36"
},
"productType": "CARD",
"subProductType": "SUBSCRIBE",
"txnType": "SALE",
"subscription": {
"requestType": "1",
"tokenId": "264462d28ad962fffb7d00690dca9c43353288e82a603751aa75313ce0e3db06",
"contractId": "1963057100246880256",
"merchantCustId":"6853d6faee226a602584abfe"
}
}'