PaymentRequiredResponseWithInfo
402 Payment Required response body (x402 v2) with Seren-specific extensions.
Properties
allOf:
- → PaymentRequiredResponse
Property Type Required Description acceptsArray<PaymentRequirements> Yes List of acceptable payment methods errorstring,null No Error message explaining why payment is required extensionsany No Optional extensions (V2 feature for protocol extensibility) resourceResourceInfo Yes Resource information (V2 - moved to top level) x402Versioninteger Yes x402 protocol version (2 for V2) Property Type Required Description serenany No
View JSON Schema
{
"allOf": [
{
"$ref": "#/components/schemas/PaymentRequiredResponse",
"description": "Protocol response (x402 v2)"
},
{
"type": "object",
"properties": {
"seren": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/PaymentRequestInfo",
"description": "Seren-specific payment request info"
}
]
}
}
}
],
"description": "402 Payment Required response body (x402 v2) with Seren-specific extensions."
}