Input

urlrequired
The URL of the x402 server to check (e.g., https://mesh.heurist.xyz). If unsure what to input, first call get_available_resources to discover valid servers.
string

Output

Response status (success or failed)

HTTP status code

Response Fields

last_validated
null
message
string
server_name
null
status
string
url
string
validation_details
null

Payment details (present when hadPayment is true)

Fields

transactionTransaction hash (may be null if server doesn't return it)
string
payerPayer wallet address
string
networkNetwork where payment was made
string
assetToken address used for payment
string
amountPaidAmount paid in smallest token unit
string

Details about the request and payment

Fields

urlThe URL that was called
string
methodHTTP method used
string
hadPaymentWhether payment was made for this request
boolean

Related endpoints