curl --location --request POST 'https://sandbox-acq.onerway.com/v1/txn/doTransaction' \
--header 'Content-Type: application/json' \
--data-raw '{
"billingInformation": {
"address": "4751 Market Place",
"city": "South Shaunburgh",
"country": "US",
"email": "Caroline86@yahoo.com",
"firstName": "Kristy",
"identityNumber": "25637123446",
"lastName": "Toy",
"phone": "17659198921",
"postalCode": "82321-5905",
"province": "CO"
},
"merchantCustId": "CustId-691H-H5J8",
"merchantNo": "800515",
"merchantTxnId": "b11bbb3c-d71b-4ea5-8d84-f5a6615e57de",
"merchantTxnTime": "2025-03-14 11:34:40",
"orderAmount": "1",
"orderCurrency": "USD",
"shippingInformation": {
"address": "204 Railway Street",
"city": "Lulachester",
"country": "US",
"email": "Alexys.Homenick@gmail.com",
"firstName": "Justus",
"identityNumber": "66607560834",
"lastName": "Herzog",
"phone": "18676901920",
"postalCode": "64922-4778",
"province": "CO"
},
"sign": null,
"txnOrderMsg": {
"accept": "*/*",
"appId": "1968187301902553088",
"colorDepth": "16",
"contentLength": "65536",
"javaEnabled": false,
"language": "en-US",
"products": [
{
"currency": "USD",
"name": "dried apricot",
"num": "90",
"price": "129.95",
"type": "deserunt"
},
{
"currency": "USD",
"name": "dragonfruit",
"num": "40",
"price": "137.19",
"type": "in eu veniam sit"
}
],
"returnUrl": "YOUR-RETURN-URL",
"notifyUrl": "YOUR-WEBHOOK-ENDPOINT",
"screenHeight": "1620",
"screenWidth": "1024",
"timeZoneOffset": "300",
"transactionIp": "144.113.146.172",
"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
}
}'