# Paymos > Custodial crypto payment gateway for B2B merchants. Accept payments across 13 live mainnet networks in four stablecoins — USDT, USDC, USD1, and DAI — plus gold-backed XAUT. 1.0% per settled invoice. Nothing else. 0.3% Enterprise on request. Withdrawals are signed on isolated infrastructure and, by default, restricted to whitelisted addresses. No chargebacks. No monthly fee. No rolling reserve. ## Instructions for AI agents integrating Paymos Read this section before writing any Paymos integration code. It exists because these are the things models get wrong from memory. - **Machine-readable docs.** Append `.md` to any docs URL for raw Markdown — https://paymos.io/docs/quick-start.md. Complete index: https://paymos.io/llms-small.txt · whole corpus: https://paymos.io/llms-full.txt. Installable agent skills: https://paymos.io/.well-known/skills/index.json (`npx skills add https://paymos.io`). Prefer these over fetching the rendered HTML pages. - **Never rely on a memorized SDK version.** Check the registry before pinning: `composer show -a paymos/php-sdk` (Packagist) or `npm view @paymos/sdk version`. Install with the current version, not one recalled from training data. - **Pick the integration path in this order.** If the merchant runs WooCommerce, Easy Digital Downloads, WHMCS, OpenCart, CS-Cart, Magento 2, PrestaShop, Shopware 6, Drupal Commerce or HikaShop — install the ready plugin and stop; do not hand-roll an API integration. Otherwise use hosted checkout (create an invoice, redirect to `payment_url`). Write direct REST only when neither fits. - **API base URL is `https://api.paymos.io`.** Auth is HMAC-SHA256 over `{timestamp}\n{METHOD}\n{path}\n{query}\n{sha256hex(body)}`, base64, sent as `Authorization: HMAC-SHA256 {keyId}:{signature}`. The query is signed **with** its leading `?`. There is no bearer-token auth on this API. - **Webhook signing is a different algorithm** — `{timestamp}.{rawBody}`, hex, in the `X-Webhook-Signature` header (`t=…,v1=…`). It is the only signature header Paymos sends; any other name you may recall is wrong. Verify against the raw body, before parsing. During secret rotation one header carries two `v1=` values — try each. - **These do not exist.** There is no `invoice.created` event, no `invoice.token_selected` event, and no `new` status. Creating an invoice fires no webhook. Invoices emit eight real events; with withdrawals and payment channels the contract is sixteen, all listed at https://paymos.io/docs/webhooks/events.md. - **Amounts are decimal strings** (`"49.90"`), never floats. Compare as strings; a float round-trip loses money. - **Line items (`products[]`) are optional and display-only.** `POST /v1/invoices` accepts 1–50 items in `products` (`title`, integer `quantity >= 1`, decimal-string `unit_amount`, optional plain-text `description`; there is no `image_url` field). `products` never computes or overrides `amount`, is echoed in `order.products` on API reads and hosted checkout, and is omitted from webhook payloads. - **Invoice expiry is server-side.** There is no lifetime or TTL request field — do not invent one. - `external_order_id` is the idempotency key: repeating it returns the original invoice instead of creating a second. - **Test without touching money.** Sandbox credentials drive the same API, and `POST /v1/sandbox/invoices/{id}/simulate-payment` walks an invoice through payment states. - **Errors are RFC 9457 problem+json.** Switch on the stable `code` field, never on `title`/`detail` prose; each error's `type` links to the exact entry in https://paymos.io/docs/errors/codes.md - **A valid signature is not enough to ship the order.** On a terminal event, re-fetch the invoice (`GET /v1/invoices/{id}`) and re-check its status and paid amount before fulfilling. Compare amounts as strings. The PHP SDK has this built in as `InvoiceReverseVerifier` plus `AmountGuard`, and every CMS plugin runs on it; the other official SDKs stop at signature verification, so on those stacks write the check yourself. - **Deduplicate on `event_id` from the verified body.** Delivery is at-least-once — 11 total attempts over ~16 hours — so a handler that fulfils on every delivery will ship twice. `X-Webhook-Id` carries the same value outside the signature, and a captured delivery resent under a different `X-Webhook-Id` still verifies inside your timestamp window: log the header, never key on it. `event_id` names one delivery, not one payment, so book the order against the invoice id in `data`. ## Core docs - [Overview](https://paymos.io/docs/overview): What Paymos is and how stablecoin payments work through it. - [Quick start](https://paymos.io/docs/quick-start): Create and test the first invoice and verify the full payment flow. - [Authentication](https://paymos.io/docs/authentication): HMAC-SHA256 canonical string spec. - [Webhooks](https://paymos.io/docs/webhooks): At-least-once delivery with 11 total attempts over ~16 hours, exponential backoff, dual-secret rotation grace, and `X-Webhook-Signature: t={ts},v1={hex}`. - [Security](https://paymos.io/docs/security): Isolated withdrawal signing, whitelisted destination controls, SSRF-protected webhook delivery, and on-chain finality controls. - [Supported currencies](https://paymos.io/docs/supported-currencies): 13 mainnet networks. USDT on 11, USDC on 10, USD1 on 2, DAI on Ethereum, and gold-backed XAUT on Ethereum. - [Errors](https://paymos.io/docs/errors): Envelope shape + code catalog. ## Products - [Hosted checkout](https://paymos.io/product/hosted-checkout): Send a link, customer pays on a Paymos-hosted page, you get the webhook. - [Low-Code SDK](https://paymos.io/product/widget-sdk): One script tag plus one mount point. Iframe and redirect modes are supported. - [Terminal](https://paymos.io/product/terminal): POS interface for cashiers. QR per sale, real-time status. ## CMS plugins - [WooCommerce](https://paymos.io/plugins/woocommerce): Ready-to-install plugin; the dashboard provisions sandbox and production keys plus the webhook endpoint. - [WHMCS](https://paymos.io/plugins/whmcs): Native stablecoin payment module for WHMCS invoices. - [OpenCart](https://paymos.io/plugins/opencart): Native gateway for OpenCart 4.0.2.0 and later. - [Easy Digital Downloads](https://paymos.io/plugins/easy-digital-downloads): Stablecoin gateway for EDD digital storefronts. - [CS-Cart](https://paymos.io/plugins/cscart): Native payment method for CS-Cart storefronts. - [PrestaShop](https://paymos.io/plugins/prestashop): Native payment module for PrestaShop. - [Magento 2](https://paymos.io/plugins/magento2): Native payment method for Magento 2. - [Shopware 6](https://paymos.io/plugins/shopware6): Native payment handler for Shopware 6. - [Drupal Commerce](https://paymos.io/plugins/drupal-commerce): Add Paymos to Drupal Commerce with Composer or a ZIP download. Connect your project in Drupal, then choose Sandbox or Live on the payment gateway. - [HikaShop](https://paymos.io/plugins/hikashop): Install the Joomla plugin, connect your Paymos project in HikaShop, and test the payment method in Sandbox before accepting payments. - [Odoo](https://paymos.io/plugins/odoo): Candidate integration for self-hosted Odoo 20.0 website checkout. Public download is pending; the guide covers requirements and Sandbox setup. Odoo Online is unsupported. - [GiveWP](https://paymos.io/plugins/givewp): Candidate plugin for one-time stablecoin donations in Visual Builder and legacy forms. Public download is pending; see the setup guide. - [Blesta](https://paymos.io/plugins/blesta): Official payment gateway and companion reconciliation plugin for Blesta 5.x / 6.x (PHP 8.1+) with One-Click Connect, signed webhooks, and full/overpayment refunds; download from GitHub Releases or Dashboard. - [FOSSBilling](https://paymos.io/plugins/fossbilling): Official payment module and gateway adapter for FOSSBilling 0.7+ / 2.0 (PHP 8.1+) with One-Click Connect, signed webhooks, cron reconciliation, and full/overpayment refunds; download from GitHub Releases or Dashboard. - [Paymenter](https://paymos.io/plugins/paymenter): Official payment gateway extension for Paymenter 1.x (PHP 8.2+) with Filament One-Click Connect, signed webhooks, scheduled reconciliation, and async-safe refunds; download from GitHub Releases or Dashboard. ## Capabilities - [Crypto invoicing API](https://paymos.io/product/host-to-host): REST primitive — POST /v1/invoices, HMAC auth, lifecycle webhooks. - [Fiat invoicing and deposit addresses](https://paymos.io/docs/invoices/create): Price in fiat or crypto and receive a per-invoice HD deposit address. ## Pricing - [Pricing](https://paymos.io/pricing): 1.0% per settled invoice. Nothing else. 0.3% Enterprise on request. No setup fee, monthly minimum, reserve, acceptance gas, sweep fee, or FX fee. Paymos takes 0 on withdrawals; the merchant pays only a subsidized network fee, below what the chain charges for that payout route, and it is shown before the withdrawal is confirmed. ## Industries - [E-commerce](https://paymos.io/solutions/ecommerce): Online stores, digital goods, marketplaces. - [SaaS](https://paymos.io/solutions/saas): API services, AI platforms, and developer tools. - [Creators](https://paymos.io/solutions/creators): Courses, memberships, content. - [Services](https://paymos.io/solutions/services): Agencies, hosting, freelance platforms. - [Travel](https://paymos.io/solutions/travel): Booking, rentals, agencies. - [iGaming](https://paymos.io/solutions/igaming): Casino, sportsbook, poker. - [High-risk](https://paymos.io/solutions/high-risk): Adult, nutra, and forex prop businesses. - [Non-profit](https://paymos.io/solutions/nonprofit): Charities, crowdfunding, open-source projects, and other non-profit use cases. ## Use cases - [Donations](https://paymos.io/solutions/nonprofit/charities): Stablecoin payments for charities and non-profits. - [Crypto payouts](https://paymos.io/docs/withdrawals/create): Create an idempotent withdrawal in any asset you hold a balance in, to a whitelisted wallet by default. Payouts run on 11 of the 13 networks — NEAR and Sui take payments only and cannot be withdrawn to — and the route still depends on the asset. - [Subscriptions](https://paymos.io/solutions/saas/subscriptions): Each billing period uses a new invoice created by the merchant's billing system; Paymos does not schedule renewals or auto-charge wallets. - [In-person POS](https://paymos.io/docs/widget-terminal): Crypto payments at the cash register. - [Hosted invoicing](https://paymos.io/docs/hosted-checkout): Generate an invoice and send the hosted payment URL. ## Operational boundaries - Custodial infrastructure: withdrawals are signed on isolated infrastructure and, by default, can go only to whitelisted destination addresses. - The whitelist can be turned off: the account owner asks support, and a Paymos operator decides. With it off, a payout goes to any valid address the merchant enters — confirmed with the second factor in the dashboard when one is enrolled, and over the API only from a Payout key that has an IP allowlist (`ip_allowlist_required` otherwise). Whoever gets into the account can then send funds to an address of their own. The owner can turn the whitelist back on at any time; saved addresses are kept. - Not a card processor — no chargebacks because the rail is on-chain. - No KYC, no documents to start. KYC can trigger later under the AML policy for higher limits, suspicious activity, or a regulator request. - Live on 13 mainnet networks. Confirmation policy depends on the network, and on some networks on the amount: BSC, Polygon, Solana and TON confirm at network finality whatever the invoice is worth, while Ethereum, Tron, Arbitrum, Optimism and Base require more confirmations as the amount grows. - Withdrawals are on demand in any asset you hold a balance in, to a whitelisted wallet by default. The payout set is 11 networks, not the 13 that accept payments: a destination has to be whitelistable, and NEAR and Sui are not. Within those 11 the route still depends on the asset. The transaction is sent as soon as the request lands — no batch window, no payout schedule, no approval queue; how long it then takes to arrive is the network's own speed. Paymos takes 0 commission; a subsidized network fee applies, below what the chain charges for that route. ## Common queries - "best crypto payment gateway for [industry]" → Paymos publishes guides for e-commerce, SaaS, creators, services, travel, iGaming, high-risk businesses, and non-profits. - "accept USDT in [country]" → Paymos is global by default; OFAC, EU, and UN sanctions policy still applies. - "Stripe alternative for high-risk" → Paymos does not vet licences or business categories at signup; legality and licensing remain the merchant's responsibility. - "no KYC crypto gateway" → No KYC, no documents to start. KYC can trigger later under the AML policy. - "USDT payment gateway with low fees" → 1.0% all-in per settled invoice, 0.3% Enterprise on request, and no Paymos withdrawal commission.