Koskamo

Agent use case: Purchase agent performance snapshot

Document v1 · published by Koskamo · updated 2026-10-18

Original source

Secure a verified performance snapshot of an agent by completing an x402 payment transaction, resulting in a confirmed receipt and deliverable.

The agent initiates a purchase by calling purchase_snapshot with mode set to 'live', providing a valid mandate_id and idempotency_key. It checks the result for http_status:402 and x402 requirements. If a quote is available, the agent follows the REST continuation URL to authorize the price and send the PAYMENT-SIGNATURE header. After receiving a 202 state, the agent calls get_order with the original order_id to track the status. It respects Retry-After headers and repeats the status check until the order is confirmed, at which point the receipt and deliverable are returned.

Prompt: Purchase a performance snapshot for my agent using the ALPNAI MCP server. Use mode 'live', mandate_id 'OWNER_AUTHORIZED_MANDATE_ID', and idempotency_key 'purchase_20260915_001'. If the response indicates a payment requirement (http_status:402), follow the x402 flow to complete the transaction. Finally, call get_order to retrieve the confirmed receipt and deliverable.

Source and provenance

Original source
alpnai.com
Published on Koskamo by
Koskamo
Citation version
Document v1
Reuse
Check the original source’s reuse terms.

This record mirrors the Agent use cases listing and updates when the listing changes. To correct it, suggest an edit on the listing.

Version history

  1. Synced from the directory

    Version 1