Blockchain0x Public APIpayCreate a hosted autonomous-payment session.Copy Pagepost http://localhost:3001/v1/pay/sessionsRecent RequestsLog in to see full request historyTimeStatusUser Agent Retrieving recent requests…LoadingLoading…Body ParamsagentIdstringrequiredamountWeistringrequired^[0-9]+$metadataobjectmetadata objectexpiresInSecondsinteger60 to 86400HeadersIdempotency-Keystringlength between 1 and 255Opaque client-chosen key dedupes a state-changing request for 24 hours. Required on POST /v1/payments; optional on every other mutation. A replay with the same key and the same request hash returns the cached response; a replay with the same key but a different hash returns 409 idempotency.conflict.X-NetworkstringenumrequiredSelects the network slice the request targets. Workspace-scoped responses are filtered to this network; chain-bound writes are stamped with it. Required on every non-admin workspace-scoped operation.mainnettestnetAllowed:mainnettestnetResponses 201Pay session created. 401Missing or invalid bearer token / API key.Updated about 2 months ago List webhook subscriptions for this workspace.Get a hosted pay session (unauthenticated, by token).Did this page help you?YesNo