# mag3nt ## Docs - [Create a spending mandate for recurring AP2 payments](https://docs.mag3nt.com/api-reference/ap2/create-a-spending-mandate-for-recurring-ap2-payments.md) - [Execute a payment against an AP2 mandate](https://docs.mag3nt.com/api-reference/ap2/execute-a-payment-against-an-ap2-mandate.md) - [Get the default agent card for AP2 payments](https://docs.mag3nt.com/api-reference/ap2/get-the-default-agent-card-for-ap2-payments.md) - [List available payment methods for AP2](https://docs.mag3nt.com/api-reference/ap2/list-available-payment-methods-for-ap2.md) - [List mandates for a card](https://docs.mag3nt.com/api-reference/ap2/list-mandates-for-a-card.md) - [Create a CDP wallet session](https://docs.mag3nt.com/api-reference/auth/create-a-cdp-wallet-session.md) - [Destroy current session](https://docs.mag3nt.com/api-reference/auth/destroy-current-session.md) - [Request a signing challenge](https://docs.mag3nt.com/api-reference/auth/request-a-signing-challenge.md) - [Verify wallet signature and create session](https://docs.mag3nt.com/api-reference/auth/verify-wallet-signature-and-create-session.md) - [Claim a card using its token](https://docs.mag3nt.com/api-reference/cards/claim-a-card-using-its-token.md) - [Freeze a card to block all transactions](https://docs.mag3nt.com/api-reference/cards/freeze-a-card-to-block-all-transactions.md) - [Issue a new virtual payment card](https://docs.mag3nt.com/api-reference/cards/issue-a-new-virtual-payment-card.md): Creates a card backed by your treasury balance. Provide `tx_hash` for UI pay-and-issue flow (card starts as PENDING_FUNDING). Omit `tx_hash` to allocate from pre-funded balance. - [Issue multiple cards in a single atomic request](https://docs.mag3nt.com/api-reference/cards/issue-multiple-cards-in-a-single-atomic-request.md): Creates up to 1000 cards atomically. All cards are allocated from treasury balance in a single atomic operation. Supports idempotency via header. - [List all cards for the authenticated wallet](https://docs.mag3nt.com/api-reference/cards/list-all-cards-for-the-authenticated-wallet.md) - [List transactions for a card](https://docs.mag3nt.com/api-reference/cards/list-transactions-for-a-card.md) - [Unfreeze a previously frozen card](https://docs.mag3nt.com/api-reference/cards/unfreeze-a-previously-frozen-card.md) - [Update card spending controls](https://docs.mag3nt.com/api-reference/cards/update-card-spending-controls.md) - [Get on-chain wallet USDC balance](https://docs.mag3nt.com/api-reference/funding/get-on-chain-wallet-usdc-balance.md) - [Get treasury balance for authenticated wallet](https://docs.mag3nt.com/api-reference/funding/get-treasury-balance-for-authenticated-wallet.md) - [List accepted tokens per network](https://docs.mag3nt.com/api-reference/funding/list-accepted-tokens-per-network.md) - [Withdraw USDC from treasury to wallet](https://docs.mag3nt.com/api-reference/funding/withdraw-usdc-from-treasury-to-wallet.md) - [Generate a new API key](https://docs.mag3nt.com/api-reference/keys/generate-a-new-api-key.md): Returns the raw key once. Store it securely — it cannot be retrieved again. - [List all API keys for the authenticated wallet](https://docs.mag3nt.com/api-reference/keys/list-all-api-keys-for-the-authenticated-wallet.md) - [Revoke an API key](https://docs.mag3nt.com/api-reference/keys/revoke-an-api-key.md) - [Validate an API key or session token](https://docs.mag3nt.com/api-reference/keys/validate-an-api-key-or-session-token.md) - [Advance a payment stream by one tick](https://docs.mag3nt.com/api-reference/mpp/advance-a-payment-stream-by-one-tick.md) - [Close a payment stream](https://docs.mag3nt.com/api-reference/mpp/close-a-payment-stream.md) - [Create an MPP payment session](https://docs.mag3nt.com/api-reference/mpp/create-an-mpp-payment-session.md) - [Discover MPP capabilities for a URL](https://docs.mag3nt.com/api-reference/mpp/discover-mpp-capabilities-for-a-url.md) - [Get payment stream details](https://docs.mag3nt.com/api-reference/mpp/get-payment-stream-details.md) - [Make a micropayment via MPP protocol](https://docs.mag3nt.com/api-reference/mpp/make-a-micropayment-via-mpp-protocol.md) - [Open a payment stream for continuous micropayments](https://docs.mag3nt.com/api-reference/mpp/open-a-payment-stream-for-continuous-micropayments.md) - [Verify and accept an MPP payment](https://docs.mag3nt.com/api-reference/mpp/verify-and-accept-an-mpp-payment.md) - [Cancel a pay link](https://docs.mag3nt.com/api-reference/pay-links/cancel-a-pay-link.md) - [Check pay link payment status](https://docs.mag3nt.com/api-reference/pay-links/check-pay-link-payment-status.md) - [Create a shareable payment link](https://docs.mag3nt.com/api-reference/pay-links/create-a-shareable-payment-link.md) - [Get public pay link details](https://docs.mag3nt.com/api-reference/pay-links/get-public-pay-link-details.md) - [List pay links for authenticated wallet](https://docs.mag3nt.com/api-reference/pay-links/list-pay-links-for-authenticated-wallet.md) - [Prepare payment intent for a pay link](https://docs.mag3nt.com/api-reference/pay-links/prepare-payment-intent-for-a-pay-link.md) - [Resolve a pay link for payment processing](https://docs.mag3nt.com/api-reference/pay-links/resolve-a-pay-link-for-payment-processing.md) - [Settle a pay link payment](https://docs.mag3nt.com/api-reference/pay-links/settle-a-pay-link-payment.md) - [Check settlement status for a transaction](https://docs.mag3nt.com/api-reference/settlement/check-settlement-status-for-a-transaction.md) - [Get platform status, supported protocols, and capabilities](https://docs.mag3nt.com/api-reference/status/get-platform-status-supported-protocols-and-capabilities.md) - [Get treasury addresses and token registry](https://docs.mag3nt.com/api-reference/status/get-treasury-addresses-and-token-registry.md) - [Discover x402 payment requirements for a URL](https://docs.mag3nt.com/api-reference/x402/discover-x402-payment-requirements-for-a-url.md) - [Pay for a service via x402 protocol](https://docs.mag3nt.com/api-reference/x402/pay-for-a-service-via-x402-protocol.md): Authorizes a payment against a funded card. The card must be ACTIVE with sufficient allocation. Returns payment headers the agent can attach to retry the original 402 request. - [Verify and accept an x402 payment](https://docs.mag3nt.com/api-reference/x402/verify-and-accept-an-x402-payment.md) - [Authentication](https://docs.mag3nt.com/authentication.md): API keys, wallet sessions, and security best practices. - [Cards](https://docs.mag3nt.com/concepts/cards.md): Virtual payment cards for AI agents — issuance, controls, and lifecycle. - [Funding](https://docs.mag3nt.com/concepts/funding.md): Deposits, treasury balance, withdrawals, and multi-network support. - [Payment Protocols](https://docs.mag3nt.com/concepts/protocols.md): x402, AP2, and MPP — three protocols for agent-to-service and agent-to-agent payments. - [Settlement](https://docs.mag3nt.com/concepts/settlement.md): How payments settle on-chain — fees, timing, and status tracking. - [mag3nt](https://docs.mag3nt.com/index.md): Payment infrastructure for AI agents. Issue virtual cards, pay for APIs, settle in USDC. - [Quickstart](https://docs.mag3nt.com/quickstart.md): Issue your first virtual card and make a payment in 5 minutes. - [Python SDK](https://docs.mag3nt.com/sdks/python.md): Install and configure the mag3nt Python SDK. - [TypeScript SDK](https://docs.mag3nt.com/sdks/typescript.md): Install and configure the mag3nt TypeScript SDK. ## OpenAPI Specs - [openapi](https://docs.mag3nt.com/openapi.yaml) ## Optional - [GitHub](https://github.com/mag3nt-com) - [Dashboard](https://mag3nt.com)