curl --location --request POST 'https://sandbox-acq.onerway.com/txn/payment' \
--header 'Content-Type: application/json' \
--data-raw '{
"billingInformation": {
"address": "6279 Mayfield Road",
"city": "Karolannshire",
"country": "US",
"email": "Delores.Thiel1@gmail.com",
"firstName": "Khalid",
"identityNumber": "86032961732",
"lastName": "Berge",
"phone": "14064876575",
"postalCode": "43936",
"province": "CO"
},
"merchantCustId": "CustId-CIZ4-91M9",
"merchantNo": "800515",
"merchantTxnId": "4f581f27-fe1a-4a80-8e10-2b3751ffb785",
"merchantTxnTime": "2025-04-22 14:22:11",
"orderAmount": "83",
"orderCurrency": "USD",
"shippingInformation": {
"address": "639 Myrtle Green",
"city": "Ubaldostead",
"country": "US",
"email": "Lucious.Feeney38@gmail.com",
"firstName": "Lorna",
"identityNumber": "42993160796",
"lastName": "Pfannerstill",
"phone": "16320585629",
"postalCode": "83968",
"province": "CO"
},
"sign": null,
"txnOrderMsg": {
"accept": "*/*",
"appId": "1968187301902553088",
"colorDepth": "32",
"contentLength": "16384",
"javaEnabled": false,
"language": "en-US",
"products": [
{
"currency": "USD",
"name": "tomato",
"num": "90",
"price": "544.09",
"type": "et ad quis laborum"
},
{
"currency": "USD",
"name": "lemon",
"num": "100",
"price": "31.19",
"type": "et est minim in"
},
{
"currency": "USD",
"name": "aubergine",
"num": "65",
"price": "585.69",
"type": "dolor deserunt minim"
}
],
"returnUrl": "YOUR-RETURN-URL",
"notifyUrl": "YOUR-WEBHOOK-ENDPOINT",
"screenHeight": "1800",
"screenWidth": "800",
"timeZoneOffset": "-540",
"transactionIp": "187.178.122.99",
"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": "DIRECT",
"txnType": "AUTH"
}'