Skip to content

X402Config

PQSafe AgentPay API Reference v0.1.0


PQSafe AgentPay API Reference / X402Config

Interface: X402Config

Defined in: pqsafe/agent-pay/src/rails/x402.ts:58

Properties

fetchFn?

optional fetchFn?: (input, init?) => Promise<Response>

Defined in: pqsafe/agent-pay/src/rails/x402.ts:60

Custom HTTP client (defaults to global fetch)

Parameters

input

string | URL | Request

init?

RequestInit

Returns

Promise<Response>


timeoutMs?

optional timeoutMs?: number

Defined in: pqsafe/agent-pay/src/rails/x402.ts:62

Timeout in ms for x402 requests (default: 30000)