# 拒付 了解付款被拒绝及如何降低拒付率的更多信息。 不断跟踪您的拒付率,以识别潜在的欺诈或集成问题。为了更清楚地了解您的授权率,请分析独特的拒付,并从您的分析中排除失败的重试。 付款失败的原因有很多,其中包括一些有助于防止欺诈交易的原因。Stripe 致力于降低支持的所有支付方式的拒绝率。我们与发卡行和卡组织合作来提高接受率,通常不会影响您的集成。 付款失败的可能原因有三种: - [发卡行拒付](https://docs.stripe.com/declines.md#issuer-declines) - [被阻止的付款](https://docs.stripe.com/declines.md#blocked-payments) - [无效的 API 调用](https://docs.stripe.com/declines.md#invalid-api-calls) 您需要按不同方式处理各类失败的付款。对于每笔失败的付款,您都可以使用[管理平台](https://dashboard.stripe.com/payments) 或 API 来查看付款详情。使用 API 时,查看 `Charge` 对象的[结果](https://docs.stripe.com/api/charges/object.md#charge_object-outcome)。此属性包含付款失败类型,并提供有关其原因的信息。 在处理非银行卡支付方式的拒付时,Stripe 的处理方式与银行卡拒付类似。Stripe 会给您发送一个响应代码,其中包含有关拒付的信息,例如,是否是因为资金不足、卡片丢失或被盗还是其他原因。 ## 发卡行拒绝 当您客户的发卡行或付款提供商收到扣款请求时,他们的自动化系统和模型将决定是否批准该交易。这些工具会综合分析多种信号指标,例如消费习惯、账户余额和卡数据(如到期日、地址信息和银行卡安全码 (CVC))。 如果发卡行或付款提供商拒绝付款,Stripe 会与您分享我们通过 [Stripe 拒绝代码](https://docs.stripe.com/declines/codes.md) 收到的拒绝信息。此信息可前往仪表板查看,也可通过 API 获得。当发卡行提供卡号错误或资金不足等具体说明时,这些说明将作为[网络拒绝代码](https://docs.stripe.com/declines/network-codes.md) 返回给 Stripe。 ## 付款被阻止 *Stripe Radar* (Stripe Radar helps detect and block fraud for any type of business using machine learning that trains on data across millions of global companies. It’s built into Stripe and requires no additional setup to get started) 阻止高风险支付,包括违反自定义规则或高风险得分的支付。这款自动化欺诈预防产品会对每笔付款进行评估,无需您采取任何操作。 Stripe 阻止支付时,不会获得发卡机构的授权,这种预防措施有助于防止可能导致争议的潜在欺诈性支付。 对于某些类型的银行卡,客户可能会在他们的对账单上看到发卡行已验证过的付款金额。但是,Stripe 没有扣取这笔费用,也没有提取资金。发卡行通常会在几天内从客户的对账单中删除此授权。 如果您配置的规则阻止了您认为合法的付款,则可以通过在[管理平台](https://dashboard.stripe.com/payments)中找到这笔付款并点击**添加到允许列表**来解除阻止。该操作不会重试付款。相反,它会覆盖您的所有其他规则,阻止未来与列表属性匹配的付款尝试。 > 在付款详情页面上看不到**添加到允许列表**按钮?[联系 Stripe](https://support.stripe.com/email),将该功能添加到您的 Radar 账户。 使用 API 时,被阻止的付款的 `outcome` 会反映付款失败的类型及原因,以及评定的风险等级。 ```json ... outcome: { network_decline_code: null, network_advice_code: null, network_status: "not_sent_to_network", reason: "highest_risk_level", advice_code: "do_not_try_again", risk_level: "highest", seller_message: "Stripe blocked this charge as too risky.", type: "blocked" }, ... ``` 对于使用 [IC+ 定价](https://support.stripe.com/questions/understanding-blended-interchange-pricing) 的用户,Adaptive Acceptance 可阻止某些付款,以帮助您避免不必要的网络成本。例如,Adaptive Acceptance 可帮助您避免过多的重试惩罚。Adaptive Acceptance 还可通过阻止授权可能性较低的支付来帮助您避免网络成本。 ```json ... outcome: { network_decline_code: null, network_advice_code: null, network_status: "not_sent_to_network", reason: "low_probability_of_authorization", advice_code: "do_not_try_again", risk_level: "normal", seller_message: "Stripe blocked this payment as it is unlikely to be authorized.", type: "blocked" }, ... ``` ## 无效的 API 调用 在 API 中,您可能会看到无效的 API 调用是这样的: ```curl curl https://api.stripe.com/v1/payment_intents \ -u "<>:" \ -d amount=2000 \ -d currency=usd \ -d payment_method=pm_card_chargeDeclinedIncorrectCvc \ -d confirm=true ``` 无效的 API 调用产生的错误响应可能看起来是这样的: ```json { "error": { "code": "incorrect_cvc", "doc_url": "https://stripe.com/docs/error-codes/incorrect-cvc", "message": "Your card's security code is incorrect.", "param": "cvc", "type": "card_error" } } ``` 基于银行卡组织的拒付代码,支付失败的[结果](https://docs.stripe.com/api.md#charge_object-outcome)包含失败类型及[原因](https://docs.stripe.com/api.md#charge_object-outcome-reason)两项信息。该原因中可能包含银行卡组织响应代码之外的信息,例如交易因 Radar 规则评估而被拦截。 ```json ... outcome: { network_decline_code: "54", network_advice_code: "03", network_status: "declined_by_network", reason: "expired_card", advice_code: "confirm_card_data", risk_level: "normal", seller_message: "The bank returned the decline code `expired_card`.", type: "issuer_declined" }, ... ``` 在您开发您的 Stripe 集成的过程中,应该通过持续[测试](https://docs.stripe.com/testing.md)找出那些可能引发无效的 API 调用的漏洞。无效的 API 调用通常不会使某笔付款出现在您的管理平台上。但少数情况下,您可能会看到付款。 ```json ... outcome: { network_decline_code: null, network_advice_code: null, network_status: "not_sent_to_network", type: "invalid" }, ... ``` ## See also - [银行卡拒付](https://docs.stripe.com/declines/card.md) - [测试拒付交易](https://docs.stripe.com/testing.md#declined-payments) - [退款和取消付款](https://docs.stripe.com/refunds.md) - [自动重试付款](https://docs.stripe.com/billing/revenue-recovery/smart-retries.md)