# Documentation - [Guides](/llms.mdx/docs/llms-full.txt): Set up, integrate and run payments - **Get started** - [Introduction](/llms.mdx/docs.md): Altruon connects your billing platform to your acquirers, runs checkout and renewals, and writes every result back to the invoice. - [How Altruon works](/llms.mdx/docs/get-started/how-altruon-works.md): The pieces you connect, what each one is responsible for, and how a first payment and a renewal move between them. - [Quickstart](/llms.mdx/docs/get-started/quickstart.md): Connect an acquirer, add a routing entry, connect your billing platform and take a test payment in the sandbox. - [Sandbox and environments](/llms.mdx/docs/get-started/sandbox-and-environments.md): How to get a sandbox, where to sign in, and which URLs and keys belong to the sandbox and to production. - [Go-live checklist](/llms.mdx/docs/get-started/go-live.md): What to connect, configure and test in production before you send real shoppers to checkout. - [Build with AI](/llms.mdx/docs/get-started/build-with-ai.md): Give your coding assistant the Altruon docs in a form it reads well, SKILL.md, llms.txt and Markdown for every page. - **Concepts** - [Sessions](/llms.mdx/docs/concepts/sessions.md): A session is one checkout attempt. It carries the currency, the cart and the customer, lasts 15 minutes and is used once. - [Payment lifecycle](/llms.mdx/docs/concepts/payment-lifecycle.md): What happens from the first payment to each renewal, what Altruon writes to your billing platform, and what happens when a payment fails. - [Webhooks](/llms.mdx/docs/concepts/webhooks.md): Altruon uses webhooks in two directions. Providers notify Altruon, and Altruon notifies you. They are set up in different places. - [Glossary](/llms.mdx/docs/concepts/glossary.md): The terms used across the Altruon docs and backoffice, in one place. - **Checkout** - [Choose your checkout](/llms.mdx/docs/checkout.md): Compare hosted pages, dynamic hosted checkout and Altruon.js, see what all three share, and pick the one that fits your integration. - [Hosted pages](/llms.mdx/docs/checkout/hosted-pages.md): Create reusable, branded checkout links in the backoffice, share them, and track conversion per link. No code required. - [Dynamic hosted checkout](/llms.mdx/docs/checkout/dynamic-hosted-checkout.md): Create a session from your server with the cart and the customer, then redirect the shopper to an Altruon-hosted checkout page. - Altruon.js - [Altruon.js quickstart](/llms.mdx/docs/checkout/altruon-js.md): Embed the Altruon.js payment component in your own checkout page and take a test payment in the sandbox. - [Customer data](/llms.mdx/docs/checkout/altruon-js/customer-data.md): Pass the shopper's name, addresses, tax document and billing details to an Altruon.js session from the browser. - [Handle payment results](/llms.mdx/docs/checkout/altruon-js/payment-results.md): What to do in each Altruon.js callback, from success and failure to redirects and QR codes, and how to recover from a failed payment. - [Style the component](/llms.mdx/docs/checkout/altruon-js/styling.md): Set the colors, corner radius, font and shadow of the Altruon.js component with styleCustomization when you create the session. - [Examples](/llms.mdx/docs/checkout/altruon-js/examples.md): The Altruon merchant demo, Altruon.js checkout components for React, Vue and Next.js, and a multi-step checkout. - **Subscriptions** - [How billing sync works](/llms.mdx/docs/subscriptions.md): Your billing platform stays the source of truth. Altruon creates the subscription after the first payment and records every payment on its invoice. - [Trials](/llms.mdx/docs/subscriptions/trials.md): Sell a plan with nothing due today. Checkout stores a reusable payment method and Altruon collects the first invoice when the trial ends. - [Coupons](/llms.mdx/docs/subscriptions/coupons.md): Apply coupon codes at checkout with billingData.couponCodes, let shoppers enter their own, and see what each billing platform expects. - Altruon Billing - [Altruon Billing](/llms.mdx/docs/subscriptions/altruon-billing.md): A billing platform that Altruon runs for you. Your catalog, coupons, subscriptions, invoices and credit notes live in the Altruon backoffice. - [Product catalog](/llms.mdx/docs/subscriptions/altruon-billing/product-catalog.md): Create the product families, plans, add-ons, one-off charges and prices you sell with Altruon Billing, from a flat fee to tiered pricing. - [Coupons](/llms.mdx/docs/subscriptions/altruon-billing/coupons.md): Create Altruon Billing coupons that customers redeem with a code at checkout, or that you apply to a subscription from the backoffice. - [Subscriptions](/llms.mdx/docs/subscriptions/altruon-billing/subscriptions.md): Create, change and cancel Altruon Billing subscriptions from the backoffice, add one-time charges, and choose the payment method renewals charge. - [Invoices and credit notes](/llms.mdx/docs/subscriptions/altruon-billing/invoices-and-credit-notes.md): Read an Altruon Billing invoice, collect an unpaid one now, and create a credit note that gives credit or refunds the payment. - **Optimize** - [Routing](/llms.mdx/docs/optimize/routing.md): Routing decides which acquirer processes a payment. Start with routing entries, then add Dynamic routing rules and cascades with the Altruon Vault. - [Retries and dunning](/llms.mdx/docs/optimize/retries-and-dunning.md): When a renewal fails, the invoice moves to dunning and Altruon retries the payment on the schedule you set, then applies your end action. - [Network tokens](/llms.mdx/docs/optimize/network-tokens.md): A network token stands in for a stored card number. Visa and Mastercard issue it, and it keeps working when the card is reissued. - [Account updater](/llms.mdx/docs/optimize/account-updater.md): Visa and Mastercard report a new card number or expiry. The Altruon Vault updates the stored card before the next renewal. - **Protect** - [Altruon Vault](/llms.mdx/docs/protect/vault.md): The Altruon Vault is a PCI Level 1 vault. Store a card once, charge it on any acquirer you connect, and take it with you if you leave. - [3D Secure](/llms.mdx/docs/protect/3d-secure.md): Altruon can run 3D Secure itself and pass the result to the acquirer, or leave the challenge to the acquirer. - **Manage** - [Reconcile](/llms.mdx/docs/manage/reconcile.md): Every transaction stores the acquirer's own id and links to both the billing record and the acquirer record, so each payment can be traced. - [Analytics](/llms.mdx/docs/manage/analytics.md): Volume, authorization rate, subscription revenue, payment method mix and currencies across every acquirer and billing platform, in one dashboard. - [Audit trail](/llms.mdx/docs/manage/audit-trail.md): A record of every change and sign-in in the backoffice, with who made it, when, and what changed. Admins open it from Audit Logs. - [Global expansion](/llms.mdx/docs/manage/global-expansion.md): Add local acquirers and payment methods for a new market on the integration you already have, with help sourcing and onboarding them. - **Resources** - [Testing](/llms.mdx/docs/resources/testing.md): Sandbox test cards and the scenarios to run for each checkout, for Altruon.js callbacks, trials and coupons before you go live. - [Troubleshooting](/llms.mdx/docs/resources/troubleshooting.md): The checks that resolve most integration problems, in the order to run them, and what to send to support if they do not. - [Connections](/llms.mdx/docs/connections/llms-full.txt): Billing platforms and acquirers - [Connections](/llms.mdx/docs/connections.md): Connect your billing platform and your acquirers to Altruon. What a connection is, the setup order, and one guide per provider. - **Billing platforms** - [Billing platforms](/llms.mdx/docs/connections/billing-platforms.md): Connect Stripe Billing, Chargebee, Recurly or Frisbii. Plans, subscriptions and invoices stay there, and Altruon collects every invoice. - [Stripe Billing](/llms.mdx/docs/connections/billing-platforms/stripe-billing.md): Connect Stripe Billing to Altruon with a secret key and a webhook destination, so subscriptions, invoices and credit notes stay in sync. - [Chargebee](/llms.mdx/docs/connections/billing-platforms/chargebee.md): Connect Chargebee to Altruon with an API token, your site URL and a webhook, so subscriptions, invoices and credit notes stay in sync. - [Recurly](/llms.mdx/docs/connections/billing-platforms/recurly.md): Connect Recurly to Altruon with your domain URL, a private API key and a webhook, so subscriptions, invoices and credit notes stay in sync. - [Frisbii](/llms.mdx/docs/connections/billing-platforms/frisbii.md): Connect Frisbii to Altruon with a global API key and a webhook, so Frisbii stays your subscription source of truth while Altruon collects. - **Acquirers** - [Acquirers](/llms.mdx/docs/connections/acquirers.md): Connect your own acquirer accounts, compare the seven supported acquirers, and route each payment method and currency to one of them. - [Adyen](/llms.mdx/docs/connections/acquirers/adyen.md): Connect your Adyen account to Altruon to take credit and debit card payments, with the API key, client key and webhook it needs. - [Checkout.com](/llms.mdx/docs/connections/acquirers/checkout-com.md): Connect your Checkout.com account to Altruon to take cards, Apple Pay and KakaoPay, with the keys, processing channel and webhook it needs. - [dLocal](/llms.mdx/docs/connections/acquirers/dlocal.md): Connect your dLocal account to Altruon to take cards, UPI in India and Pix Automático in Brazil, with the four credentials it needs. - [Nuvei](/llms.mdx/docs/connections/acquirers/nuvei.md): Connect your Nuvei account to Altruon to take credit and debit card payments, with the three credentials and the DMN endpoint it needs. - [PagBrasil](/llms.mdx/docs/connections/acquirers/pagbrasil.md): Connect your PagBrasil account to Altruon to take Pix Automático and credit card payments in Brazil, with its credentials and IPN URL. - [Stripe](/llms.mdx/docs/connections/acquirers/stripe.md): Connect Stripe to Altruon as an acquirer to take card payments, with one secret key and a webhook destination. Separate from Stripe Billing. - [Trustly](/llms.mdx/docs/connections/acquirers/trustly.md): Connect your Trustly (SlimPay) account to Altruon to take SEPA Direct Debit, Bacs and Autogiro payments. No webhook to set up by hand. - [API reference](/llms.mdx/docs/api/llms-full.txt): Sessions, transactions and webhooks - [API reference](/llms.mdx/docs/api.md): Base URLs, conventions and endpoints of the Altruon API, and the webhooks Altruon sends to your server. - [Authentication](/llms.mdx/docs/api/authentication.md): Authenticate API requests with your secret key in the x-secret-key header. Where to find your keys and which one goes where. - [Errors](/llms.mdx/docs/api/errors.md): The error response of the Altruon API, every documented error code and HTTP status, and what to do about each one. - **Sessions** - [Create a session](/llms.mdx/docs/api/sessions/create.md): Create a session from your server for Altruon.js or dynamic hosted checkout. Every request field, the response and code samples. - **Transactions** - [Get transaction details](/llms.mdx/docs/api/transactions/get-details.md): Fetch a transaction with its customer, invoice and subscription on the billing platform, plus links to the acquirer and billing dashboards. - **Webhooks** - [Webhooks](/llms.mdx/docs/api/webhooks.md): Altruon sends signed events to your server when subscriptions, invoices, payments and sessions change. Set up an endpoint and handle deliveries. - [Event types](/llms.mdx/docs/api/webhooks/events.md): Every event Altruon can send to your webhook endpoint, grouped by resource, and when each one fires. - [Verify signatures](/llms.mdx/docs/api/webhooks/signatures.md): Check the Altruon-Signature header on every webhook with HMAC-SHA256 and the signing secret of the endpoint. Algorithm and code. - [Altruon.js reference](/llms.mdx/docs/sdk/llms-full.txt): Methods, callbacks and style options - [Altruon.js reference](/llms.mdx/docs/sdk.md): Install Altruon.js, see which key goes where, follow the call order, and find every method, callback and style option. - [Methods](/llms.mdx/docs/sdk/methods.md): Every Altruon.js method with its signature, parameters, return value and a short example. - [Callbacks](/llms.mdx/docs/sdk/callbacks.md): The four Altruon.js callbacks, when each one fires and the full payload it receives, with example payloads. - [Style options](/llms.mdx/docs/sdk/style-options.md): Every property of the styleCustomization object, with its type, default and effect, the color formats it accepts and complete example themes. - [Changelog](/llms.mdx/docs/changelog/llms-full.txt): What changed, and when - [Changelog](/llms.mdx/docs/changelog.md): Product and documentation updates, newest first.