Skip to main content

1. Get an API key

Sign in at mag3nt.com with your wallet, then generate an API key from the dashboard.

2. Install the SDK

3. Initialize the client

4. Fund your treasury

Send USDC or pathUSD to your treasury address (e.g. Base, Solana, or Tempo). Check your balance:

5. Issue a card

6. Make a payment

Use your card to make a payment. mag3nt. automatically detects the protocol (x402, MPP, or AP2) and settles on-chain:

Next steps

Card controls

MCC locks, single-use cards, spending limits

W3C HTTP Headers

How 402 payment challenges work

Funding

Deposits, balance, multi-network support

API Reference

All 42 endpoints with interactive examples