Skip to Content
Get started

How Altruon works

The pieces you connect, what each one is responsible for, and how a first payment and a renewal move between them.

Altruon sits between two systems you already own: a billing platform that knows what to charge, and one or more acquirers that can charge it. Altruon does the work in the middle.

Where Altruon sits
Your billing platform
Stripe Billing
Chargebee
Recurly
Frisbii
Plans, subscriptions and invoices stay here.
Altruon
CheckoutHosted pages or Altruon.js
VaultCards stored once
RoutingMethod, currency, acquirer
RenewalsCollection and retries
Your acquirers
Adyen
Checkout.com
dLocal
Nuvei
PagBrasil
Stripe
Trustly
Your accounts, your contracts. Acquirers settle to you.

Who does what

Billing platformAltruonAcquirer
Plans, prices, coupons, taxOwns themReads them to build the checkout estimate
Subscriptions and invoicesSource of truthCreates the subscription after the first payment, records each payment on the invoice
CheckoutHosted pages or Altruon.js
Choosing where a payment goesRouting entries
Authorizing the paymentSends the requestAuthorizes and settles to you
RenewalsRaises the invoiceCollects it, retries it if it failsAuthorizes
FundsNever holds or settles fundsSettles to your account

You keep your own contract with each acquirer and your own account on the billing platform. Altruon is a technology layer.

The objects you work with

ObjectWhat it isWhere you manage it
TenantYour workspace. Its subdomain appears in your API and checkout URLs as {your-domain}.Provisioned for you
Acquirer connectionCredentials for one acquirer accountSettings > Payment Gateways
Routing entryMaps a payment method and a currency to an acquirerSettings > Payment Gateways, Routing tab
Billing connectionCredentials for your billing platformSettings > Billing Platforms
SessionOne checkout attempt: currency, line items, optional customer data. Single use, valid for 15 minutes.Created by your server or by a hosted page
Webhook endpointWhere Altruon sends you signed eventsSettings > Webhooks
API keysA secret key for your server, a publishable key for the browserSettings > API Keys

Read more in Sessions and the Glossary.

A first payment

First payment
ShopperAltruonAcquirerBilling platform01 Opens checkout and pays02 Charge, per routing entry03 Approved04 Create subscription05 Mark first invoice paid06 Redirect or onSuccess
  1. A session exists: your server created it, or the shopper opened a hosted page link and Altruon created it.
  2. The shopper pays on the hosted page or in the Altruon.js component embedded in your page.
  3. Altruon picks the acquirer from your routing entries for that payment method and currency, and sends the charge.
  4. When the acquirer approves, Altruon creates the subscription on your billing platform and marks the first invoice as paid, with a reference that carries the acquirer, the method and the acquirer's transaction id.
  5. The shopper returns to your redirectUrl, or your page receives the onSuccess callback. Your server can also receive a signed webhook.

A renewal

Renewal
Billing platformAltruonAcquirer01 Invoice due (webhook)02 Charge the stored method03 Result04 Record payment on the invoice

Your billing platform decides when a renewal is due and raises the invoice. Altruon hears about it through the billing platform's webhook, charges the stored payment method through the acquirer, and records the result on the invoice. If the charge fails, the invoice moves to dunning and Altruon retries it. See Retries and dunning.

This is why each connection needs its webhook: without it, Altruon never hears that an invoice is due or that an asynchronous payment settled. See Webhooks.

What you configure and what you build

You configure, in the backofficeYou build, if you want to
Acquirer and billing platform connectionsA server call that creates a session
Routing entriesYour own checkout page with Altruon.js
Checkout appearance and hosted pagesA webhook handler for Altruon events
Webhook endpoints

With hosted pages you build nothing: the whole flow is configured.

Next steps