# SwiftPay Developer Docs ## Docs - [Create an invoice](https://docs.swiftpay.finance/api-reference/endpoints/invoice/create-invoice.md): Creates a new payment invoice and returns network-specific deposit addresses. If `externalRef` is provided and an invoice already exists with that reference, the existing invoice is returned (idempotent). - [Get an invoice](https://docs.swiftpay.finance/api-reference/endpoints/invoice/get-invoice.md): Returns a single invoice by its ID, including all associated transactions. - [List invoice transactions](https://docs.swiftpay.finance/api-reference/endpoints/invoice/list-invoice-transactions.md): Returns all on-chain transactions (both inbound payments and outbound forwards) associated with a specific invoice. - [List invoices](https://docs.swiftpay.finance/api-reference/endpoints/invoice/list-invoices.md): Returns a paginated list of all invoices for your merchant account, ordered by creation date (newest first). - [Rescan invoice](https://docs.swiftpay.finance/api-reference/endpoints/invoice/rescan-invoice.md): Replays a block range (or a specific transaction) on-chain to recover any transfers that were missed by the live event stream. Useful after downtime, RPC outages, or when a payment was sent before the invoice was being watched. - [List supported chains](https://docs.swiftpay.finance/api-reference/endpoints/utils/get-chains.md): Returns all EVM chains that SwiftPay supports for invoice settlement. No authentication required. - [List supported tokens](https://docs.swiftpay.finance/api-reference/endpoints/utils/get-tokens.md): Returns all stablecoins and tokens that SwiftPay supports, including their contract addresses per chain. No authentication required. - [Deactivate endpoint](https://docs.swiftpay.finance/api-reference/endpoints/x402/deactivate-endpoint.md): Soft-deletes an x402 endpoint. The endpoint is marked inactive and will no longer be returned by requirement lookups. The on-chain forwarder is unaffected. - [List endpoints](https://docs.swiftpay.finance/api-reference/endpoints/x402/list-endpoints.md): Returns all x402 endpoints registered for your merchant account, ordered by creation date (newest first). - [Get payment status](https://docs.swiftpay.finance/api-reference/endpoints/x402/payment-status.md): Returns the current status of a payment by its EIP-3009 nonce. Use this to check idempotently whether a nonce was already settled before calling settle again (e.g. after a network timeout). No authentication required. - [Register endpoint](https://docs.swiftpay.finance/api-reference/endpoints/x402/register-endpoint.md): Registers a new x402-protected endpoint for your merchant account. If the merchant's forwarder contract has not been deployed on-chain yet, this call triggers the deployment (synchronous — may take several seconds). Returns the endpoint record and the `PaymentRequirements` object your middleware sho… - [Get requirements by ID](https://docs.swiftpay.finance/api-reference/endpoints/x402/requirements-by-id.md): Returns the `PaymentRequirements` for a specific endpoint by its UUID. - [Get requirements by URL](https://docs.swiftpay.finance/api-reference/endpoints/x402/requirements-by-url.md): Returns the `PaymentRequirements` for the endpoint registered under the given URL. This is the primary route for server middleware — look up requirements by the route being protected rather than tracking endpoint UUIDs. - [Settle payment](https://docs.swiftpay.finance/api-reference/endpoints/x402/settle.md): Verifies the EIP-712 signature, atomically claims the nonce (replay protection), and executes the on-chain USDC transfer via the merchant's forwarder contract. Call this from your server middleware on every round-2 request. No authentication required. - [List supported networks](https://docs.swiftpay.finance/api-reference/endpoints/x402/supported.md): Returns all EVM chains configured for x402 facilitation, together with the accepted payment scheme and the facilitator signer address per network. No authentication required. - [Verify payment payload](https://docs.swiftpay.finance/api-reference/endpoints/x402/verify.md): Validates an EIP-3009 payment payload against the provided requirements without executing any on-chain transaction. Use this as a pre-check before calling settle, or to surface clear error messages to the client. No authentication required. - [API Reference](https://docs.swiftpay.finance/api-reference/introduction.md): Base URL, API key types, and how to authenticate requests to the SwiftPay API. - [Webhooks](https://docs.swiftpay.finance/api-reference/miscellaneous/webhook.md): Receive real-time event notifications for payment activity on your SwiftPay account. - [Hosted Checkout](https://docs.swiftpay.finance/checkout-integration.md): Redirect users to SwiftPay's hosted payment page - [Embedded iFrame](https://docs.swiftpay.finance/iframe-integration.md): Embed the checkout widget directly in your webpage - [Introduction](https://docs.swiftpay.finance/index.md): Accept stablecoin payments on any EVM chain — non-custodial, programmable, and compliant. Build invoice flows or protect any API endpoint with native HTTP 402 payments. - [Integration options](https://docs.swiftpay.finance/integration.md): Pick the right SwiftPay integration model for your stack. - [Quickstart](https://docs.swiftpay.finance/quickstart.md): Get started integrating SwiftPay APIs from your dashboard and authenticate with API keys. - [Sandbox Environment](https://docs.swiftpay.finance/sandbox.md): Test your integration safely before going live - [SDKs Overview](https://docs.swiftpay.finance/sdk-overview.md): Official SDKs for frontend and backend payment integration - [Checkout SDK](https://docs.swiftpay.finance/sdks/checkout-sdk.md): Browser and React SDK for accepting stablecoin payments - [Node.js SDK](https://docs.swiftpay.finance/sdks/nodejs-sdk.md): Server-side TypeScript SDK for invoice and payment management - [Python SDK](https://docs.swiftpay.finance/sdks/python-sdk.md): Server-side Python SDK with sync and async support - [x402 Node.js Guard](https://docs.swiftpay.finance/sdks/x402-nodejs.md): HTTP 402 payment middleware for Express and Fastify - [x402 FastAPI Guard](https://docs.swiftpay.finance/sdks/x402-python.md): HTTP 402 payment middleware for FastAPI - [x402 Payments](https://docs.swiftpay.finance/x402.md): Protect any API endpoint with native stablecoin payment using the HTTP 402 Payment Required protocol. ## OpenAPI Specs - [openapi](https://docs.swiftpay.finance/openapi.json)