For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
HomeGuidesAPI Reference
HomeGuidesAPI Reference
  • API 开发
    • API 快速入门
      • 测试环境(沙箱)
      • 客户账户
      • 商户门户
      • Postman 集合
    • 认证
    • 重复支付Recurring Payments
  • 在线 API
LogoLogo
On this page
  • 测试客户账户
  • 测试信用卡
API 开发测试环境 (沙箱)

客户账户

Was this page helpful?
Previous

商户门户

Next
Built with

如何在沙箱环境中进行测试交易?


在测试站点进行结账时,使用以下信息来进行 Afterpay/Clearpay 测试交易。

测试客户账户

您可以在测试结账流程中的沙箱环境中创建测试客户账户。每个沙箱客户账户需要一个唯一的电子邮件地址和一个唯一的电话号码。

沙箱环境中不会发送短信。使用 111111 作为验证码

测试信用卡

沙箱环境中的支付响应(批准/拒绝)由 CVV 值决定。使用 000 表示批准,使用 051 表示拒绝

卡类型卡号有效期CVV响应
Visa4111 1111 1111 111101/28000批准
Visa4111 1111 1111 111101/28051拒绝
Mastercard5215 0977 9282 665901/28000批准
Mastercard5215 0977 9282 665901/28051拒绝

在 Afterpay / Clearpay 沙箱中进行测试时,您可以使用任何虚拟的 Visa 或 Mastercard 号码和未来的有效期,只要它通过 mod 10 校验且尚未被其他沙箱客户账户使用过。