Skip to main content

Subscriptions

Quick Reference

WhatRecurring credit card billing
WhyAutomate billing cycles — A55-managed or merchant-controlled
DifficultyIntermediate
PrerequisitesAuthentication → Create charge

A55 supports recurring payments through a subscription object on the charge request. Choose A55-managed (internal) or merchant-driven (external) recurrence. Only single-installment charges are supported.

Why subscriptions​

BenefitDetail
Recurring revenueAutomate collection on predictable cycles
Flexible cyclesWeekly, biweekly, monthly, quarterly, semiannual, or annual
CIT/MIT complianceProper scheme indicators for merchant-initiated transactions
Three card input modesRaw PAN, A55 token, or DPAN with cryptogram
Webhook notificationsEvents for billing attempts, successes, and failures

Recurrence models​

ModelManagerBest for
InternalA55 schedules and executes chargesSaaS, memberships, simple billing
ExternalMerchant triggers each charge via APIUsage-based, metered, conditional billing

Internal recurrence​

Cycles: weekly (7d) | biweekly (14d) | monthly (30d) | quarterly (90d) | semiannual (180d) | annual (365d).

POST https://sandbox.api.a55.tech/api/v1/bank/charge/

{
"amount": 4990, "currency": "BRL",
"card_number": "4111111111111111", "expiry_month": "12", "expiry_year": "2027",
"cvv": "123", "holder_name": "Jane Doe",
"subscription": { "billing_cycle": "monthly", "end_date": "2026-12-31" }
}

External recurrence​

IndicatorMeaningWhen to use
citCustomer-initiatedFirst payment — customer present
mitMerchant-initiatedSubsequent charges — customer absent
{ "card_number": "4111111111111111", "expiry_month": "12", "expiry_year": "2027", "cvv": "123", "recurrence_indicator": "cit" }

Subsequent MIT charges reference the original:

{ "card_token": "tok_a55_7f3c2d1e", "recurrence_indicator": "mit", "original_charge_uuid": "chg_abc123" }

Subscription status lifecycle​

StatusDescription
pendingFirst charge not yet attempted
activeCharges executing on schedule
errorLast charge failed — retrying
cancelledNo further charges
expiredEnd date reached

Manage subscriptions​

GET https://sandbox.api.a55.tech/api/v1/bank/subscription/{subscription_uuid}/ returns current status and next charge date.

DELETE the same path to cancel. Response includes cancelled_at timestamp.

GET response
{ "uuid": "sub_xyz789", "status": "active", "billing_cycle": "monthly", "next_charge_date": "2026-04-15" }
Cancellation refunds

Cancelling does not refund processed charges. Any mid-processing charge completes before cancellation takes effect.