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
      • Poland
        • Poland-BLIK
    • 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-VIET_QR

测试中
Sandbox Env
https://sandbox-acq.onerway.com
Sandbox Env
https://sandbox-acq.onerway.com
POST
https://sandbox-acq.onerway.com
/v1/txn/doTransaction

请求参数

Body 参数application/json

示例

返回响应

🟢200OK
application/json
Body

请求示例请求示例
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": "40664 Hermiston Avenue",
        "city": "New Tristianfurt",
        "country": "US",
        "email": "Paxton.Walsh50@yahoo.com",
        "firstName": "Adolf",
        "identityNumber": "10577459817",
        "lastName": "Rippin",
        "phone": "19097414911",
        "postalCode": "99379-2690",
        "province": "CO"
    },
    "merchantCustId": "CustId-1359-NT52",
    "merchantNo": "800515",
    "merchantTxnId": "39e0a808-491f-4103-9c9c-85955e6bd45e",
    "merchantTxnTime": "2025-03-14 14:26:08",
    "orderAmount": "23",
    "orderCurrency": "USD",
    "shippingInformation": {
        "address": "5031 Bednar Views",
        "city": "Lake Deonte",
        "country": "US",
        "email": "Flossie.Kling@hotmail.com",
        "firstName": "Lea",
        "identityNumber": "31444886961",
        "lastName": "Larkin",
        "phone": "18537830553",
        "postalCode": "77067",
        "province": "CO"
    },
    "sign": null,
    "txnOrderMsg": {
        "accept": "*/*",
        "appId": "1968187301902553088",
        "colorDepth": "32",
        "contentLength": "4096",
        "javaEnabled": false,
        "language": "en-US",
        "products": [
            {
                "currency": "USD",
                "name": "lime",
                "num": "42",
                "price": "368.30",
                "type": "qui consectetur elit mollit ut"
            },
            {
                "currency": "USD",
                "name": "currant",
                "num": "83",
                "price": "979.55",
                "type": "deserunt minim magna occaecat irure"
            },
            {
                "currency": "USD",
                "name": "feijoa",
                "num": "26",
                "price": "251.29",
                "type": "officia"
            }
        ],
        "returnUrl": "YOUR-RETURN-URL",
        "notifyUrl": "YOUR-WEBHOOK-ENDPOINT",
        "screenHeight": "1024",
        "screenWidth": "3840",
        "timeZoneOffset": "180",
        "transactionIp": "51.19.82.47",
        "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
    }
}'
响应示例响应示例
{"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"}}
修改于 2025-03-14 06:26:09
上一页
Vietnam-PAYME
下一页
Vietnam-MOMO
Built with