Credit Card
๐ณ Credit Card Payments
โน๏ธ For full request and response examples, refer to theAPI Reference.
To fully leverage our credit card capabilities, itโs essential to understand the key concepts in the transaction lifecycle โ from authentication to settlement, refund, and dispute management.
For cross-border credit card transactions, it's essential to:
- Confirm the currency, card brand, and payment method availability.
- ๐ Contact our support team to ensure the desired setup is enabled for your account.
Transactions using unsupported configurations may be rejected by issuers or processors.
๐ Key Concepts
Concept | Description |
---|---|
๐ Authentication (3DS) | 3D Secure (3DS) is a protocol used to authenticate the cardholder before authorization. Based on the issuer's response, the flow can be frictionless or require a challenge. If authentication is successful, the chargeback liability shifts from merchant to issuer. |
๐ก๏ธ Antifraud (AF) | Antifraud systems analyze transactions based on behavioral, device, and historical risk signals. They may approve, reject, or flag a transaction for manual review before it reaches authorization. |
๐ฆ Authorization | This is when the transaction is sent to the card issuer and scheme (e.g., Visa, Mastercard) for approval. A pre-authorization reserves funds but does not complete the charge until capture. |
๐ฅ Capture | Finalizes a previously authorized transaction, charging the customer's card. If capture is set to false in the initial request, you must capture the transaction later using the capture endpoint. |
๐ณ Installments | Allows the total charge to be split into multiple monthly payments by the cardholder. The merchant receives the full amount upfront, while the customer pays over time. Local regulations and acquirer configurations may apply. |
โ Cancellation | Cancels an authorized or captured transaction, often due to unfulfilled orders or user action. |
๐ธ Refunded | Indicates a full or partial return of funds to the customer after the payment has been captured. |
โ ๏ธ Chargeback Requested | The cardholder has disputed the transaction. Funds are temporarily withdrawn from the merchant while the issuer investigates. |
โ Chargeback Refunded | The dispute was accepted by the issuer. The transaction is finalized with a full reversal of funds to the cardholder. |
๐ท๏ธ Accepted Card Brands
Card Brand | One-Time Payment | Installments (Store) | International Support |
---|---|---|---|
Visa | โ Yes | โ Yes | โ Yes |
MasterCard | โ Yes | โ Yes | โ Yes |
American Express | โ Yes | โ Yes | โ Yes |
Elo | โ Yes | โ Yes | โ Yes |
Diners Club | โ Yes | โ No | โ Yes |
Discover | โ Yes | โ No | โ Yes |
JCB | โ No | โ No | โ No |
Aura | โ Yes | โ Yes | โ Yes |
๐ Credit Card Transaction Flow
sequenceDiagram participant Buyer as ๐ง Buyer participant Merchant as ๐ Merchant Platform participant A55API as ๐งฉ a55 API participant AF as ๐ก๏ธ Antifraud Engine participant ThreeDS as ๐ 3DS Server participant Acquirer as ๐ฆ Acquirer / Provider Buyer->>Merchant: 1. Selects credit card as payment method Merchant->>A55API: 2. Sends transaction request (card + payer data) A55API->>AF: 3. Triggers antifraud analysis AF-->>A55API: Risk decision (approve / reject / review) A55API->>ThreeDS: 4. Initiates 3DS authentication (if enabled) ThreeDS-->>A55API: 5. 3DS result (frictionless / challenge / success / fail) A55API->>Acquirer: 6. Sends transaction for authorization Acquirer-->>A55API: 7. Returns authorization status A55API-->>Merchant: 8. Returns final result
๐ Sample
{
"wallet_uuid": "00000000-0000-0000-0000-000000000000",
"merchant_id": "11111111-1111-1111-1111-111111111111",
"payer_name": "John Doe",
"payer_email": "[email protected]",
"payer_cell_phone": "+5511999999999",
"items": [
{
"name": "Sample Product",
"description": "Description of the sample product",
"quantity": 1,
"total_amount": 100,
"unit_amount": 100,
"sku": "SAMPLE-SKU-123",
"code": "SAMPLE-CODE-456"
}
],
"payer_address": {
"street": "Sample Street",
"address_number": "123",
"complement": "Apt 101",
"neighborhood": "Sample Neighborhood",
"city": "Sample City",
"state": "SP",
"postal_code": "00000-000",
"country": "BR"
},
"currency": "BRL",
"installment_value": 100,
"installment_count": 1,
"due_date": "2025-12-31",
"description": "Sample transaction description",
"webhook_url": "https://webhook-test.com/sample-webhook", // receives any status change of this charge
"redirect_url": "https://example.com/redirect"
}
{
"wallet_uuid": "00000000-0000-0000-0000-000000000000",
"merchant_id": "11111111-1111-1111-1111-111111111111",
"payer_name": "John Doe",
"payer_email": "[email protected]",
"payer_cell_phone": "+5511999999999",
"items": [
{
"name": "Sample Product",
"description": "Description of the sample product",
"quantity": 1,
"total_amount": 100,
"unit_amount": 100,
"sku": "SAMPLE-SKU-123",
"code": "SAMPLE-CODE-456"
}
],
"payer_address": {
"street": "Sample Street",
"address_number": "123",
"complement": "Apt 101",
"neighborhood": "Sample Neighborhood",
"city": "Sample City",
"state": "SP",
"postal_code": "00000-000",
"country": "BR"
},
"currency": "BRL",
"installment_value": 50,
"installment_count": 2,
"due_date": "2025-12-31",
"description": "Sample transaction description",
"webhook_url": "https://webhook-test.com/sample-webhook", // receives any status change of this charge
"redirect_url": "https://example.com/redirect"
}
{
"wallet_uuid": "00000000-0000-0000-0000-000000000000",
"merchant_id": "11111111-1111-1111-1111-111111111111",
"payer_name": "John Doe",
"payer_email": "[email protected]",
"payer_cell_phone": "+5511999999999",
"items": [
{
"name": "Sample Product",
"description": "Description of the sample product",
"quantity": 1,
"total_amount": 100,
"unit_amount": 100,
"sku": "SAMPLE-SKU-123",
"code": "SAMPLE-CODE-456"
}
],
"payer_address": {
"street": "Sample Street",
"address_number": "123",
"complement": "Apt 101",
"neighborhood": "Sample Neighborhood",
"city": "Sample City",
"state": "SP",
"postal_code": "00000-000",
"country": "BR"
},
"currency": "BRL",
"installment_value": 100,
"installment_count": 1,
"due_date": "2025-12-31",
"description": "Sample transaction description",
"type_charge": "credit_card",
"card_name": "John Doe",
"card_number": "4111111111111111",
"card_expiry_month": "12",
"card_expiry_year": "2030",
"card_cvv": "123",
"webhook_url": "https://webhook-test.com/sample-webhook" // receives any status change of this charge
}
{
"wallet_uuid": "00000000-0000-0000-0000-000000000000",
"merchant_id": "11111111-1111-1111-1111-111111111111",
"payer_name": "John Doe",
"payer_email": "[email protected]",
"payer_cell_phone": "+5511999999999",
"capture": false, //you must capture the transaction later using the capture endpoint.
"items": [
{
"name": "Sample Product",
"description": "Description of the sample product",
"quantity": 1,
"total_amount": 100,
"unit_amount": 100,
"sku": "SAMPLE-SKU-123",
"code": "SAMPLE-CODE-456"
}
],
"payer_address": {
"street": "Sample Street",
"address_number": "123",
"complement": "Apt 101",
"neighborhood": "Sample Neighborhood",
"city": "Sample City",
"state": "SP",
"postal_code": "00000-000",
"country": "BR"
},
"currency": "BRL",
"installment_value": 100,
"installment_count": 1,
"due_date": "2025-12-31",
"description": "Sample transaction description",
"type_charge": "credit_card",
"card_name": "John Doe",
"card_number": "4111111111111111",
"card_expiry_month": "12",
"card_expiry_year": "2030",
"card_cvv": "123",
"webhook_url": "https://webhook-test.com/sample-webhook" // receives any status change of this charge
}
{
"wallet_uuid": "00000000-0000-0000-0000-000000000000",
"merchant_id": "11111111-1111-1111-1111-111111111111",
"payer_name": "John Doe",
"payer_email": "[email protected]",
"payer_cell_phone": "+5511999999999",
"subscription": {
"cycle": "monthly",
"end_date": "2025-07-30"
},
"payer_address": {
"street": "Sample Street",
"address_number": "123",
"complement": "Apt 101",
"neighborhood": "Sample Neighborhood",
"city": "Sample City",
"state": "SP",
"postal_code": "00000-000",
"country": "BR"
},
"currency": "BRL",
"installment_value": 100,
"installment_count": 1,
"due_date": "2025-12-31",
"description": "Sample Subscription",
"type_charge": "credit_card",
"card_name": "John Doe",
"card_number": "4111111111111111",
"card_expiry_month": "12",
"card_expiry_year": "2030",
"card_cvv": "123",
"webhook_url": "https://webhook-test.com/sample-webhook"
}
Capture
- capture (boolean) โ Defines whether the transaction should be captured immediately (true) or authorized only (false). If set to false, you must capture the transaction later using the capture endpoint. API Reference.
Updated 18 days ago