Description
Send a real physical letter (US first-class, US certified, or international) via Lob's Print & Mail network. This is an ACTION endpoint, not a data lookup: it prints and mails a physical letter to the destination address once payment settles. Requires a quote_id from POST /api/quote (free) and a client_request_id for idempotency. The submitted "from" address is the sender of record.
Documentation
Send a physical letter (THE paid action)
Prints and mails a real physical letter via Lob once payment settles. Requires a quote_id from POST /api/quote (recomputed and verified server-side; mismatched or expired quotes are rejected with 400 BEFORE payment is requested) and a client_request_id (8-128 chars) for idempotency — replaying the same client_request_id with the same order returns the original result without double-charging or double-sending. Price varies by service: standard $3.00, certified $12.00, certified_return_receipt $14.00, international $5.00 (see /pricing.md). Every order is capped at $25.00 total.
**Price:** $3 USDC per call
Calls go directly to PulseNetwork. Paid routes use the live x402 challenge; Apiosk never rewrites payTo or settles the payment.
Authentication
No account or API key. Pay PulseNetwork directly using the live x402 challenge. The challenge is authoritative for price, network, asset and payTo.
Request schema
{
"properties": {
"amount_micro": {
"description": "From POST /api/quote, copied verbatim",
"type": "string"
},
"client_request_id": {
"description": "Unique per letter. Enables safe retries — replay returns the original result, never a duplicate send.",
"maxLength": 128,
"minLength": 8,
"type": "string"
},
"content": {
"description": "Identical to the quote",
"type": "object"
},
"from": {
"description": "Sender-of-record address — identical to the quote",
"type": "object"
},
"issued_at": {
"description": "From POST /api/quote, copied verbatim",
"type": "string"
},
"pages_estimate": {
"default": 1,
"maximum": 6,
"minimum": 1,
"type": "integer"
},
"quote_id": {
"description": "From POST /api/quote",
"type": "string"
},
"service": {
"enum": [
"standard",
"certified",
"certified_return_receipt",
"international"
],
"type": "string"
},
"to": {
"description": "Recipient address — identical to the quote",
"type": "object"
}
},
"required": [
"quote_id",
"issued_at",
"amount_micro",
"service",
"to",
"from",
"content",
"client_request_id"
],
"type": "object"
}
Example request
{
"amount_micro": "test",
"client_request_id": "test",
"content": {},
"from": {},
"issued_at": "test",
"pages_estimate": 1,
"quote_id": "test",
"service": "standard",
"to": {}
}