Skip to main content

Debit card

Quick Reference

WhatAccept debit card payments
WhySame endpoint as credit — with mandatory 3DS for secure debit authorization
Reading Time10 min
DifficultyBeginner
PrerequisitesAuthentication → Credit card

Debit vs credit at a glance

FeatureCredit cardDebit card
type_chargecredit_carddebit_card
3DSOptionalMandatory
InstallmentsUp to 12xNot supported
Pre-auth (capture: false)YesNo
Funds sourceCredit lineBank balance
SettlementAcquirer scheduleTypically faster
3DS required

3DS is always required for debit. Charges without threeds_authentication: true and valid device_info will be declined.


Transaction flow


Create a debit card charge

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": "John Doe",
"payer_email": "johndoe@example.com",
"payer_cell_phone": "+5511999999999",
"payer_tax_id": "9999999999999",
"items": [{"name":"Product","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": "Debit purchase",
"type_charge": "debit_card",
"card_name": "John Doe",
"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"
}'
Pending 3DS response

The response often returns status: "pending" with url_3ds. Final status arrives via webhook.


Response example

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

Status lifecycle

StatusMeaning
pending3DS authentication in progress
confirmed / paidAuthorized successfully
errorDeclined or authentication failed
canceledVoided
refundedRefund processed