> ## Documentation Index
> Fetch the complete documentation index at: https://developers-sandbox.uqpaytech.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# PaymentAttempt结果

> 当PaymentAttempt状态变更时发送，包括已创建、请款请求、已取消或失败。

## 事件类型

| 事件类型 | 描述 |
| - | - |
| `acquiring.payment_attempt.created` | 新建了一次PaymentAttempt。 |
| `acquiring.payment_attempt.capture_requested` | 付款人已完成支付，对应的PaymentIntent转为`SUCCEEDED`。 |
| `acquiring.payment_attempt.cancelled` | PaymentAttempt已取消。 |
| `acquiring.payment_attempt.failed` | PaymentAttempt失败。单次PA失败不代表PI已失败。 |


## OpenAPI

````yaml webhooks-acquiring.yaml webhook paymentAttemptResult
openapi: 3.1.0
info:
  title: Acquiring Webhooks
  version: 1.6.0
  description: |
    Webhook events for the Global Acquiring product. UQPAY sends these events to
    your registered webhook endpoint as HTTP POST requests with a JSON body.

    All events share a common envelope (`event_id`, `event_name`, `event_type`,
    `source_id`, `version`) and carry event-specific data in the `data` field.
servers: []
security: []
paths: {}

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.