Onerway Payment API
Onerway APIs
  1. Vietnam
  • Onerway 商户 API 接入指南
  • Onerway Merchant API Testing
  • Payment APIs
    • Checkout
      • Card Checkout
      • Card Checkout - Subscribe
      • APMs Checkout
      • Single-Method APM Checkout
      • Card Checkout - Authorizaiton
    • JS-SDK
      • One-Time Payment Intent
      • Subscription Payment Intent
      • Card Tokenization Intent
    • API
      • Card
      • Pre-Auth
      • Auth Reversal
      • Capture
      • Card Tokenization
      • Tokenized Payment
      • Subscription - Charge by Onerway
      • Subscription Initial Charge
      • Subscription Recurring Charge
      • Subscription Cancellation
      • Subscription Reactivation
      • Token Removal
      • GooglePay-Card
      • ApplePay-Card
      • Apple Pay Session
      • 可用支付方式查询 | Available Payment Methods Query
      • 检查Google Pay PAN_ONLY | Check Google Pay Pan_only
    • APMs - Alternative Payment Methods
      • Thailand
        • Thailand-TrueMoney Wallet
        • Thailand-PromptPay
        • Thailand-Rabbit_Line_pay
        • Thailand-KRUNGSRI_ONLINE
      • Malaysia
        • Malaysia-TOUCH_GO_EWALLET
        • Malaysia-Boost
        • Malaysia-MCASH
        • Malaysia-ShopeePay
        • Malaysia-FPX
      • Indonesia
        • Indonesia-ShopeePay
        • Indonesia-OVO
        • Indonesia-DANA
        • Indonesia-QRIS
        • Indonesia-BNI
        • Indonesia-MANDIRI
        • Indonesia-Maybank
        • Indonesia-PERMATA
        • Indonesia-BRI
        • Indonesia-CIMB
        • Indonesia-AKULAKU
        • Indonesia-DANA(Subscribe)
      • Japan
        • Japan-Konbini
        • Japan-PayEasy
      • South Korea
        • South Korea-Kakao_Pay
        • South Korea-Naver_Pay
        • South Korea-PAYCO
        • South Korea-Cards_KOR
      • Vietnam
        • Vietnam-NINE_PAY
          POST
        • Vietnam-PAYME
          POST
        • Vietnam-VIET_QR
          POST
        • Vietnam-MOMO
          POST
        • Vietnam-ATM_CARD
          POST
      • Philippines
        • Philippines-Dragonpay
        • Philippines-QR_PH
      • Brazil
        • Brazil-Boleto
        • Brazil-Visa/Master
        • Brazil-PIX
        • Brazil-PicPay
        • Brazil-MercadoPago
      • Mexico
        • Mexico-Visa/Master
        • Mexico-SPEI
        • Mexico-OXXO
        • Mexico-PaySafeCard
      • Chile
        • Chile-Visa/Master
        • Chile-Khipu
        • Chile-Webpay
        • Chile-Servipag
        • Chile-Sencillito
      • Paraguay
        • Paraguay-Visa/Master
        • Paraguay-Infonet
      • United States
        • United States-PayPal
        • United States-Venmo
        • United States-CASH_APP
      • Belgium
        • Belgium-Bancontact
        • Belgium-Payconiq
      • Germany
        • Germany-PaySafeCard
        • Germany-Giropay
      • Italy
        • Italy-MyBank
      • Luxembourg
        • Luxembourg-Payconiq
      • Estonia
      • Turkey
        • Turkey-Papara
      • Peru
        • Peru-PagoEfectivo
    • Refund
      • Initiate Refund
      • Cancel Refund
    • Settlement
      • Settlement File Download
    • Query
      • Retrieve Transaction Orders
      • Query Installment Options
      • Retrieve Subscription Details
      • Query Chargeback Records
      • Retrieve Card Tokenization Records
    • Utils
      • Signature Validation Helper
  1. Vietnam

Vietnam-PAYME

Testing
Sandbox Env
https://sandbox-acq.onerway.com
Sandbox Env
https://sandbox-acq.onerway.com
POST
/v1/txn/doTransaction

Request

Body Params application/json

Example
{
    "billingInformation": {
        "address": "3523 Clemens Lights",
        "city": "South Jameyberg",
        "country": "US",
        "email": "King72@hotmail.com",
        "firstName": "Shanon",
        "identityNumber": "44182215134",
        "lastName": "Hickle",
        "phone": "17802688617",
        "postalCode": "55855-6474",
        "province": "CO"
    },
    "merchantCustId": "CustId-HQ50-F6CX",
    "merchantNo": "{{MERCHANT-NO}}",
    "merchantTxnId": "7775687d-03e6-4d8c-b562-496ee51cb185",
    "merchantTxnTime": "2025-03-14 14:25:54",
    "orderAmount": "516",
    "orderCurrency": "USD",
    "shippingInformation": {
        "address": "7275 Chanel Valleys",
        "city": "New Bridie",
        "country": "US",
        "email": "Nestor95@hotmail.com",
        "firstName": "Rosalinda",
        "identityNumber": "01278945705",
        "lastName": "Oberbrunner",
        "phone": "13475422614",
        "postalCode": "15064-9386",
        "province": "CO"
    },
    "sign": null,
    "txnOrderMsg": {
        "accept": "*/*",
        "appId": "{{APPID}}",
        "colorDepth": "24",
        "contentLength": "65536",
        "javaEnabled": false,
        "language": "en-US",
        "products": [
            {
                "currency": "USD",
                "name": "mango",
                "num": "91",
                "price": "299.68",
                "type": "consequat eiusmod velit"
            },
            {
                "currency": "USD",
                "name": "currant",
                "num": "41",
                "price": "848.09",
                "type": "adipisicing"
            },
            {
                "currency": "USD",
                "name": "longan",
                "num": "9",
                "price": "679.80",
                "type": "amet deserunt commodo"
            }
        ],
        "returnUrl": "{{RETURN-URL}}",
        "notifyUrl": "{{WEBHOOK-ENDPOINT}}",
        "screenHeight": "780",
        "screenWidth": "1680",
        "timeZoneOffset": "-120",
        "transactionIp": "124.221.70.52",
        "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
    }
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://sandbox-acq.onerway.com/v1/txn/doTransaction' \
--header 'Content-Type: application/json' \
--data-raw '{
    "billingInformation": {
        "address": "3523 Clemens Lights",
        "city": "South Jameyberg",
        "country": "US",
        "email": "King72@hotmail.com",
        "firstName": "Shanon",
        "identityNumber": "44182215134",
        "lastName": "Hickle",
        "phone": "17802688617",
        "postalCode": "55855-6474",
        "province": "CO"
    },
    "merchantCustId": "CustId-HQ50-F6CX",
    "merchantNo": "YOUR-MERCHANT-NO",
    "merchantTxnId": "7775687d-03e6-4d8c-b562-496ee51cb185",
    "merchantTxnTime": "2025-03-14 14:25:54",
    "orderAmount": "516",
    "orderCurrency": "USD",
    "shippingInformation": {
        "address": "7275 Chanel Valleys",
        "city": "New Bridie",
        "country": "US",
        "email": "Nestor95@hotmail.com",
        "firstName": "Rosalinda",
        "identityNumber": "01278945705",
        "lastName": "Oberbrunner",
        "phone": "13475422614",
        "postalCode": "15064-9386",
        "province": "CO"
    },
    "sign": null,
    "txnOrderMsg": {
        "accept": "*/*",
        "appId": "YOUR-APPLICATION-ID",
        "colorDepth": "24",
        "contentLength": "65536",
        "javaEnabled": false,
        "language": "en-US",
        "products": [
            {
                "currency": "USD",
                "name": "mango",
                "num": "91",
                "price": "299.68",
                "type": "consequat eiusmod velit"
            },
            {
                "currency": "USD",
                "name": "currant",
                "num": "41",
                "price": "848.09",
                "type": "adipisicing"
            },
            {
                "currency": "USD",
                "name": "longan",
                "num": "9",
                "price": "679.80",
                "type": "amet deserunt commodo"
            }
        ],
        "returnUrl": "YOUR-RETURN-URL",
        "notifyUrl": "YOUR-WEBHOOK-ENDPOINT",
        "screenHeight": "780",
        "screenWidth": "1680",
        "timeZoneOffset": "-120",
        "transactionIp": "124.221.70.52",
        "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
    }
}'

Responses

🟢200OK
application/json
Body

Example
{"respCode":"20000","respMsg":"Success","data":{"transactionId":"1704031498271133696","responseTime":"2023-09-19 15:15:52","txnTime":"2023-09-19 15:15:43","txnTimeZone":"+08:00","orderAmount":"20.00","orderCurrency":"USD","txnAmount":null,"txnCurrency":null,"status":"R","redirectUrl":"https://open-sea-global.alipayplus.com/api/open/v1/ac/cashier/self/codevalue/checkout.htm?codeValue=281666040092qSof8XXwp5AH3z0cQz8v4IxD&loadMode=2","contractId":null,"tokenId":null,"eci":null,"periodValue":null,"codeForm":null,"presentContext":null,"redirectType":null,"sign":"ea85ec4db2aabf5edf6e2b96ae10514bf0c968bce2f22c5e6886e532e2143bc5"}}
Modified at 2025-03-14 06:25:56
Previous
Vietnam-NINE_PAY
Next
Vietnam-VIET_QR
Built with