1. Payment
Merchant Connect API
  • Integration Guide
    • EC Payment
      • Merchant API
        • Overview
        • Payment
        • Payment Methods
        • Response code
        • After Payment
          • Capture
          • Cancel
          • Refund
          • Cancel or Refund
          • Accept Notification
        • Features
          • Account Status Inquiry (ASI)
          • COF
          • Multi-Currency Transaction
          • Recurring
          • Smart Routing
          • Transaction Retry
          • Payout
          • Authentication
            • 3D Secure
            • FIDO Authentication
            • Authentication only
            • Authorization only
          • Tokenization
            • Gateway Tokenization
            • Create a gateway token
            • Network Tokenization
            • Pay with gateway token
            • Manage token
            • Network Token update notification
            • Card Based Network Token
    • In-store Payment
      • Merchant API (线下卡支付)
        • ZPK
          • ZPK
        • Payment
          • Payment
        • After Payment
          • Capture
          • Cancel
          • Refund
          • Cancel or Refund
          • Accept Notification
      • Merchant API(QR)
        • Payment
          • CPM
          • MPM
          • MPM static QR code
        • After Payment
          • Capture
          • Cancel
          • Refund
          • Cancel or Refund
          • Accept Notification
  • API Explorer
    • 下载 OpenAPI 规范文件
    • API Rules
    • PaymentMethod
      • PaymentMethod
      • PaymentMethod
      • PaymentMethod
      • PaymentMethod
    • FXRateInquiry
      • FXRateInquiry
      • FXRateInquiry
    • Payment
      • Payment
        POST
      • Payment
        GET
      • Payment
        PUT
    • Payout
      • Payout
      • Payout
    • Capture
      • Capture
      • Capture
    • Cancel
      • Cancel
      • Cancel
    • Refund
      • Refund
      • Refund
    • Cryptogram
      • Cryptogram
      • Cryptogram
    • CancelOrRefund
      • Cancel or Refund
      • Cancel or Refund
    • Notification
      • Notification for PaymentMethod
      • Notification for Payment
      • Notification for Capture
      • Notification for Cancel
      • Notification for Refund
      • Notification for DataSubmission
      • Notification for MPM Static QR Code
      • Notification for Token Status Update
      • Notification for Settlement
      • Notification for Reversal
      • Notification for Cryptogram
      • Notification for Payout
    • 附录
      • Product Code
      • Result Code
      • Appendix: Payment Method Variant
      • Appendix: Payment Brands
    • HealthCheck
      • HealthCheck
    • ZPK
      • ZPK
    • Coupon Write-off
      • Coupon Write-off
    • Coupon Reversal
      • Coupon Reversal
  • MerchandiseCredit
    • Merchandise Credit
      POST
    • Merchandise Credit
      GET
  • Notification
    • Notification for Merchandise Credit
      POST
  1. Payment

Payment

POST
/g2/v1/payment/mer/{sid}/payment

请求参数

Path 参数

Query 参数

Header 参数

Body 参数application/json

示例
{
    "allowAuthentication": false,
    "merchantTransInfo": {
        "merchantTransID": "T504111744336445912",
        "merchantTransTime": "2025-04-11T09:54:05+08:00"
    },
    "transAmount": {
        "currency": "HKD",
        "value": "1.00"
    },
    "captureAfterHours": "0",
    "paymentMethod": {
        "type": "card",
        "card": {
            "cardInfo": {
                "cardNumber": "2223001870064586",
                "expiryDate": "1226"
            }
        }
    },
    "transInitiator": {
        "platform": "WEB"
    },
    "metadata": "This is a metadata"
}

返回响应

🟢200成功
application/json
Headers

Bodyapplication/json

示例
{
    "metadata": "This is a metadata",
    "payment": {
        "billingAmount": {
            "currency": "USD",
            "value": "0.13"
        },
        "billingFXRate": {
            "value": "0.13"
        },
        "evoTransInfo": {
            "evoTransID": "pay_2504110954060001000018542864",
            "evoTransTime": "2025-04-11T01:54:06Z",
            "retrievalReferenceNum": "510109814719",
            "traceNum": "814719"
        },
        "merchantTransInfo": {
            "merchantTransID": "T504111744336445912",
            "merchantTransTime": "2025-04-11T09:54:05+08:00"
        },
        "pspTransInfo": {
            "authorizationCode": "677650",
            "pspTransID": "MDSCBIVRF0410  ",
            "pspTransTime": "2025-04-11T01:54:05Z",
            "retrievalReferenceNum": "510109814719"
        },
        "status": "Captured",
        "transAmount": {
            "currency": "HKD",
            "value": "1.00"
        }
    },
    "paymentMethod": {
        "card": {
            "first6No": "222300",
            "fundingType": "credit",
            "issuingCountry": "USA",
            "last4No": "4586",
            "paymentBrand": "Mastercard",
            "productID": "MDS"
        },
        "isNetworkToken": true,
        "networkToken": {
            "expiryDate": "0528",
            "first6No": "222300",
            "last4No": "3834",
            "paymentAccountReference": "50018Q5LHFGJZDRKN3TB2FW568FIB",
            "status": "enabled",
            "tokenID": "RqLvCH0tRTWVI9mbrqw0YQ000000000000US",
            "tokenReferenceID": "DM4MMC1US0000000a0c67b3d3eef4c46a3f9aeeb5b568daf",
            "tokenRequesterID": "50280598900"
        }
    },
    "pspData": {
        "merchantID": "111111111111111",
        "name": "Mastercard"
    },
    "result": {
        "code": "S0000",
        "message": "Success",
        "pspMessage": "Approved or completed successfully",
        "pspResponseCode": "00"
    }
}
上一页
FXRateInquiry
下一页
Payment
Built with