接受支付
若要接受支付,您必须首先创建一个
授权支付
如果想在您的客户账户中预留资金,则可以向我们发送授权请求。
POST
您的授权请求至在payments:authorize
授权示例请求
POST https://try.access.worldpay.com/payments/authorizations
以下请求包含成功的 授权请求所需的所有必需字段。完整请求架构可在我们的
单击下表以查看全部支持的 paymentInstrument
参数的所有必需字段。
授权请求正文:
{
"transactionReference": "Memory265-13/08/1876",
"merchant": {
"entity": "MindPalaceLtd"
},
"instruction": {
"narrative": {
"line1": "Mind Palace"
},
"value": {
"currency": "GBP",
"amount": 250
},
"paymentInstrument": {
"type": "card/plain",
"cardNumber": "4444333322221111",
"cardExpiryDate": {
"month": 5,
"year": 2035
}
}
}
}
{
"transactionReference": "Memory265-13/08/1876",
"merchant": {
"entity": "MindPalaceLtd"
},
"instruction": {
"narrative": {
"line1": "Mind Palace Ltd"
},
"value": {
"currency": "GBP",
"amount": 250
},
"paymentInstrument": {
"type": "card/token",
"href": "https://try.access.worldpay.com/tokens/{}"
}
}
}
{
"transactionReference": "Memory265-13/08/1876",
"merchant": {
"entity": "MindPalaceLtd"
},
"instruction": {
"narrative": {
"line1": "Mind Palace Ltd"
},
"value": {
"currency": "GBP",
"amount": 250
},
"paymentInstrument": {
"type": "card/wallet+applepay",
"walletToken": "{
\"version\": \"EC_v1\",
\"data\": \"kdHd..GQ==\",
\"signature\": \"MIAGCSqGSIb3DQEH...AAA\",
\"header\": {
\"transactionId\": \"d3b28af..f8\",
\"ephemeralPublicKey\": \"MFkwE..Q==\",
\"publicKeyHash\": \"dxCK..6o=\"
}
}"
}
}
}
{
"transactionReference": "Memory265-13/08/1876",
"merchant": {
"entity": "MindPalaceLtd"
},
"instruction": {
"narrative": {
"line1": "Mind Palace Ltd"
},
"value": {
"currency": "GBP",
"amount": 250
},
"paymentInstrument": {
"type": "card/wallet+googlepay",
"walletToken": "{\"protocolVersion\":\"ECv2\",\"signature\":\"MEQCIH6Q4OwQ0jAceFEkGF0JID6sJNXxOEi4r+mA7biRxqBQAiAondqoUpU/bdsrAOpZIsrHQS9nwiiNwOrr24RyPeHA0Q\\u003d\\u003d\",\"intermediateSigningKey\":{\"signedKey\": \"{\\\"keyExpiration\\\":\\\"1542323393147\\\",\\\"keyValue\\\":\\\"MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE/1+3HBVSbdv+j7NaArdgMyoSAM43yRydzqdg1TxodSzA96Dj4Mc1EiKroxxunavVIvdxGnJeFViTzFvzFRxyCw\\\\u003d\\\\u003d\\\"}\",\"signatures\": [\"MEYCIQCO2EIi48s8VTH+ilMEpoXLFfkxAwHjfPSCVED/QDSHmQIhALLJmrUlNAY8hDQRV/y1iKZGsWpeNmIP+z+tCQHQxP0v\"]},\"signedMessage\":\"{\\\"tag\\\":\\\"jpGz1F1Bcoi/fCNxI9n7Qrsw7i7KHrGtTf3NrRclt+U\\\\u003d\\\",\\\"ephemeralPublicKey\\\":\\\"BJatyFvFPPD21l8/uLP46Ta1hsKHndf8Z+tAgk+DEPQgYTkhHy19cF3h/bXs0tWTmZtnNm+vlVrKbRU9K8+7cZs\\\\u003d\\\",\\\"encryptedMessage\\\":\\\"mKOoXwi8OavZ\\\"}\"}"
}
}
}
授权请求参数的描述
参数 | 必需 | 描述 |
---|---|---|
transactionReference | 由您生成的独特参考号,用于在支付的整个生命周期中对其进行识别。请参见 | |
merchant | 包含有关商户信息的对象。 | |
merchant.entity | 确定您支付的方向,以协助开单、报告和对账。这对于身份验证和查询为必需。 请联系您的实施经理了解更多详情。 | |
instruction | 包含与支付相关的所有信息的对象。 | |
instruction.narrative | 出现在您的客户对账单上的文本。用于识别商户。 请参见 | |
narrative.line1 | 出现在您客户的对账单上的叙述文字的第一行(最多 24 个字符。如果不支持某个字符,则以空格代替)。 请参见 line1 格式 | |
instruction.value | 包含有关支付值信息的对象。 | |
value.currency | 三位数货币代码。 请参见 | |
instruction.value | 包含有关支付值信息的对象。 | |
value.amount | 支付金额。这是一个包含小数位的整数,e.g.,如果小数位是二,则 250 就表示 2.50.您可以在我们的 | |
instruction.paymentInstrument | 包含支付类型和详情的对象。 若将 "Token" 用作 paymentInstrument ,则您必须首先 | |
paymentInstrument.cardExpiryDate | 包含您的客户卡过期日期的对象。 对所有 "type": "card/plain" 请求为必需。 | |
paymentInstrument.cardNumber | 包含您的客户卡号的对象。对 "type": "card/plain" 请求为必需。 |
3DS
3DS 授权请求参数描述
若要获得 customer
身份验证对象,您必须使用我们的
{
"transactionReference": "Memory265-13/08/1876",
"merchant": {
"entity": "MindPalaceLtd"
},
"instruction": {
"narrative": {
"line1": "Mind Palace Ltd"
},
"value": {
"currency": "GBP",
"amount": 250
},
"paymentInstrument": {
"type": "card/plain",
"cardNumber": "4444333322221111",
"cardExpiryDate": {
"month": 5,
"year": 2035
}
}
},
"customer": {
"authentication": {
"version": "1.0.2",
"type": "3DS",
"eci": "05",
"authenticationValue": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTA=",
"transactionId": "z9UKb06xLziZMOXBEmWSVA1kwG0="
}
}
}
{
"transactionReference": "Memory265-13/08/1876",
"merchant": {
"entity": "MindPalaceLtd"
},
"instruction": {
"narrative": {
"line1": "trading name"
},
"value": {
"currency": "GBP",
"amount": 250
},
"paymentInstrument": {
"type": "card/plain",
"cardNumber": "4444333322221111",
"cardExpiryDate": {
"month": 5,
"year": 2035
}
}
},
"customer": {
"authentication": {
"version": "2.1.0",
"type": "3DS",
"eci": "05",
"authenticationValue": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTA=",
"transactionId": "c5b808e7-1de1-4069-a17b-f70d3b3b1645"
}
}
}
{
"transactionReference": "Memory265-13/08/1876",
"merchant": {
"entity": "MindPalaceLtd"
},
"instruction": {
"narrative": {
"line1": "Mind Palace Ltd"
},
"value": {
"currency": "GBP",
"amount": 250
},
"paymentInstrument": {
"type": "card/token",
"href": "https://try.access.worldpay.com/tokens/{}"
}
},
"customer": {
"authentication": {
"version": "1.0.2",
"type": "3DS",
"eci": "05",
"authenticationValue": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTA=",
"transactionId": "z9UKb06xLziZMOXBEmWSVA1kwG0="
}
}
}
{
"transactionReference": "Memory265-13/08/1876",
"merchant": {
"entity": "MindPalaceLtd"
},
"instruction": {
"narrative": {
"line1": "Mind Palace Ltd"
},
"value": {
"currency": "GBP",
"amount": 250
},
"paymentInstrument": {
"type": "card/token",
"href": "https://try.access.worldpay.com/tokens/{}"
}
},
"customer": {
"authentication": {
"version": "2.1.0",
"type": "3DS",
"eci": "05",
"authenticationValue": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTA=",
"transactionId": "c5b808e7-1de1-4069-a17b-f70d3b3b1645"
}
}
}
您的 3DS 授权请求中的参数描述
参数 | 必需 | 描述 |
---|---|---|
customer | 包含您的客户验证结果的对象。有关更多详情,请参见 | |
authentication.type | 3DS | |
authentication.version | 用于处理交易的 3DS 版本。 对于 3DS1 - 1.0.2 对于 3DS2 - 2.1.0 或 2.2.0 注释:对于授权中的 Mastercard 身份校验交易是必需的。 | |
authentication.eci | 电子商务指标 (ECI)。 表示
| |
authentication.authenticationValue | 是必需的 - 如果 authentication.eci 值为 01、02、05 或 06。提供 3DS 验证结果证据的密码值。
authentication.authenticationValue 必须最大为 28 位,并且必须采用 base64 编码。 | |
authentication.transactionId | 是必需的 - 如果 authentication.eci 值为 01、02、05 或 06。由发行机构生成的独特身份验证交易识别码。 对于版本 3DS1: transactionId 为 base64 编码且长度为 28 位数。对于版本 3DS2: transactionId 符合 RFC 4122 UUID 标准且长度为 36 个字符。 |
身份验证请求中的可选字段
以下请求包含成功的授权请求所需的所有必需和可选字段。完整请求架构也可在我们的
完整授权请求架构
完整授权请求正文:
{
"transactionReference": "Memory265-13/08/1876",
"merchant": {
"entity": "MindPalaceLtd",
"mcc": "1234",
"paymentFacilitator": {
"pfId": "12345",
"isoId": "12345",
"subMerchant": {
"name": "John",
"merchantId": "12345",
"postalCode": "SW1 1AA",
"street": "Regent Street",
"city": "London",
"state": "WSM",
"countryCode": "826",
"taxId": "ABC-123456789",
"email": "test@email.com",
"telephone": "+447987 654321"
}
}
},
"channel": "moto",
"instruction": {
"debtRepayment": true,
"narrative": {
"line1": "Mind Palace Ltd",
"line2": "Memory265-13/08/1876"
},
"value": {
"currency": "GBP",
"amount": 250
},
"paymentInstrument": {
"cvc": "123",
"billingAddress": {
"address1": "221B Baker Street",
"address2": "Marylebone",
"address3": "Westminster",
"postalCode": "NW1 6XE",
"city": "London",
"state": "Greater London",
"countryCode": "GB"
},
"type": "card/plain",
"cardHolderName": "Sherlock Holmes",
"cardNumber": "4444333322221111",
"cardExpiryDate": {
"month": 5,
"year": 2035
}
}
},
"customer": {
"riskProfile": "https://try.access.worldpay.com/riskProfile/ewogICJ2IiA6IDEsC"
}
}
{
"transactionReference": "Memory265-13/08/1876",
"merchant": {
"entity": "MindPalaceLtd",
"mcc": "1000",
"paymentFacilitator": {
"pfId": "12345",
"isoId": "12345",
"subMerchant": {
"name": "John",
"merchantId": "12345",
"postalCode": "SW1 1AA",
"street": "Regent Street",
"city": "London",
"state": "WSM",
"countryCode": "826",
"taxId": "ABC-123456789",
"email": "test@email.com",
"telephone": "+447987 654321"
}
}
},
"channel": "moto",
"instruction": {
"debtRepayment": true,
"narrative": {
"line1": "Mind Palace Ltd",
"line2": "Memory265-13/08/1876"
},
"value": {
"currency": "GBP",
"amount": 250
},
"paymentInstrument": {
"type": "card/token",
"href": "https://try.access.worldpay.com/tokens/{}",
"cvc": "898"
}
},
"customer": {
"riskProfile": "https://try.access.worldpay.com/riskProfile/ewogICJ2IiA6IDEsC"
}
}
{
"transactionReference": "Memory265-13/08/1876",
"merchant": {
"entity": "MindPalaceLtd",
"mcc": "1234",
"paymentFacilitator": {
"pfId": "12345",
"isoId": "12345",
"subMerchant": {
"name": "John",
"merchantId": "12345",
"postalCode": "SW1 1AA",
"street": "Regent Street",
"city": "London",
"state": "WSM",
"countryCode": "826",
"taxId": "ABC-123456789",
"email": "test@email.com",
"telephone": "+447987 654321"
}
}
},
"instruction": {
"debtRepayment": true,
"narrative": {
"line1": "Mind Palace Ltd",
"line2": "Memory265-13/08/1876"
},
"value": {
"currency": "GBP",
"amount": 250
},
"paymentInstrument": {
"cvc": "123",
"billingAddress": {
"address1": "221B Baker Street",
"address2": "Marylebone",
"address3": "Westminster",
"postalCode": "NW1 6XE",
"city": "London",
"state": "Greater London",
"countryCode": "GB"
},
"type": "card/plain",
"cardHolderName": "Sherlock Holmes",
"cardNumber": "4444333322221111",
"cardExpiryDate": {
"month": 5,
"year": 2035
}
}
},
"customer": {
"riskProfile": "https://try.access.worldpay.com/riskProfile/ewogICJ2IiA6IDEsC",
"authentication": {
"version": "1.0.2",
"type": "3DS",
"eci": "05",
"authenticationValue": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTA=",
"transactionId": "z9UKb06xLziZMOXBEmWSVA1kwG0="
}
}
}
{
"transactionReference": "unique-transactionReference",
"merchant": {
"entity": "default",
"mcc": "1234",
"paymentFacilitator": {
"pfId": "12345",
"isoId": "12345",
"subMerchant": {
"name": "John",
"merchantId": "12345",
"postalCode": "SW1 1AA",
"street": "Regent Street",
"city": "London",
"state": "WSM",
"countryCode": "826",
"taxId": "ABC-123456789",
"email": "test@email.com",
"telephone": "+447987 654321"
}
}
},
"instruction": {
"debtRepayment": true,
"narrative": {
"line1": "Mind Palace Ltd",
"line2": "Memory265-13/08/1876"
},
"value": {
"currency": "GBP",
"amount": 250
},
"paymentInstrument": {
"cvc": "123",
"billingAddress": {
"address1": "221B Baker Street",
"address2": "Marylebone",
"address3": "Westminster",
"postalCode": "NW1 6XE",
"city": "London",
"state": "Greater London",
"countryCode": "GB"
},
"type": "card/plain",
"cardHolderName": "Sherlock Holmes",
"cardNumber": "4444333322221111",
"cardExpiryDate": {
"month": 5,
"year": 2035
}
}
},
"customer": {
"riskProfile": "https://try.access.worldpay.com/riskProfile/ewogICJ2IiA6IDEsC",
"authentication": {
"version": "2.1.0",
"type": "3DS",
"eci": "05",
"authenticationValue": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTA=",
"transactionId": "683001f5-3805-423a-b580-638e4b2093b"
}
}
}
{
"transactionReference": "Memory265-13/08/1876",
"merchant": {
"entity": "MindPalaceLtd",
"mcc": "1000",
"paymentFacilitator": {
"pfId": "12345",
"isoId": "12345",
"subMerchant": {
"name": "John",
"merchantId": "12345",
"postalCode": "SW1 1AA",
"street": "Regent Street",
"city": "London",
"state": "WSM",
"countryCode": "826",
"taxId": "ABC-123456789",
"email": "test@email.com",
"telephone": "+447987 654321"
}
}
},
"instruction": {
"debtRepayment": true,
"narrative": {
"line1": "Mind Palace Ltc",
"line2": "Memory265-13/08/1876"
},
"value": {
"currency": "GBP",
"amount": 250
},
"paymentInstrument": {
"type": "card/token",
"href": "https://try.access.worldpay.com/tokens/{}",
"cvc": "898"
}
},
"customer": {
"riskProfile": "https://try.access.worldpay.com/riskProfile/ewogICJ2IiA6IDEsC",
"authentication": {
"version": "1.0.2",
"type": "3DS",
"eci": "05",
"authenticationValue": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTA=",
"transactionId": "z9UKb06xLziZMOXBEmWSVA1kwG0="
}
}
}
{
"transactionReference": "Memory265-13/08/1876",
"merchant": {
"entity": "MindPalaceLtd",
"mcc": "1000",
"paymentFacilitator": {
"pfId": "12345",
"isoId": "12345",
"subMerchant": {
"name": "John",
"merchantId": "12345",
"postalCode": "SW1 1AA",
"street": "Regent Street",
"city": "London",
"state": "WSM",
"countryCode": "826",
"taxId": "ABC-123456789",
"email": "test@email.com",
"telephone": "+447987 654321"
}
}
},
"instruction": {
"debtRepayment": true,
"narrative": {
"line1": "Mind Palace Ltd",
"line2": "Memory265-13/08/1876"
},
"value": {
"currency": "GBP",
"amount": 250
},
"paymentInstrument": {
"type": "card/token",
"href": "https://try.access.worldpay.com/tokens/{}",
"cvc": "898"
}
},
"customer": {
"riskProfile": "https://try.access.worldpay.com/riskProfile/ewogICJ2IiA6IDEsC",
"authentication": {
"version": "2.1.0",
"type": "3DS",
"eci": "05",
"authenticationValue": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTA=",
"transactionId": "c5b808e7-1de1-4069-a17b-f70d3b3b1645"
}
}
}
{
"transactionReference": "Memory265-13/08/1876",
"merchant": {
"entity": "MindPalaceLtd"
},
"instruction": {
"narrative": {
"line1": "Mind Palace Ltd"
},
"value": {
"currency": "GBP",
"amount": 250
},
"paymentInstrument": {
"type": "card/wallet+applepay",
"walletToken": "{\"version\": \"EC_v1\",\"data\": \"kdHd..GQ==\",\"signature\": \"MIAGCSqGSIb3DQEH...AAA\",\"header\": {\"transactionId\": \"d3b28af..f8\",\"ephemeralPublicKey\": \"MFkwE..Q==\",\"publicKeyHash\": \"dxCK..6o=\"
}
}",
"billingAddress": {
"address1": "221B Baker Street",
"address2": "Marylebone",
"address3": "Westminster",
"postalCode": "NW1 6XE",
"city": "London",
"state": "Greater London",
"countryCode": "GB"
}
}
}
}
{
"transactionReference": "Memory265-13/08/1876",
"merchant": {
"entity": "MindPalaceLtd"
},
"instruction": {
"narrative": {
"line1": "Mind Palace Ltd"
},
"value": {
"currency": "GBP",
"amount": 250
},
"paymentInstrument": {
"type": "card/wallet+googlepay",
"walletToken": "{
\"version\": \"EC_v1\",
\"data\": \"kdHd..GQ==\",
\"signature\": \"MIAGCSqGSIb3DQEH...AAA\",
\"header\": {
\"transactionId\": \"d3b28af..f8\",
\"ephemeralPublicKey\": \"MFkwE..Q==\",
\"publicKeyHash\": \"dxCK..6o=\"
}
}",
"billingAddress": {
"address1": "221B Baker Street",
"address2": "Marylebone",
"address3": "Westminster",
"postalCode": "NW1 6XE",
"city": "London",
"state": "Greater London",
"countryCode": "GB"
}
}
}
}
附加参数描述
您的完整授权请求中的附加参数描述。
参数 | 必需 | 描述 |
---|---|---|
narrative.line2 | 有关支付的其他详情,e.g.订单号、电话号码。 | |
instruction.debtRepayment | DRI 是为偿还债务而标记某项支付的标志。可能的值:
| |
payoutInstrument.cardHolderName | 包含您客户卡名称的对象。 这不是必需字段,但建议您提供相关信息以提高授权率。如未发送,则默认值为 "Not Supplied"(未提供)。 | |
paymentInstrument.billingAddress | 包含账单邮寄地址信息的对象。如果已包括,则您必须至少
card/plain 、card/wallet+applepay 或 card/wallet+googlepay 支付工具提供。我们的 API 会检查所提交的 AVS,以核实其是否与发卡银行注册的地址相符。如果所提供的地址与注册的地址不符,则意味着该支付存在其他风险。 | |
merchant.mcc | 您可以将商户类别代码 (mcc ) 应用于单个请求。如果在mcc 。如果此功能已启用但未提供,则 merchant.mcc 会默认为已配置的值。如需更多信息,请联系您的 | |
paymentInstrument.cvc | CVC 是卡背面上的一组 3 或 4 个数字的独特号码。我们的 API 会检查所提供的 CVC 是否与发卡银行留存的 CVC 匹配。 | |
merchant.paymentFacilitator | 包含您的支付服务商信息的对象。如果为必需,则您必须发送:
| |
customer.riskProfile | 用于在支付请求中应用 |
请查阅我们的
响应
最佳实践:Access Worldpay 在服务响应的头文件中返回WP-CorrelationId
。我们强烈建议您将此记录下来。我们使用WP-CorrelationId
检查单个服务请求。
成功支付
您会接收到:
- HTTP 代码
201
"outcome": "authorized"
- 风险因素(仅在发卡机构发现冲突时才返回)
- 豁免结果和原因(仅在您提供了风险预测时)
- 发卡机构授权代码
取消 、结算 、部分结算 或跟踪支付事件 的链接paymentInstrument
(仅用于移动钱包支付)
已拒绝的支付
您会接收到:
- HTTP 代码
201
"outcome": "refused"
拒绝代码 - 为拒绝提供更多上下文的
description
- 风险因素(仅在发卡机构发现冲突时才返回)
- 豁免结果和原因(仅在您提供了风险预测时)
paymentInstrument
(仅用于移动钱包支付)
示例响应
{
"outcome": "authorized",
"riskFactors": [{
"risk": "not_matched",
"type": "cvc"
},
{
"risk": "not_checked",
"detail": "postcode",
"type": "avs"
},
{
"risk": "not_matched",
"detail": "address",
"type": "avs"
}
],
"exemption": {
"result": "honored",
"reason": "issuerHonored"
},
"issuer": {
"authorizationCode": "0"
},
"_links": {
"payments:cancel": {
"href": "https://try.access.worldpay.com/payments/authorizations/cancellations/eyJrIjoiazNhYjYzMiJ9"
},
"payments:settle": {
"href": "https://try.access.worldpay.com/payments/settlements/full/eyJrIjoiazNhYjYzMiJ9"
},
"payments:partialSettle": {
"href": "https://try.access.worldpay.com/payments/settlements/partials/eyJrIjoiazNhYjYzMiJ9"
},
"payments:events": {
"href": "https://try.access.worldpay.com/payments/events/eyJrIjoiazNhYjYzMiJ9"
},
"curies": [{
"name": "payments",
"href": "https://try.access.worldpay.com/rels/payments/{rel}",
"templated": true
}]
}
}
{
"outcome": "authorized",
"riskFactors": [{
"risk": "not_checked",
"detail": "postcode",
"type": "avs"
},
{
"risk": "not_matched",
"detail": "address",
"type": "avs"
}],
"paymentInstrument": {
"type": "card/network+masked",
"card": {
"number": {
"bin": "444433",
"last4Digits": "1111"
},
"countryCode": "GB",
"expiryDate": {
"month": 1,
"year": 2020
},
"brand": "visa",
"fundingType": "debit",
"issuer": {
"name": "VALID_ISSUER"
},
"paymentAccountReference": "somePAR"
}
},
"_links": {
"payments:cancel": {
"href": "https://try.access.worldpay.com/payments/authorizations/cancellations/eyJrIjoiazNhYjYzMiJ9"
},
"payments:settle": {
"href": "https://try.access.worldpay.com/payments/settlements/full/eyJrIjoiazNhYjYzMiJ9"
},
"payments:partialSettle": {
"href": "https://try.access.worldpay.com/payments/settlements/partials/eyJrIjoiazNhYjYzMiJ9"
},
"payments:events": {
"href": "https://try.access.worldpay.com/payments/events/eyJrIjoiazNhYjYzMiJ9"
},
"curies": [{
"name": "payments",
"href": "https://try.access.worldpay.com/rels/payments/{rel}",
"templated": true
}]
}
}
{
"outcome": "refused",
"description": "CARD EXPIRED",
"code": "33",
"refusalAdvice": {
"code": "01"
},
"riskFactors": [{
"risk": "not_supplied",
"type": "cvc"
},
{
"risk": "not_checked",
"detail": "address",
"type": "avs"
},
{
"risk": "not_checked",
"detail": "postcode",
"type": "avs"
},
{
"risk": "verificationFailed",
"type": "riskProfile"
}
]
}
{
"outcome": "refused",
"description": "Do not honour",
"code": "5",
"refusalAdvice": {
"code": "03"
},
"riskFactors": [{
"risk": "not_checked",
"detail": "postcode",
"type": "avs"
},
{
"risk": "not_matched",
"detail": "address",
"type": "avs"
}],
"paymentInstrument": {
"type": "card/network+masked",
"card": {
"number": {
"bin": "444433",
"last4Digits": "1111"
},
"countryCode": "GB",
"brand": "visa",
"fundingType": "debit",
"issuer": {
"name": "VALID_ISSUER"
},
"paymentAccountReference": "somePAR"
}
}
}
您可以使用payments:settle
注释:如果出现错误,您可以在我们的
riskFactors
为了减少处理欺诈性付款的可能性,请在您的
我们会与您客户的发卡银行进行核对,并在我们的响应中包含任何冲突。
只有存在与授权请求关联的风险时才会返回 riskFactors
阵列。仅在该信息被包括在授权请求中以及识别到任何风险时,riskFactors
阵列才会为 avs
、cvc
或 riskProfile
返回对象。
下表描述了响应参数:
参数 | 描述 |
---|---|
riskFactors.type | 返回 avs 、cvc 或 riskProfile |
riskFactors.detail | 仅限 avs 。返回 postcode 或 address |
riskFactors.risk | 返回 not_checked 、not_matched 、not_supplied 或 verificationFailed |
exemption
在您的授权请求中包括了风险预测时的豁免结果和原因。
下表描述了响应参数:
参数 | 描述 |
---|---|
exemption.result | 返回 honored 、outOfScope 、rejected 或 unknown |
exemption.reason | 对于 honored ,则返回 issuerHonored 或 unknown 。对于 outOfScope ,则返回 merchantInitiatedTransaction 、oneLegOut 、moto 、contactless 或 unknown 。对于 rejected ,则返回 issuerRejected 、highRisk 、invalid 、unsupportedScheme 、notSubscribed 、unsupportedAcquirer 或 unknown |
软拒绝
如果支付中未应用豁免,则发卡机构会以软拒绝(
后续步骤