curl --location --request POST 'https://sandbox-acq.onerway.com/v1/txn/doTransaction' \
--header 'Content-Type: application/json' \
--data-raw '{
"billingInformation": {
"address": "415 E Elm Street",
"city": "Round Rock",
"country": "US",
"email": "Americo.Collins@gmail.com",
"firstName": "Elian",
"identityNumber": "51904166499",
"lastName": "Schmitt",
"phone": "13499973893",
"postalCode": "37945",
"province": "CO"
},
"merchantCustId": "CustId-4UU5-3039",
"merchantNo": "800515",
"merchantTxnId": "8f22846f-419b-4450-9638-2e9f930958fe",
"merchantTxnTime": "2025-03-14 14:27:56",
"orderAmount": "1",
"orderCurrency": "USD",
"shippingInformation": {
"address": "38349 E Central Avenue",
"city": "Wellingtonville",
"country": "US",
"email": "Ferne_Flatley@gmail.com",
"firstName": "Ida",
"identityNumber": "84996479469",
"lastName": "Rutherford",
"phone": "13276781085",
"postalCode": "60031-4585",
"province": "CO"
},
"sign": null,
"txnOrderMsg": {
"accept": "*/*",
"appId": "1968187301902553088",
"colorDepth": "16",
"contentLength": "1024",
"javaEnabled": true,
"language": "en-US",
"products": [
{
"currency": "USD",
"name": "pomegranate",
"num": "92",
"price": "161.10",
"type": "irure deserunt elit dolore ex"
},
{
"currency": "USD",
"name": "goji berry",
"num": "6",
"price": "212.85",
"type": "elit dolor reprehenderit est"
},
{
"currency": "USD",
"name": "apricot",
"num": "61",
"price": "367.75",
"type": "aliqua laborum eu"
}
],
"returnUrl": "YOUR-RETURN-URL",
"notifyUrl": "YOUR-WEBHOOK-ENDPOINT",
"screenHeight": "1200",
"screenWidth": "768",
"timeZoneOffset": "-840",
"transactionIp": "154.123.239.130",
"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": "LPMS",
"subProductType": "DIRECT",
"txnType": "SALE",
"lpmsInfo": {
"lpmsType": "{{APM-NAME}}",
"bankName": null,
"iBan": null,
"walletAccountId": null,
"walletAccountName": null,
"prepaidNumber": null
}
}'