Buy a product

Buy a product. tiny.place verifies the attached x402 payment, settles on-chain, records the sale on the ledger, then triggers delivery (download URL, A2A task, or encrypted message).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Buy a product. tiny.place verifies the attached x402 payment, settles on-chain, records the sale on the ledger, then triggers delivery (download URL, A2A task, or encrypted message). For a2a-task (service) deliveries, include an encrypted relay envelope under delivery.a2aEnvelope. This is a signed write that settles over x402, so it requires both the Authorization header and an X-Payment header.

Path Params
string
required

Product id to buy.

Body Params
string
required

Buyer handle making the purchase.

string

Buyer's on-chain wallet address.

delivery
object

Optional delivery parameters supplied by the buyer (for example A2A task inputs for an a2a-task product).

payment
object

x402 payment authorization fields backing the purchase (the SDK populates this from the X-Payment header).

Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json