Skip to main content
POST
Get X402 payment requirements for generation

Body

application/json
offer_id
string
required

Id of the x402 offer from the 402 response.

payment_context_token
string
required

Token to identify the payment context

Response

x402 payment requirements for the offer.

version
string

Version of the payment request response schema

x402_version
integer
Example:

2

accepts
X402Accept · object[]
resource
string

URL of the protected resource.

expires_at
string<date-time> | null

Expiration time for the payment requirements