Onerway Payment API
Onerway APIs
  1. API
  • 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
        POST
      • Pre-Auth
        POST
      • Auth Reversal
        POST
      • Capture
        POST
      • Card Tokenization
        POST
      • Tokenized Payment
        POST
      • Subscription - Charge by Onerway
        POST
      • Subscription Initial Charge
        POST
      • Subscription Recurring Charge
        POST
      • Subscription Cancellation
        POST
      • Subscription Reactivation
        POST
      • Token Removal
        POST
      • GooglePay-Card
        POST
      • ApplePay-Card
        POST
      • Apple Pay Session
        POST
      • 可用支付方式查询 | Available Payment Methods Query
        POST
      • 检查Google Pay PAN_ONLY | Check Google Pay Pan_only
        POST
    • 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. API

Subscription Recurring Charge

开发中
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

示例

返回响应

🟢200Success
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 '{
    "merchantCustId": "6853d6faee226a602584abfe",
    "merchantNo": "800515",
    "merchantTxnId": "{{auto-generated-uuid}}",
    "merchantTxnTime": "2025-07-24 16:25:32",
    "orderAmount": "25",
    "orderCurrency": "USD",
    "sign": null,
    "txnOrderMsg": {
        "accept": "*/*",
        "appId": "1968187301902553088",
        "colorDepth": "32",
        "contentLength": "1024",
        "javaEnabled": true,
        "language": "en-US",
        "products": [
            {
                "currency": "USD",
                "name": "sultana",
                "num": "27",
                "price": "859.35",
                "type": "voluptate quis cupidatat qui"
            },
            {
                "currency": "USD",
                "name": "orange",
                "num": "82",
                "price": "252.49",
                "type": "proident id sit"
            }
        ],
        "returnUrl": "YOUR-RETURN-URL",
        "notifyUrl": "YOUR-WEBHOOK-ENDPOINT",
        "screenHeight": "667",
        "screenWidth": "2048",
        "timeZoneOffset": "-300",
        "transactionIp": "254.168.197.144",
        "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",
    "subscription": {
        "requestType": "1",
        "tokenId": "264462d28ad962fffb7d00690dca9c43353288e82a603751aa75313ce0e3db06",
        "contractId": "1963057100246880256",
        "merchantCustId":"6853d6faee226a602584abfe"
    }
}'
响应示例响应示例
{}
修改于 2025-09-03 01:58:04
上一页
Subscription Initial Charge
下一页
Subscription Cancellation
Built with