Onerway Payment API
Onerway APIs
  1. Mexico
  • 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
        • 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
          POST
        • Mexico-SPEI
          POST
        • Mexico-OXXO
          POST
        • Mexico-PaySafeCard
          POST
      • 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. Mexico

Mexico-PaySafeCard

测试中
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": "802 Valentina Springs",
        "city": "Kendale Lakes",
        "country": "US",
        "email": "Marianna_Gulgowski94@gmail.com",
        "firstName": "Solon",
        "identityNumber": "46383438762",
        "lastName": "Cruickshank",
        "phone": "17110444053",
        "postalCode": "82909-2067",
        "province": "CO"
    },
    "merchantCustId": "CustId-6T9C-9N42",
    "merchantNo": "800515",
    "merchantTxnId": "e2ad71c3-8692-4e7b-9ae6-f1d77806c825",
    "merchantTxnTime": "2025-03-14 14:39:08",
    "orderAmount": "666",
    "orderCurrency": "USD",
    "shippingInformation": {
        "address": "9380 Jay Trail",
        "city": "Amandabury",
        "country": "US",
        "email": "Adelia_Hills3@yahoo.com",
        "firstName": "Matteo",
        "identityNumber": "76765186170",
        "lastName": "Erdman",
        "phone": "17587166642",
        "postalCode": "01277",
        "province": "CO"
    },
    "sign": null,
    "txnOrderMsg": {
        "accept": "*/*",
        "appId": "1968187301902553088",
        "colorDepth": "32",
        "contentLength": "65536",
        "javaEnabled": false,
        "language": "en-US",
        "products": [
            {
                "currency": "USD",
                "name": "mulberry",
                "num": "46",
                "price": "953.09",
                "type": "quis deserunt ex elit"
            },
            {
                "currency": "USD",
                "name": "berry",
                "num": "18",
                "price": "264.49",
                "type": "consectetur"
            },
            {
                "currency": "USD",
                "name": "kiwi fruit",
                "num": "41",
                "price": "753.69",
                "type": "velit aliqua non"
            }
        ],
        "returnUrl": "YOUR-RETURN-URL",
        "notifyUrl": "YOUR-WEBHOOK-ENDPOINT",
        "screenHeight": "932",
        "screenWidth": "1920",
        "timeZoneOffset": "-300",
        "transactionIp": "191.188.158.157",
        "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:39:10
上一页
Mexico-OXXO
下一页
Chile-Visa/Master
Built with