Accept payments — Subscriptions & recurring

Accept payments

Subscriptions & recurring

Subscriptions bill the same amount automatically at regular intervals. You create the subscription, the platform triggers the charges and manages the cycle.

POST/api/v1/bank/wallet/subscription/

Creates a subscription (recurring billing) tied to a wallet. Each cycle generates a charge.

Request
POST /bank/wallet/subscription/
Authorization: Bearer <token>
Content-Type: application/json

{
  "wallet_uuid": "00000000-0000-0000-0000-000000000000",
  "merchant_id": "MER-001",
  "amount": 49.90,
  "currency": "BRL",
  "cycle": "monthly",
  "charge_type": "credit_card",
  "card_holder_name": "JOAO DA SILVA",
  "card_number": "4111111111111111",
  "card_expiry_month": "12",
  "card_expiry_year": "2030",
  "card_cvv": "123",
  "payer_name": "João da Silva",
  "payer_tax_id": "12345678901",
  "payer_document_type": "CPF",
  "payer_email": "joao@example.com",
  "webhook_url": "https://your-store.com/webhook/charge"
}
Response
{
  "subscription_uuid": "6b7c8d9e-0f1a-2b3c-4d5e-6f7a8b9c0d1e",
  "wallet_uuid": "00000000-0000-0000-0000-000000000000",
  "amount": 49.90,
  "currency": "BRL",
  "cycle": "monthly",
  "charge_type": "credit_card",
  "status": "active",
  "next_billing_date": "2026-10-14 14:40:00",
  "stop_on_error": true
}

Supported cycles

cycleFrequency
weeklyWeekly
biweeklyBiweekly
monthlyMonthly
quarterlyQuarterly
semiannuallySemiannual
yearlyYearly

Manage subscriptions

GET/api/v1/bank/wallet/subscription/

Lists the wallet subscriptions with each status.

POST/api/v1/bank/wallet/subscription/<subscription_uuid>/cancel/<wallet_uuid>/

Cancels a subscription. Future charges are suspended; the current one runs to the end.