# Amboss > Developer documentation for Amboss Payments — send, receive, and settle USDT, USDC, and Bitcoin over Lightning with one GraphQL API or the TypeScript SDK. Also covers Rails, Reflex, Magma, and Space for Lightning operators. Full documentation as one file: https://docs.amboss.tech/llms-full.txt ## Payments API (primary product) - [Payments](https://docs.amboss.tech/payments): GraphQL API for sending, receiving, and settling payments in USDT, USDC, and BTC over Lightning. Sub-second settlement, near-zero fees, 24/7, no chargebacks. - [API Keys](https://docs.amboss.tech/payments/api-keys): Create and manage service API keys for the Amboss Payments API, scoped per environment with explicit resource permissions. - [Branding](https://docs.amboss.tech/payments/branding): Show your logo, name and brand colour on checkout pages. Make one branding per store or product and pick it for each checkout link. - [Checkout Links](https://docs.amboss.tech/payments/checkout-links): Send your customer a link to a hosted payment page. It shows the invoice, updates live when paid, and sends them back to your shop. - [Environments](https://docs.amboss.tech/payments/environments): Environments scope wallets, API keys, and webhook endpoints in the Amboss Payments API. Use sandbox first, then promote to production. - [FAQ](https://docs.amboss.tech/payments/faq): Frequently asked questions about Amboss Payments — coverage, settlement, fees, supported assets, and webhook behavior. - [Get Started](https://docs.amboss.tech/payments/getting-started): Sandbox-first quickstart for the Amboss Payments API. Create an environment, mint a key, receive a test payment, and listen for webhooks in minutes. - [How It Works](https://docs.amboss.tech/payments/how-it-works): How Amboss Payments uses Lightning to settle USDT, USDC, and Bitcoin in seconds — and why you don't have to run any infrastructure yourself. - [Integrate the Payments API](https://docs.amboss.tech/payments/integrate): End-to-end Amboss Payments walkthrough — API key, environment, wallet, invoice, and first received payment in BTC or stablecoin. - [Lightning Addresses](https://docs.amboss.tech/payments/lightning-addresses): Claim a Lightning Address like shop@ambosspay.com so anyone can pay you from a Lightning wallet. Payments land in your wallet as normal receives. - [Pay with USDT](https://docs.amboss.tech/payments/pay-with-usdt): Let a customer pay a Lightning receive with USDT on Tron. One public mutation gives them a deposit address, and the receive settles like any other. - [Payment Destinations](https://docs.amboss.tech/payments/payment-destinations): Save Lightning Addresses as reusable payment destinations, optionally tagged with the currency the recipient converts to. - [Pricing](https://docs.amboss.tech/payments/pricing): Amboss Payments pricing: sandbox is free, live pricing is tailored to your payment volume and business requirements. - [Prompt for Agents](https://docs.amboss.tech/payments/prompt-for-agents): A copy-paste prompt that gives Claude Code, Codex, Cursor, or any coding agent everything it needs to integrate the Amboss Payments GraphQL API correctly. - [Receive Payments](https://docs.amboss.tech/payments/receive-payments): Receive Bitcoin and stablecoin payments via Lightning. Generate BOLT11 invoices, render QR codes, and track status through webhooks. - [Send Payments](https://docs.amboss.tech/payments/send-payments): Pay outbound Lightning invoices, Lightning Addresses, and saved payment destinations programmatically from any Amboss wallet. - [Verify Webhooks](https://docs.amboss.tech/payments/verify-webhooks): Verify HMAC signatures on Amboss Payments webhooks before applying side effects. Code samples for safe handler implementations. - [Wallets](https://docs.amboss.tech/payments/wallets): Create and manage single-asset wallets in the Amboss Payments API. One wallet per asset (BTC sats or Taproot Assets like USDT). - [Webhooks](https://docs.amboss.tech/payments/webhooks): Subscribe to payment lifecycle events with Amboss webhooks. Per-environment endpoints, signed deliveries, and at-least-once retries. ## Payments TypeScript SDK - [TypeScript SDK](https://docs.amboss.tech/sdk): Official TypeScript SDK for the Amboss Payments API. Typed clients for environments, wallets, and transactions, plus built-in webhook verification. - [Configuration](https://docs.amboss.tech/sdk/configuration): Construct the Amboss Payments client: service API keys, webhook secrets, custom base URLs, timeouts, and a custom fetch implementation. - [Environments and Wallets](https://docs.amboss.tech/sdk/environments-and-wallets): List, fetch, create, and delete payment environments and wallets with the Amboss Payments SDK. - [Errors](https://docs.amboss.tech/sdk/errors): Typed error classes thrown by the Amboss Payments SDK: ApiError, ConfigError, NetworkError, WebhookVerificationError, DecryptionError, and PaymentSendError. - [Get Started](https://docs.amboss.tech/sdk/getting-started): Install the Amboss Payments SDK, construct a client, discover your wallets, receive a test payment, and verify the webhook in TypeScript. - [Prompt for Agents](https://docs.amboss.tech/sdk/prompt-for-agents): A copy-paste prompt that gives Claude Code, Codex, Cursor, or any coding agent everything it needs to integrate the @ambosstech/payments TypeScript SDK correctly. - [Transactions](https://docs.amboss.tech/sdk/transactions): Create Lightning invoices and send payments to BOLT11 invoices or Lightning Addresses with the Amboss Payments SDK, including live progress and sandbox testing. - [Webhooks](https://docs.amboss.tech/sdk/webhooks): Verify Amboss Payments webhooks with the SDK. Instance and static APIs, raw-body handling for Express, NestJS, and Fetch, and typed error codes. ## Deep Dives - [Taproot Assets in Amboss](https://docs.amboss.tech/deep-dives/taproot-assets): How Amboss uses Taproot Assets to enable Lightning-native stablecoin liquidity, decentralized trading, and multi-asset routing across Rails, RailsX, and Magma. ## API Guide (all products) - [Developer](https://docs.amboss.tech/developer): Integrate with Amboss APIs. Authentication, GraphQL endpoints, code examples, and the official TypeScript SDK for Space, Rails, Magma, Reflex, and Payments. - [Authentication](https://docs.amboss.tech/developer/authentication): Authenticate Amboss API requests with API keys. Reference of per-product GraphQL endpoints and required headers for Space, Rails, Magma, Reflex, and Payments. - [GraphQL Explorer](https://docs.amboss.tech/developer/graphql-explorer): Browse, query, and test every Amboss GraphQL API directly in your browser using Apollo Studio — no coding required. - [List vs. Detail Types](https://docs.amboss.tech/developer/graphql-types): Amboss GraphQL APIs return trimmed Simple* types for list views and full types for detail views. Understand which fields are available where. - [Making Requests](https://docs.amboss.tech/developer/making-requests): Call Amboss GraphQL APIs from cURL, Node.js, and Postman with copy-paste examples for authenticated queries and mutations. ## Magma · Liquidity (for Lightning operators) - [Magma](https://docs.amboss.tech/magma): Lightning liquidity, on demand. Buy and sell channel capacity on the Magma peer-to-peer marketplace with AI-matched orders. - [API Reference](https://docs.amboss.tech/magma/api-reference): Complete GraphQL operation index for the Magma liquidity marketplace API, plus the LSP REST endpoints and the core type definitions. - [Authentication](https://docs.amboss.tech/magma/authentication): How to authenticate with the Magma API using API keys, and how to accept the Terms before buying. Covers buyer and seller flows. - [Buy Liquidity](https://docs.amboss.tech/magma/buy-liquidity): Purchase inbound Lightning capacity through the Magma API. Estimate cost, place a buy order, pay the invoice, and confirm the channel. - [Create Offers](https://docs.amboss.tech/magma/create-offers): Post liquidity for sale on the Magma marketplace - create, update, and toggle offers with conditions and onchain priority. - [Errors](https://docs.amboss.tech/magma/errors): Common errors returned by the Magma API and how to handle them, including auth failures, payment errors, and order cancellation reasons. - [FAQ](https://docs.amboss.tech/magma/faq): Common questions about Magma - pricing, custody, supported nodes, the developer experience, and how the marketplace works end-to-end. - [Get Started](https://docs.amboss.tech/magma/getting-started): Five-minute quickstart for the Magma API - buy inbound Lightning liquidity from your first API call to a confirmed channel. - [Integrate the Magma API](https://docs.amboss.tech/magma/integrate): End-to-end Magma walkthrough - API key, cost estimate, buy mutation, HODL payment, polling, and recovery. Production-grade code you can copy. - [Liquidity Marketplace](https://docs.amboss.tech/magma/liquidity-marketplace): How the Magma marketplace works - HODL invoices, non-custodial settlement, matching, and the order lifecycle at a glance. - [LSP REST API (BLIP-0051)](https://docs.amboss.tech/magma/lsp-api): Magma's BLIP-0051-compatible REST endpoints for Lightning Service Provider integration. Buy inbound capacity from standard LSP clients. - [Migrate from the Legacy API](https://docs.amboss.tech/magma/migrate-from-legacy-api): Move a Magma integration from the deprecated api.amboss.space endpoint to magma.amboss.tech/graphql. Operation-by-operation mapping for buyers and sellers. - [Order Lifecycle](https://docs.amboss.tech/magma/order-lifecycle): Every status a Magma order can move through, who acts at each step, and the terminal states. Includes a full state machine diagram. - [Orders and Offers](https://docs.amboss.tech/magma/orders-and-offers): The Magma marketplace data model - offers, orders, fees, conditions, and promises. The vocabulary you need for every API call. - [Reputation Scores](https://docs.amboss.tech/magma/reputation): How Magma scores sellers and buyers from 0 to 100, what moves the score, who can see it, and how to improve it. - [Sell Liquidity](https://docs.amboss.tech/magma/sell-liquidity): Fulfil Magma orders as a seller - accept, reject, and confirm channel openings. Authenticated mutations with full code examples. - [Liquidity Subscriptions](https://docs.amboss.tech/magma/subscriptions): Recurring monthly inbound Lightning liquidity via the Magma API. Create, manage, and cancel subscriptions programmatically. - [Tracking Orders](https://docs.amboss.tech/magma/tracking-orders): How to poll the Magma API for order status updates. Recommended cadence, terminal-state detection, and a complete reference polling loop. ## Rails · Yield (for Lightning operators) - [Rails Yield](https://docs.amboss.tech/rails): Access yield on Bitcoin without giving up custody. Rails Yield routes payments and leases liquidity on your behalf so your sats earn — no lending, no counterparty risk. - [API Reference](https://docs.amboss.tech/rails/api-reference): Rails Yield GraphQL API — endpoint, authentication, rate limits, error format, and per-resource reference for nodes, liquidity, and direct LND access. - [Assets](https://docs.amboss.tech/rails/assets): Asset support in Rails Yield — Bitcoin and optional Taproot Assets — and the GraphQL surface for enabling, configuring, and querying per-asset balances. - [Deploy a Node](https://docs.amboss.tech/rails/deploy): Why Rails Yield node deployment runs in the dashboard — the client-side cryptography it depends on — and where the API takes over once a node is active. - [FAQ](https://docs.amboss.tech/rails/faq): Frequently asked questions about Rails Yield — custody, yield sources, withdrawals, and developer questions about API auth, rate limits, sandbox, and password hash. - [Fully Managed](https://docs.amboss.tech/rails/fully-managed): Rails Yield with Amboss running the Lightning node and the automation — fastest path to deployed Bitcoin yield with no DevOps overhead. - [Get Started](https://docs.amboss.tech/rails/getting-started): Dashboard-first quickstart for Rails Yield — deploy a node, fund it, activate, and start monitoring earnings via the GraphQL API in under an hour. - [Integrate Rails Yield](https://docs.amboss.tech/rails/integrate): End-to-end developer walkthrough — deploy a Rails Yield node, monitor balances and revenue, and initiate withdrawals using the GraphQL API. - [Intelligence API](https://docs.amboss.tech/rails/intelligence-api): Run your own Lightning node and automation, and use Amboss insights to drive channel and routing decisions — no inbound connection from Amboss to your node. - [Liquidity API](https://docs.amboss.tech/rails/liquidity-api): GraphQL reference for Rails Yield earnings and balances — funds, balance and revenue charts, transaction history, stats, and per-asset balances under user.liquidity_provider. - [LND API](https://docs.amboss.tech/rails/lnd-api): Pull a node's macaroons from the Rails API and call LND or Litd directly over gRPC/REST for low-level operations not surfaced through the Rails GraphQL. - [Monitor Earnings](https://docs.amboss.tech/rails/monitor): Track Rails Yield node performance — balances, routing and liquidity revenue, charts, and transaction history — via the dashboard and the GraphQL API. - [Node Lifecycle](https://docs.amboss.tech/rails/node-lifecycle): The state machine for a Rails Yield node — every state, the action that advances it, and how to query progress via the API. - [Nodes API](https://docs.amboss.tech/rails/nodes-api): GraphQL reference for Rails Yield node operations — deploy, connect, activate, deactivate, change settings, and query state, sockets, credentials, and partners. - [Security](https://docs.amboss.tech/rails/security): Account security guidance for Rails users — protecting credentials, 2FA, withdrawal limits, and best practices for keeping your sats safe. - [Setup Options](https://docs.amboss.tech/rails/setup): Choose the Rails Yield deployment model that fits your stack — Fully Managed, Third Party Hosted, or Intelligence API — and the permissions and trade-offs of each. - [Third Party Hosted](https://docs.amboss.tech/rails/third-party-hosted): Connect your own LND or Litd node to Rails Yield — Amboss runs liquidity automation against the node you already operate. - [Withdraw Funds](https://docs.amboss.tech/rails/withdraw): Initiate a Rails Yield withdrawal — set a withdrawal target, derive the master-account password hash, and track funds becoming available as channels unwind. - [Yield Sources](https://docs.amboss.tech/rails/yield-sources): Where Rails yield comes from — payment routing fees and Magma marketplace liquidity leases on Lightning. No lending, no counterparty risk. ## Reflex · Compliance (for Lightning operators) - [Reflex](https://docs.amboss.tech/reflex): Automated risk management for Lightning operations. Screen payments, investigate nodes, and meet compliance requirements with the Reflex API. - [Reflex API Reference](https://docs.amboss.tech/reflex/api-reference): GraphQL API reference for Reflex — programmatic compliance, risk scoring, and screening for Lightning Network operations. - [Authenticate Webhook Payloads](https://docs.amboss.tech/reflex/authenticate-webhooks): Verify Reflex webhook events with HMAC-SHA256 signatures. Prevent spoofed callbacks before applying compliance side effects. - [Check a Lightning Address](https://docs.amboss.tech/reflex/check-lightning-address): Step-by-step Reflex workflow to screen a Lightning Address for compliance, sanctions, and risk indicators before transacting. - [Check a Lightning Invoice](https://docs.amboss.tech/reflex/check-lightning-invoice): Step-by-step Reflex workflow to screen a Lightning Invoice for compliance and risk signals before settlement. - [Check a Lightning Node](https://docs.amboss.tech/reflex/check-lightning-node): Step-by-step Reflex workflow to screen a Lightning Node for compliance, sanctions, and risk indicators across peers and channels. - [FAQ](https://docs.amboss.tech/reflex/faq): Frequently asked questions about Reflex — coverage, data sources, false positives, and Lightning Network compliance scoring. - [First Compliance Check](https://docs.amboss.tech/reflex/getting-started): Get up and running with Reflex in minutes. Run your first automated compliance workflow against a Lightning node, invoice, or address. - [Research](https://docs.amboss.tech/reflex/research): Reflex Research — manually investigate Lightning Network nodes. Inspect peers, channels, IP addresses, and risk signals for compliance reviews. - [Workflows](https://docs.amboss.tech/reflex/workflows): Automated Reflex workflows for compliance investigations across Lightning Network nodes, invoices, and Lightning Addresses. ## Resources - [Resources](https://docs.amboss.tech/resources): Reference material for the Amboss platform — glossary, brand assets, and support channels. - [Brand Assets](https://docs.amboss.tech/resources/brand-assets): Amboss brand assets — logos, wordmarks, and color guidance for partners, press, and integrators. - [Glossary](https://docs.amboss.tech/resources/glossary): Glossary of Lightning Network and Amboss platform terminology — channels, HTLCs, sats, Taproot Assets, and more. - [Support](https://docs.amboss.tech/resources/support): Get help with Amboss products. Email, community forums, and direct contact channels with the Amboss support team. ## Space · Network explorer - [Space](https://docs.amboss.tech/space): Explore the Lightning Network with Space. Search nodes, trace channels, and monitor network health in real time. - [Space API Reference](https://docs.amboss.tech/space/api-reference): GraphQL API reference for Space — programmatic access to Lightning Network explorer data, node analytics, and channel information. - [Channel Analytics](https://docs.amboss.tech/space/channel-analytics): Analyze Lightning channel performance, trace liquidity flows, and explore the network's channel landscape with Space. - [Dev Tools](https://docs.amboss.tech/space/dev-tools): Lightweight Lightning developer utilities in Space — invoice decoders, message signing helpers, and network lookups. - [FAQ](https://docs.amboss.tech/space/faq): Frequently asked questions about Space — coverage, data freshness, and how to use the Lightning Network explorer. - [Network Explorer](https://docs.amboss.tech/space/network-explorer): Search and explore any node or channel on the Lightning Network using Space — the Amboss Lightning Network explorer. - [Node Login](https://docs.amboss.tech/space/node-login): Register and manage your Lightning node profile on Space. Required only if you want to claim and configure your node's public page. - [Node Monitoring](https://docs.amboss.tech/space/node-monitoring): Track your Lightning node's health, connectivity, channel performance, and uptime through Space monitoring. - [Node Page](https://docs.amboss.tech/space/node-page): Every node on the Lightning Network has a dedicated Space page. Search by alias, pubkey, or identifier to view its profile. - [Stats](https://docs.amboss.tech/space/stats): Lightning Network statistics — global health, capacity, channel counts, and node-level performance rankings. - [Verify Your Identity](https://docs.amboss.tech/space/verify-identity): Cryptographically prove ownership of your Lightning node by linking it to your verified Twitter or social identity on Space.