Skip to main content
GET
/
api
/
ap2
/
agent-card
Get the default agent card for AP2 payments
curl --request GET \
  --url https://mag3nt.com/api/ap2/agent-card \
  --header 'Authorization: Bearer <token>'
{
  "agent_card": {
    "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"
  }
}

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

Response

200 - application/json

Agent card

agent_card
object