> For the complete documentation index, see [llms.txt](https://resources.atriptech.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://resources.atriptech.com/api-wen-dang/pai-zhang-yu-zhi-chi/errors-handing/zhi-fu-cuo-wu.md).

# 支付错误

{% hint style="info" %}
遇到 API 接入问题时，可登录 [Eva](https://www.atriptech.com/) 寻求帮助。
{% endhint %}

当 `pay.do` 失败时，使用这个页面。

### 高频错误码

#### `401` Time out of payment

支付发生在支付截止时间之后。

**处理建议**

* Regenerate the order or create a new booking

#### `402` / `404` Order status does not support payment or order already paid

订单已支付、出票中或已出票。

**处理建议**

* Query the order first
* Do not send duplicate payment requests

#### `403` Unsupported payment method

当前票价或航司不支持该支付方式。

**处理建议**

* Switch to another supported method
* Check supported payment fields before payment

#### `406` Payment operation is in progress

之前的支付请求仍在处理中。

**处理建议**

* Wait and poll order status
* Avoid duplicate retries during in-flight payment

#### `407` Incorrect passenger information

订单数据未通过航司支付校验。

**处理建议**

* Check passenger fields
* Rebuild the order if required

#### `409` Additional baggage does not match the segment

附加服务和订单航段不一致。

**处理建议**

* Re-check segment-specific `productCode`

#### `411` Generic payment error

Atlas 因账户或结算问题无法完成支付。

**处理建议**

* Check balance
* Check payment inputs
* Retry only after validation

#### `413` Card is not supported

该场景不支持当前卡类型。

**处理建议**

* Use a supported card brand

#### `414` Card mismatch

支付卡类型与前序流程中的卡类型不一致。

**处理建议**

* Use a consistent card type across order and payment

#### `415` Order is not confirmed by user

在 FR 流程中常见，通常是因为没有先完成 `orderCommit.do`。

**处理建议**

* Complete order confirmation first
* Then retry payment

### 推荐排查顺序

1. 重试支付前先查询订单
2. 检查支付截止时间和订单状态
3. 确认支付方式是否支持
4. 校验乘客信息和附加服务数据
5. VCC 被拦截时，考虑改用 deposit

### 相关页面

* [支付与出票](/api-wen-dang/readme/yu-ding-liu-cheng-gai-lan/zhi-fu-yu-chu-piao.md)
* [支付](/api-wen-dang/pai-zhang-yu-zhi-chi/faqs/atlas-api-payments.md)
* [查询订单](/api-wen-dang/readme/yu-ding-liu-cheng-gai-lan/cha-xun-ding-dan.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://resources.atriptech.com/api-wen-dang/pai-zhang-yu-zhi-chi/errors-handing/zhi-fu-cuo-wu.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
