curl --location --request POST 'https://sandbox-acq.onerway.com/v1/txn/doTransaction' \
--header 'Content-Type: application/json' \
--data-raw '{
"billingInformation": {
"address": "68069 E 6th Street",
"city": "Racine",
"country": "US",
"email": "Adeline4@yahoo.com",
"firstName": "Elmira",
"identityNumber": "90508719360",
"lastName": "Dicki",
"phone": "14867260113",
"postalCode": "41059",
"province": "CO"
},
"merchantCustId": "CustId-Y3NU-5U6K",
"merchantNo": "800515",
"merchantTxnId": "{{auto-generated-uuid}}",
"merchantTxnTime": "2025-07-06 15:11:45",
"orderAmount": "2",
"orderCurrency": "USD",
"shippingInformation": {
"address": "49846 Brown Track",
"city": "San Jose",
"country": "US",
"email": "Jaleel56@gmail.com",
"firstName": "Mariah",
"identityNumber": "12386453528",
"lastName": "Rohan",
"phone": "15969341715",
"postalCode": "07373",
"province": "CO"
},
"sign": null,
"txnOrderMsg": {
"accept": "*/*",
"appId": "1968187301902553088",
"colorDepth": "16",
"contentLength": "1024",
"javaEnabled": true,
"language": "en-US",
"products": [
{
"currency": "USD",
"name": "kiwi fruit",
"num": "93",
"price": "123.50",
"type": "laborum"
},
{
"currency": "USD",
"name": "honeydew melon",
"num": "7",
"price": "246.69",
"type": "esse in non"
},
{
"currency": "USD",
"name": "banana",
"num": "33",
"price": "383.69",
"type": "dolore consectetur"
}
],
"returnUrl": "YOUR-RETURN-URL",
"notifyUrl": "YOUR-WEBHOOK-ENDPOINT",
"screenHeight": "1080",
"screenWidth": "360",
"timeZoneOffset": "-300",
"transactionIp": "108.229.34.8",
"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",
"cardInfo": {
"holderName": "CL BRW2",
"cardNumber": "4000000000002701",
"month": "05",
"year": "26",
"cvv": "123"
},
"subscription": {
"requestType": "0",
"selfExecute": "1",
"productName": "Bespoke Bronze Towels",
"frequencyType": "M",
"bindCard": true,
"merchantCustId": "CustId-PN0J-408C",
"frequencyPoint": "1",
"notificationEmail": "Letitia_Zemlak49@yahoo.com",
"metaData": null,
"expireDate": "2026-03-15"
}
}'