Onerway Payment API
Onerway APIs
  1. Checkout
  • Onerway 商户 API 接入指南
  • Onerway Merchant API Testing
  • Payment APIs
    • Checkout
      • Card Checkout
        POST
      • Card Checkout - Subscribe
        POST
      • APMs Checkout
        POST
      • Single-Method APM Checkout
        POST
      • Card Checkout - Authorizaiton
        POST
    • 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
        • Vietnam-PAYME
        • Vietnam-VIET_QR
        • Vietnam-MOMO
        • Vietnam-ATM_CARD
      • 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. Checkout

APMs Checkout

Sandbox Env
https://sandbox-acq.onerway.com
Sandbox Env
https://sandbox-acq.onerway.com
POST
https://sandbox-acq.onerway.com
/txn/payment

请求参数

Body 参数application/json

示例

返回响应

🟢200OK
application/json
Body

请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://sandbox-acq.onerway.com/txn/payment' \
--header 'Content-Type: application/json' \
--data-raw '{
    "billingInformation": {
        "address": "83496 Springfield Road",
        "city": "New Milton",
        "country": "US",
        "email": "Dorian.Nikolaus26@hotmail.com",
        "firstName": "Fern",
        "identityNumber": "72215839163",
        "lastName": "Von",
        "phone": "18735764175",
        "postalCode": "74490",
        "province": "CO"
    },
    "merchantCustId": "CustId-K354-R5AX",
    "merchantNo": "800515",
    "merchantTxnId": "f7f9306e-85de-408b-806b-3a3e7ffb3703",
    "merchantTxnTime": "2025-04-22 13:57:16",
    "orderAmount": "6",
    "orderCurrency": "USD",
    "shippingInformation": {
        "address": "86406 Gloucester Road",
        "city": "South Douglaston",
        "country": "US",
        "email": "Gardner_Lueilwitz@yahoo.com",
        "firstName": "Geo",
        "identityNumber": "26044125871",
        "lastName": "Thiel",
        "phone": "19714267112",
        "postalCode": "89995-9234",
        "province": "CO"
    },
    "sign": null,
    "txnOrderMsg": {
        "accept": "*/*",
        "appId": "1968187301902553088",
        "colorDepth": "16",
        "contentLength": "0",
        "javaEnabled": true,
        "language": "en-US",
        "products": [
            {
                "currency": "USD",
                "name": "feijoa",
                "num": "77",
                "price": "842.79",
                "type": "nisi ex pariatur"
            },
            {
                "currency": "USD",
                "name": "loquat",
                "num": "31",
                "price": "726.35",
                "type": "ad"
            },
            {
                "currency": "USD",
                "name": "strawberry",
                "num": "99",
                "price": "819.79",
                "type": "ex consectetur incididunt deserunt mollit"
            }
        ],
        "returnUrl": "YOUR-RETURN-URL",
        "notifyUrl": "YOUR-WEBHOOK-ENDPOINT",
        "screenHeight": "1080",
        "screenWidth": "820",
        "timeZoneOffset": "-600",
        "transactionIp": "240.27.238.119",
        "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": "ALL",
    "subProductType": "DIRECT",
    "txnType": "SALE"
}'
响应示例响应示例
Success
{
    "respCode": "20000",
    "respMsg": "Success",
    "data": {
        "transactionId": "1710930229176258560",
        "merchantTxnId": "1654675447655",
        "merchantNo": "800209",
        "responseTime": "",
        "txnTime": "",
        "orderAmount": "35.00",
        "orderCurrency": "USD",
        "txnAmount": "",
        "txnCurrency": null,
        "txnTimeZone": null,
        "status": "U",
        "reason": null,
        "redirectUrl": "https://sandbox-v3-checkout.pacypay.com/checkout?key=4f698e88462d4eef8851dcd60edcd276",
        "sign": "20860d04d28cc55dcf950f86a86fa72587106d7004686016d07c44a568a5450a",
        "contractId": "",
        "tokenId": null,
        "eci": null,
        "transactionOrderNo": null,
        "periodValue": null,
        "lpmsType": null,
        "qrCode": null
    }
}
修改于 2025-04-22 05:57:18
上一页
Card Checkout - Subscribe
下一页
Single-Method APM Checkout
Built with