X402ResourceInfo
Defined in: src/x402/types.ts:105
Describes the resource being paid for.
In v2 this object lives at the top level of X402PaymentRequiredResponse (and is echoed back optionally inside X402PaymentPayload), so that a single payment offer can describe one resource served at one URL.
Properties
description?
readonlyoptionaldescription?:string
Defined in: src/x402/types.ts:107
iconUrl?
readonlyoptionaliconUrl?:string
Defined in: src/x402/types.ts:111
mimeType?
readonlyoptionalmimeType?:string
Defined in: src/x402/types.ts:108
serviceName?
readonlyoptionalserviceName?:string
Defined in: src/x402/types.ts:109
tags?
readonlyoptionaltags?: readonlystring[]
Defined in: src/x402/types.ts:110
url
readonlyurl:string
Defined in: src/x402/types.ts:106