支付流程
PaymentAttempt结果
当PaymentAttempt状态变更时发送,包括已创建、请款请求、已取消或失败。
WEBHOOK
Documentation Index
Fetch the complete documentation index at: https://developers.uqpay.com/llms.txt
Use this file to discover all available pages before exploring further.
事件类型
| 事件类型 | 描述 |
|---|---|
acquiring.payment_attempt.created | 新建了一次PaymentAttempt。 |
acquiring.payment_attempt.capture_requested | 付款人已完成支付,对应的PaymentIntent转为SUCCEEDED。 |
acquiring.payment_attempt.cancelled | PaymentAttempt已取消。 |
acquiring.payment_attempt.failed | PaymentAttempt失败。单次PA失败不代表PI已失败。 |
请求体
application/json
A unique identifier for this event.
Top-level event category.
可用选项:
ACQUIRING The specific event type that occurred.
可用选项:
acquiring.payment_attempt.created, acquiring.payment_attempt.capture_requested, acquiring.payment_attempt.cancelled, acquiring.payment_attempt.failed Payment attempt ID.
API version number.
示例:
"V1.6.0"
Payment attempt details associated with the event.
响应
200
Return 200 to acknowledge receipt.

