Onerway Payment API
Onerway APIs
  1. JS-SDK
  • 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
        POST
      • Subscription Payment Intent
        POST
      • Card Tokenization Intent
        POST
    • 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. JS-SDK

Card Tokenization Intent

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

请求参数

Body 参数application/json

示例

返回响应

🟢200OK
application/json
Body

请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://sandbox-acq.onerway.com/v1/sdkTxn/doTransaction' \
--header 'Content-Type: application/json' \
--data-raw '{
    "billingInformation": {
        "address": "8113 Kirlin Oval",
        "city": "Effertzstead",
        "country": "US",
        "email": "Deanna_Rau7@hotmail.com",
        "firstName": "Kadin",
        "identityNumber": "08598216906",
        "lastName": "Kris-Gerlach",
        "phone": "18829380147",
        "postalCode": "61269-8747",
        "province": "CO"
    },
    "merchantCustId": "CustId-JUWS-33EG",
    "merchantNo": "800515",
    "merchantTxnId": "d3e85f48-d32e-4463-a37c-674b5bf73b07",
    "merchantTxnTime": "2025-05-05 15:11:42",
    "orderAmount": "954",
    "orderCurrency": "USD",
    "shippingInformation": {
        "address": "17833 Schneider Ways",
        "city": "Fort Agustinworth",
        "country": "US",
        "email": "Fernando_Harris36@yahoo.com",
        "firstName": "Darian",
        "identityNumber": "88739539890",
        "lastName": "Steuber",
        "phone": "17814340062",
        "postalCode": "18389-2012",
        "province": "CO"
    },
    "sign": null,
    "txnOrderMsg": {
        "accept": "*/*",
        "appId": "1968187301902553088",
        "colorDepth": "24",
        "contentLength": "1024",
        "javaEnabled": true,
        "language": "en-US",
        "products": [
            {
                "currency": "USD",
                "name": "blackberry",
                "num": "42",
                "price": "259.99",
                "type": "dolor nulla amet ea commodo"
            },
            {
                "currency": "USD",
                "name": "starfruit",
                "num": "74",
                "price": "809.19",
                "type": "Excepteur culpa"
            },
            {
                "currency": "USD",
                "name": "mulberry",
                "num": "94",
                "price": "779.79",
                "type": "anim esse Ut elit Excepteur"
            }
        ],
        "returnUrl": "YOUR-RETURN-URL",
        "notifyUrl": "YOUR-WEBHOOK-ENDPOINT",
        "screenHeight": "740",
        "screenWidth": "1680",
        "timeZoneOffset": "540",
        "transactionIp": "170.236.170.252",
        "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": "TOKEN",
    "txnType": "SALE"
}'
响应示例响应示例
{}
修改于 2025-05-05 07:11:44
上一页
Subscription Payment Intent
下一页
Card
Built with