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
          • 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. Payment

Payment

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

请求参数

Path 参数

Query 参数

Header 参数

Body 参数application/json

示例
{
    "action": {
        "type": "threeDSRedirect"
    },
    "authentication": {
        "type": "threeDSPage",
        "FIDO": {},
        "threeDS": {
            "redirectData": {
                "cres": "string",
                "threeDSCompInd": "Y",
                "threeDSFinished": "Y"
            }
        }
    },
    "metadata": "string"
}

返回响应

🟢200成功
application/json
Headers

Bodyapplication/json

示例
{
    "result": {
        "code": "string",
        "message": "string",
        "pspResponseCode": "string",
        "pspMessage": "string"
    },
    "action": {
        "type": "string",
        "OTPData": {
            "message": "string"
        },
        "threeDSData": {
            "url": "string",
            "method": "string",
            "parameter": {},
            "creq": "string"
        }
    },
    "paymentMethod": {
        "paymentMethodVariant": "string",
        "isNetworkToken": true,
        "accountUpdateIndicator": "Y",
        "paymentAccountReference": "string",
        "card": {
            "first6No": "string",
            "last4No": "stri",
            "paymentBrand": "string",
            "fundingType": "credit",
            "holderName": "string",
            "issuingBank": "string",
            "issuingCountry": "str",
            "issuerCountry": "str",
            "isCommercial": true,
            "updatedCardInfo": "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": "string",
            "first6No": "string",
            "last4No": "stri"
        },
        "networkToken": {
            "status": "enabled",
            "supportDeviceBinding": true,
            "tokenID": "string",
            "first6No": "string",
            "last4No": "stri",
            "expiryDate": "stri",
            "paymentAccountReference": "string",
            "tokenReferenceID": "string",
            "tokenRequesterID": "string"
        },
        "recurringReference": "string"
    },
    "authentication": {
        "type": "threeDSPage",
        "FIDO": {
            "eci": "st"
        },
        "threeDS": {
            "mpiData": {
                "status": "Y",
                "transStatusReason": "st",
                "cardholderInfo": "string",
                "cavv": "string",
                "eci": "st",
                "dsTransID": "string",
                "threeDSVersion": "string"
            },
            "isFrictionless": "Y"
        }
    },
    "fxRateInquiry": {
        "status": "Success",
        "merchantTransInfo": {
            "merchantTransID": "string",
            "merchantOrderReference": "string",
            "merchantTransTime": "2019-08-24T14:15:22.123Z"
        },
        "evoTransInfo": {
            "evoTransID": "string",
            "evoTransTime": "2019-08-24T14:15:22.123Z"
        },
        "localAmount": {
            "currency": "str",
            "value": "string"
        },
        "transAmount": {
            "currency": "str",
            "value": "string"
        },
        "localToTransFXRate": {
            "value": "string",
            "baseCurrency": "str",
            "quoteCurrency": "str",
            "source": "Visa",
            "date": "string"
        }
    },
    "payment": {
        "status": "Verifying",
        "failureCode": "string",
        "failureReason": "string",
        "merchantTransInfo": {
            "merchantTransID": "string",
            "merchantOrderReference": "string",
            "merchantTransTime": "2019-08-24T14:15:22.123Z"
        },
        "evoTransInfo": {
            "evoTransID": "string",
            "evoTransTime": "2019-08-24T14:15:22.123Z",
            "traceNum": "string",
            "retrievalReferenceNum": "string"
        },
        "pspTransInfo": {
            "pspTransID": "string",
            "pspTransTime": "2019-08-24T14:15:22.123Z",
            "authorizationCode": "string",
            "cvcCheckResultRaw": "str",
            "cvcCheckResult": "s",
            "avsCheckResultRaw": "s",
            "avsCheckResult": "Y",
            "retrievalReferenceNum": "string"
        },
        "transAmount": {
            "currency": "str",
            "value": "string"
        },
        "localAmount": {
            "currency": "str",
            "value": "string"
        },
        "billingAmount": {
            "currency": "str",
            "value": "string"
        },
        "billingFXRate": {
            "value": "string",
            "baseCurrency": "str",
            "quoteCurrency": "stri"
        },
        "convertTransAmount": {
            "currency": "str",
            "value": "string"
        },
        "convertTransFXRate": {
            "value": "string",
            "baseCurrency": "str",
            "quoteCurrency": "str",
            "source": "string",
            "date": "string"
        }
    },
    "pspData": {
        "name": "Alipay",
        "token": "string",
        "payerReference": "string",
        "fingerprint": "string",
        "sponsorCode": "string",
        "networkTxReference": "string",
        "extra": "string"
    },
    "extendAuthorizationDateIndicator": "Y",
    "metadata": "string"
}
上一页
Payment
下一页
Payout
Built with