POST

Prepaid document-agent bundle ($0.30) — 50× ocr + 20× md-pdf + 15× memory/store

/v1/_bundles/document-agent/purchase

Agent-native · bundles

Request → Response

Examples from schemas.json.

Requestapplication/json
POST /v1/_bundles/document-agent/purchase
Content-Type: application/json

{
  "wallet": "0x0000000000000000000000000000000000000000"
}
Responseapplication/json
HTTP/1.1 200 OK
Content-Type: application/json

// Endpoint-specific body after 402 settlement

Overview

Prepaid document-agent bundle ($0.30) — 50× ocr + 20× md-pdf + 15× memory/store.

Request schema

Body: JSON · application/json

FieldTypeDescription
walletstringoptionalpattern: ^0x[0-9a-fA-F]{40}$
IMPLEMENTATION
curl -X POST https://api.tools402.dev/v1/_bundles/document-agent/purchase \
  -H "Content-Type: application/json" \
  -d '{
  "wallet": "0x0000000000000000000000000000000000000000"
}'

402 payment flow omitted — see Integrations for settlement.