跳转到主要内容

借记卡

Quick Reference

What接受借记卡支付
Why与信用卡共用同一 API(应用程序编程接口)端点(endpoint)——强制 3DS(3D Secure 验证)以安全完成借记授权
Reading Time10 分钟
Difficulty初级
Prerequisites身份验证 → 信用卡

借记与信用卡一览

功能信用卡借记卡
type_chargecredit_carddebit_card
3DS可选必填
分期付款最高 12 期不支持
预授权(capture: false
资金来源信用额度银行余额
结算收单机构账期通常更快
3DS 必需

借记卡始终需要 3DS。未设置 threeds_authentication: true 且未提供有效 device_info 的收费,系统将拒绝处理。


交易流程


创建借记卡收费

数据安全

A55 全链路通过 PCI DSS(支付卡行业数据安全标准)一级认证。卡数据在我们认证的基础设施中安全传输和处理。如需更简化的集成方案——完全不在您的服务器上处理卡数据——请参阅 SDK 集成Checkout Page

curl -X POST https://core-manager.a55.tech/api/v1/bank/wallet/charge/ \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"wallet_uuid": "00000000-0000-0000-0000-000000000000",
"merchant_id": "11111111-1111-1111-1111-111111111111",
"payer_name": "李明",
"payer_email": "liming@example.com",
"payer_cell_phone": "+5511999999999",
"payer_tax_id": "12345678901",
"items": [{"name":"商品","quantity":1,"total_amount":100,"unit_amount":100,"sku":"SKU-001","code":"P001"}],
"payer_address": {"street":"Sample St","address_number":"123","complement":"","neighborhood":"Centro","city":"São Paulo","state":"SP","postal_code":"01000-000","country":"BR"},
"currency": "BRL",
"installment_value": 100,
"installment_count": 1,
"due_date": "2026-12-31",
"description": "借记卡消费",
"type_charge": "debit_card",
"card_name": "李明",
"card_number": "4111111111111111",
"card_expiry_month": "12",
"card_expiry_year": "2030",
"card_cvv": "123",
"threeds_authentication": true,
"device_info": {"ip_address":"192.168.0.1","user_agent":"Mozilla/5.0","http_browser_language":"en-US","http_browser_color_depth":"24","http_browser_screen_height":"1080","http_browser_screen_width":"1920"},
"webhook_url": "https://yoursite.com/webhook",
"redirect_url": "https://yoursite.com/return"
}'
异步状态

响应常返回 status: "pending"url_3ds。最终状态通过 Webhook(网络钩子)送达。


响应示例

{
"charge_uuid": "51dcca6e-7310-4b73-a94c-90835408f2ff",
"type": "debit_card",
"status": "pending",
"url_3ds": "https://secure.example.com/3ds-challenge?transaction_id=abc123"
}

状态生命周期

状态含义
pending3DS 认证进行中
authorized授权成功
captured扣款确认
paid已确认待结算
failed拒绝或认证失败
cancelled已作废
refunded已处理退款