1. PaymentMethod
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
          • 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
  • API Explorer
    • API Rules
  • PaymentMethod
    • PaymentMethod
      POST
    • PaymentMethod
      PUT
    • PaymentMethod
      GET
    • PaymentMethod
      DELETE
  • FXRateInquiry
    • FXRateInquiry
      POST
    • FXRateInquiry
      GET
  • Payment
    • Payment
      POST
    • Payment
      GET
    • Payment
      PUT
  • Payout
    • Payout
      POST
    • Payout
      GET
  • Capture
    • Capture
      POST
    • Capture
      GET
  • Cancel
    • Cancel
      POST
    • Cancel
      GET
  • Refund
    • Refund
      POST
    • Refund
      GET
  • 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
  • HealthCheck
    • HealthCheck
  • ZPK
    • ZPK
  • 附录
    • Result Code
    • Appendix: Payment Method Variant
    • Appendix: Payment Brands
  • Coupon Write-off
    • Coupon Write-off
  • Coupon Reversal
    • Coupon Reversal
  1. PaymentMethod

PaymentMethod

PUT
/g2/v1/payment/mer/{sid}/paymentMethod

请求参数

Path 参数

Query 参数

Header 参数

Body 参数application/json

示例
{
    "action": {
        "type": "threeDSRedirect"
    },
    "paymentMethod": {
        "card": {
            "encryptedCardInfo": "string",
            "cardInfo": {
                "cardNumber": "string",
                "expiryDate": "stri",
                "cvc": "stri",
                "holderName": "string"
            },
            "tokenValidDays": "1~365",
            "vaultID": "string"
        },
        "e-wallet": {
            "vaultID": "string",
            "contractID": "string",
            "authCode": "string"
        },
        "googlePay": {
            "vaultID": "string"
        }
    },
    "authentication": {
        "type": "threeDSPage",
        "FIDO": {
            "eci": "st"
        },
        "threeDS": {
            "redirectData": {
                "cres": "string",
                "threeDSCompInd": "Y",
                "threeDSFinished": "Y"
            }
        }
    },
    "userInfo": {
        "reference": "string"
    },
    "metadata": "string"
}

返回响应

🟢200成功
application/json
Headers

Bodyapplication/json

示例
{
    "result": {
        "code": "string",
        "message": "string",
        "pspResponseCode": "string",
        "pspMessage": "string"
    },
    "action": {
        "type": "threeDSRedirect",
        "threeDSData": {
            "url": "string",
            "method": "GET",
            "parameter": {
                "creq": "string"
            }
        }
    },
    "paymentMethod": {
        "status": "Verifying",
        "failureCode": "string",
        "failureReason": "string",
        "merchantTransInfo": {
            "merchantTransID": "string",
            "merchantOrderReference": "string",
            "merchantTransTime": "2019-08-24T14:15:22.123Z"
        },
        "accountUpdateIndicator": "Y",
        "paymentAccountReference": "string",
        "card": {
            "first6No": "string",
            "last4No": "stri",
            "paymentBrand": "string",
            "fundingType": "credit",
            "holderName": "string",
            "issuingBank": "string",
            "issuingCountry": "str",
            "issuerCountry": "str",
            "isCommercial": true
        },
        "e-wallet": {
            "paymentBrand": "Alipay",
            "planID": "string",
            "contractID": "string",
            "subOpenID": "string"
        },
        "token": {
            "value": "string",
            "expiryDate": "2019-08-24T14:15:22.123Z",
            "userReference": "string",
            "vaultID": "string",
            "fingerprint": "string",
            "createTime": "2019-08-24T14:15:22.123Z",
            "updateTime": "2019-08-24T14:15:22.123Z",
            "status": "disabled",
            "first6No": "string",
            "last4No": "stri"
        },
        "recurringReference": "string"
    },
    "authentication": {
        "type": "threeDSPage",
        "threeDS": {
            "mpiData": {
                "status": "Y",
                "transStatusReason": "st",
                "cardholderInfo": "string",
                "cavv": "string",
                "eci": "st",
                "dsTransID": "string",
                "threeDSVersion": "string"
            },
            "isFrictionless": "Y"
        }
    },
    "metadata": "string"
}
上一页
PaymentMethod
下一页
PaymentMethod
Built with