1. Payment
Gateway Connect API
  • 网关接入
    • 讯联数据网关接口接入指引
      • 安全要求及报文格式
        • 安全要求及报文格式
        • 消息签名
        • 卡信息加密
        • PIN加密
      • 线上支付场景
        • 授权
        • 授权完成
        • 再次完成
        • 绑卡
        • 退货
        • 无源退货
        • 撤销
        • 关单
        • 3DS认证
        • Network token 管理
        • 订阅性支付
        • DCC
      • 线下支付场景
        • 支付
        • 预授权
        • 预授权完成
        • 退货
        • 无源退货
        • 撤销
        • 冲正
        • DCC
        • 订阅性支付
      • 附录
        • 应答码
        • 常见问题
        • 万事达卡商户建议代码
    • Online API Specification
      • 下载 OpenAPI 规范文件
      • PaymentMethod
        • PaymentMethod
        • PaymentMethod
        • PaymentMethod
        • PaymentMethod
      • PaymentInstrument
        • PaymentInstrument
        • PaymentInstrument
        • PaymentInstrument
        • PaymentInstrument
      • Payment
        • Payment
          POST
        • Payment
          PUT
        • Payment
          GET
      • Cancel
        • Cancel
        • Cancel
      • Capture
        • Capture
        • Capture
      • Refund
        • Refund
        • Refund
      • MerchandiseCredit
        • MerchandiseCredit
        • MerchandiseCredit
      • CancelOrRefund
        • CancelOrRefund
        • CancelOrRefund
      • Cryptogram
        • Cryptogram
        • Cryptogram
      • MultipleCapture
        • MultipleCapture
        • MultipleCapture
      • StandaloneCapture
        • StandaloneCapture
        • StandaloneCapture
      • Recapture
        • Recapture
        • Recapture
      • AsynchronousNotification
        • PaymentMethod 异步通知
        • Payment 异步通知
        • Cancel 异步通知
        • Capture 异步通知
        • Refund 异步通知
        • MerchandiseCredit 异步通知
        • Cryptogram 异步通知
        • MultipleCapture 异步通知
        • StandaloneCapture 异步通知
        • Network Token 更新通知
        • Network Token 认证完成通知
        • Recapture 异步通知
        • PaymentInstrument 异步通知
      • HealthCheck
        • HealthCheck
      • TransactionHistoryInquiry
        • TransactionHistoryInquiry
      • FxRateInquiry
        • FX rate inquiry
        • FX rate inquiry
    • Offline API Specification
      • 下载 OpenAPI 规范文件
      • Payment
        • Payment
        • Payment
      • Cancel
        • Cancel
        • Cancel
      • Capture
        • Capture
        • Capture
      • Refund
        • Refund
        • Refund
      • Reversal
        • Reversal
      • MerchandiseCredit
        • Merchandise Credit
        • Merchandise Credit
      • FxRateInquiry
        • FX rate inquiry
        • FX rate inquiry
      • TipsAdjustment
        • Tips adjustment
        • Tips adjustment
      • StandaloneCapture
        • StandaloneCapture
        • StandaloneCapture
      • MultipleCapture
        • MultipleCapture
        • MultipleCapture
      • ZPK
        • ZPK
      • Notification
        • Payment 异步通知
        • Cancel 异步通知
        • Capture 异步通知
        • Refund 异步通知
        • MerchandiseCredit 异步通知
        • StandaloneCapture 异步通知
        • MultipleCapture 异步通知
  1. Payment

Payment

POST
/g2/v0/payment/acq/{aid}/evo.e-commerce.payment

请求参数

Path 参数

Header 参数

Body 参数application/json

示例
{
    "authentication": {
        "scaExemption": "lowValue",
        "authenticationOnly": true,
        "authenticationMethod": "CILAuth",
        "authenticationType": "threeDS",
        "returnUrl": "string",
        "threeDS": {
            "deviceType": "Web",
            "shopperIP": "string",
            "shopperEmail": "string",
            "cardholderAccountIdentifier": "string",
            "origin": "string",
            "threeDSRequestorChallengeInd": "01",
            "mpiData": {
                "cavv": "string",
                "eci": "st",
                "dsTransID": "string",
                "threeDSVersion": "2.2.0"
            }
        },
        "browserInfo": {
            "acceptHeader": "string",
            "colorDepth": "1",
            "javaEnabled": true,
            "javaScriptEnabled": true,
            "language": "en-GB",
            "screenHeight": "string",
            "screenWidth": "string",
            "timeZoneOffset": "-120",
            "userAgent": "string"
        },
        "accountInfo": {
            "accountAgeIndicator": "notApplicable",
            "accountChangeDate": "20170717",
            "accountChangeIndicator": "thisTransaction",
            "accountCreationDate": "20170717",
            "passwordChangeDate": "20170717",
            "passwordChangeDateIndicator": "notApplicable",
            "purchasesLast6Months": "stri",
            "addCardAttemptsDay": "str",
            "pastTransactionsDay": "str",
            "pastTransactionsYear": "str",
            "paymentAccountAge": "20170717",
            "paymentAccountIndicator": "notApplicable",
            "deliveryAddressUsageDate": "20170717",
            "deliveryAddressUsageIndicator": "thisTransaction",
            "shippingNameIndicator": true,
            "suspiciousActivity": true,
            "homePhone": {
                "countryCode": "str",
                "subscriberSections": "string"
            },
            "mobilePhone": {
                "countryCode": "str",
                "subscriberSections": "string"
            },
            "workPhone": {
                "countryCode": "str",
                "subscriberSections": "string"
            }
        },
        "deliveryAddress": {
            "addressLine1": "string",
            "addressLine2": "string",
            "addressLine3": "string",
            "city": "string",
            "stateOrProvince": "str",
            "country": "CHN",
            "postalCode": "string"
        },
        "merchantRiskIndicator": {
            "deliveryEmail": "electronicDelivery",
            "deliveryTimeframe": "electronicDelivery",
            "giftCardAmount": "123",
            "giftCardCount": "st",
            "giftCardCurrency": "HKD",
            "preOrderDate": "20170717",
            "preOrderPurchase": true,
            "reorderItems": true,
            "deliveryAddressIndicator": "shipToBillingAddress"
        },
        "billingAddress": {
            "addressLine1": "string",
            "addressLine2": "string",
            "addressLine3": "string",
            "city": "string",
            "stateOrProvince": "str",
            "country": "CHN",
            "postalCode": "string"
        }
    },
    "merchantTransInfo": {
        "merchantTransID": "string",
        "merchantOrderReference": "string",
        "merchantTransTime": "2017-07-17T13:42:40+01:00"
    },
    "origMerchantTransInfo": {
        "merchantTransID": "string"
    },
    "paymentMethod": {
        "type": "card",
        "recurringProcessingModel": "COF",
        "recurringReference": "string",
        "isSubsequentTxn": true,
        "isFirstCITTxn": true,
        "industryUsage": "string",
        "accountUpdateIndicator": "Y",
        "token": {
            "value": "string",
            "type": "gatewayToken",
            "paymentBrand": "Visa",
            "walletIdentifiers": "SamsungPay",
            "expiryDate": "stri",
            "holderName": "string",
            "tokenCryptogram": "string",
            "eci": "st"
        },
        "card": {
            "encryptedCardInfo": "string",
            "cardInfoEncryptMethod": "RSA",
            "cardInfo": {
                "cardNumber": "string",
                "expiryDate": "stri",
                "cvc": "stri",
                "holderName": "string"
            },
            "tokenize": true,
            "tokenValidDays": "str",
            "payerReference": "string"
        },
        "recurringRefPSPLinkID": "string"
    },
    "pspInfo": {
        "mcc": "stri",
        "sponsorCode": "string",
        "DXS": "str",
        "merchantID": "string",
        "merchantName": "string",
        "merchantTaxID": "string",
        "emailAddress": "string",
        "telephoneNumber": "string",
        "merchantURLAddress": "string",
        "street": "string",
        "city": "string",
        "postCode": "string",
        "nation": "str",
        "originNation": "str",
        "merchantVerificationValue": "string",
        "transactionCategoryCode": "s",
        "paymentFacilitator": "string",
        "paymentFacilitatorAddress": {
            "street": "string",
            "city": "string",
            "stateOrProvince": "str",
            "country": "str",
            "postalCode": "string"
        },
        "marketplaceIDorSalesOrgID": "string",
        "subMerchantID": "string",
        "feeProgramIndicator": "str",
        "stateOrProvince": "string",
        "foreignRetailerIndicator": "F"
    },
    "transAmount": {
        "currency": "CNY",
        "value": "string"
    },
    "surchargeFee": {
        "currency": "str",
        "value": "string"
    },
    "transInitiator": {
        "tokenCookie": "string",
        "platform": "WEB",
        "paymentScenario": "EC",
        "inStorePaymentScenario": "CPM",
        "spec": "string",
        "appVersion": "string",
        "deviceType": "Android",
        "deviceID": "string",
        "userCreateIp": "string",
        "tokenUserApplicationType": "string"
    },
    "tradeInfo": {
        "tradeType": "Hotel",
        "purposeOfPayment": "string",
        "hotelName": "string",
        "checkInTime": "2006-01-02T15:04:05+07:00",
        "checkOutTime": "2019-08-24T14:15:22.123Z",
        "goodsName": "string",
        "goodsDescription": "string",
        "totalQuantity": 10,
        "airline": {
            "ticketNumber": "string",
            "ticketIssueDate": "string",
            "issuingCarrierCode": "st",
            "customerCode": "string",
            "legs": [
                {
                    "departureDate": "string",
                    "departureAirportCode": "str",
                    "destinationAirportCode": "str",
                    "carrierCode": "st",
                    "flightNumber": "strin",
                    "serviceClassCode": "F"
                }
            ],
            "passenger": {
                "firstName": "string",
                "lastName": "string"
            }
        }
    },
    "recipientInfo": {
        "name": {
            "firstName": "string",
            "middleName": "string",
            "lastName": "string"
        },
        "address": {
            "street": "string",
            "city": "string",
            "stateOrProvince": "str",
            "country": "str"
        },
        "accountNumber": "string",
        "accountType": "Other"
    },
    "userInfo": {
        "name": {
            "firstName": "string",
            "middleName": "string",
            "lastName": "string"
        },
        "address": {
            "street": "string",
            "city": "string",
            "stateOrProvince": "str",
            "country": "str"
        },
        "dateOfBirth": "stringst"
    },
    "instalment": {
        "name": "Visa",
        "terms": "12",
        "planID": "string"
    },
    "enhanceMonitoring": true,
    "allowAvsCheck": true,
    "captureAfterHours": "str",
    "extendAuthorizationDateIndicator": "Y",
    "metadata": "string",
    "webhook": "string",
    "allowAniCheck": true
}

返回响应

🟢200成功
application/json
Headers

Bodyapplication/json

示例
{
    "result": {
        "code": "string",
        "message": "string",
        "pspResponseCode": "string",
        "pspMessage": "string",
        "action": "IdentifyShopper"
    },
    "authentication": {
        "authenticationType": "threeDS",
        "threeDS": {
            "redirectUrl": "string",
            "redirectData": {
                "method": "string",
                "threeDSMethodData": "string",
                "creq": "string"
            },
            "mpiData": {
                "status": "Y",
                "transStatusReason": "st",
                "transStatusReasonDescription": "string",
                "cavv": "string",
                "eci": "st",
                "dsTransID": "string",
                "threeDSVersion": "2.2.0",
                "cardholderInfo": "string"
            },
            "isFrictionless": "Y"
        }
    },
    "payment": {
        "status": "Verifying",
        "ASICancelStatus": "Success",
        "failureCode": "string",
        "failureReason": "string",
        "pspFailureCode": "string",
        "pspFailureReason": "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",
            "merchantAdviceCode": "01",
            "cvcCheckResultRaw": "str",
            "cvcCheckResult": "M",
            "avsCheckResultRaw": "Y",
            "avsCheckResult": "string",
            "pspTransInfo": {
                "aniCheckRecipientResultRaw": "Y/01",
                "aniCheckRecipientResult": "string",
                "aniCheckSenderResultRaw": "A/01",
                "aniCheckSenderResult": "string"
            }
        },
        "transAmount": {
            "currency": "str",
            "value": "string"
        },
        "surchargeFee": {
            "currency": "str",
            "value": "string"
        },
        "billingAmount": {
            "currency": "str",
            "value": "string"
        },
        "billingFXRate": {
            "value": "string",
            "baseCurrency": "str",
            "quoteCurrency": "str",
            "source": "string",
            "date": "string",
            "markupCoefficient": "string"
        }
    },
    "paymentMethod": {
        "type": "token",
        "accountUpdateIndicator": "Y",
        "paymentMethodVariant": "Recurring",
        "paymentAccountReference": "string",
        "token": {
            "value": "string",
            "fingerprint": "string",
            "createTime": "2019-08-24T14:15:22.123Z",
            "updateTime": "2019-08-24T14:15:22.123Z",
            "status": "enabled"
        },
        "card": {
            "first6No": "string",
            "last4No": "stri",
            "paymentBrand": "string",
            "fundingType": "credit",
            "holderName": "string",
            "issuingBank": "string",
            "issuingCountry": "str",
            "issuerCountry": "str",
            "isCommercial": true,
            "updatedCardInfo": "string",
            "cardInfoEncryptMethod": "RSA",
            "creditFlagOrig": "01"
        },
        "networkToken": {
            "tokenRequesterID": "string"
        },
        "recurringReference": "string"
    },
    "pspData": {
        "name": "string",
        "sponsorCode": "string",
        "extra": "string"
    },
    "metadata": "string",
    "extendAuthorizationDateIndicator": "Y",
    "FXRateInquiry": {
        "status": "string",
        "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"
        },
        "transAmount": {
            "currency": "str",
            "value": "string"
        },
        "DCCBillingAmount": {
            "currency": "str",
            "value": "string"
        },
        "DCCBillingFXRate": {
            "markup": "string",
            "value": "string",
            "baseCurrency": "str",
            "quoteCurrency": "str",
            "source": "string",
            "date": "string",
            "markupCoefficient": "string"
        }
    }
}
上一页
PaymentInstrument
下一页
Payment
Built with