Skip to main content
POST
/
api
/
issue
/
bulk
Issue multiple cards in a single atomic request
curl --request POST \
  --url https://mag3nt.com/api/issue/bulk \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "cards": [
    {
      "purpose": "<string>",
      "limit_amount": 123
    }
  ],
  "network": "eip155:8453",
  "asset": "USDC"
}
'
{
  "success": true,
  "cards": [
    {
      "id": "sx_a66a6666-1234-5678-9abc-def012345678",
      "token": "tok_3b9fe670-abcd-efgh-ijkl-mnopqrstuvwx",
      "purpose": "Research Agent",
      "limit_amount": 50,
      "status": "ACTIVE",
      "mcc_locks": "",
      "single_use": 0,
      "expires_at": "2023-11-07T05:31:56Z",
      "funding_network": "eip155:8453",
      "funding_asset": "USDC",
      "wallet_address": "0x1234...abcd",
      "balance": 0,
      "remaining": 50,
      "created_at": "2023-11-07T05:31:56Z"
    }
  ],
  "total_allocated": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.mag3nt.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Session token from POST /api/auth/verify

Headers

Idempotency-Key
string

Unique key to prevent duplicate bulk operations

Body

application/json
cards
object[]
required
network
string
default:eip155:8453
asset
string
default:USDC

Response

Cards created

success
boolean
cards
object[]
total_allocated
number