Cards API 简介
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
Card API 由创建多个流的不同服务定义。
| 数据流 |
说明 |
对客户帐号的影响 |
| CardVerification
|
验证用户的卡是否有效。 |
无。
|
| FundsTransfer
|
从用户的帐号转账用于购买交易的资金。 |
通过单条消息捕获客户的资金。
|
| ReserveCapture
|
先在用户帐号中预留资金,以后可以异步方式获取这笔资金。 |
双消息、预留以及随后对客户的款项收取款项。 |
| 退款
|
将通过 FundsTransfer 或 ReserveCapture 捕获的资金退回用户的帐号。 |
款项已退回用户。
|
CardVerification
CardVerification 流程由付款集成商实现的单一方法组成。VerifyCard 用于验证用户的卡。我们通常使用 $0 或 $1 授权完成此操作,但此流程不会捕获任何资金。

FundsTransfer
资金转移流程由付款集成商实现的唯一方法组成。Capture 用于从用户的帐号中收取资金。此方法会同步检查可用资金并捕获这些资金。

预留捕获
ReserveCapture 流程由付款集成商和 Google 同时实现的多个方法组成。它采用双消息付款流程,先同步预留资金,然后异步捕获资金。预留资金后,可以进行或取消预留。捕获操作会发起资金转移,而取消操作将解除用户资金的保留状态。
付款集成商实现了 ReserveFunds、AsynchronousCaptureFundsReservation 和 AsynchronousCancelFundsReservation 方法,Google 实现了 CaptureFundsReservationResultNotification 和 CancelFundsReservationResultNotification 方法。
拍摄流程

取消流程

退款
退款流程由付款集成商实现的方法和 Google 实现的方法组成。它用于退回通过 FundsTransfer 或 ReserveCapture 流程提取的资金。付款集成商实现 AsynchronousRefund,由 Google 实现 RefundResultNotification

退款
退款流程仍处于开发阶段。完成后,其文档会显示在此处。
保留所有权利。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-07-25。"],[],["The Card API includes four primary flows: CardVerification, FundsTransfer, ReserveCapture, and Refund. CardVerification validates cards without capturing funds. FundsTransfer synchronously captures funds via the `Capture` method. ReserveCapture reserves funds and then allows them to be captured or canceled later, using `ReserveFunds`, `AsynchronousCaptureFundsReservation`, and `AsynchronousCancelFundsReservation`. Refund returns previously captured funds, with `AsynchronousRefund` implemented by the Payment Integrator. Each flow uses distinct methods implemented by the Payment Integrator or Google.\n"]]