Typed checkout descriptor for the selected provider.
application/json
{
"type": "object",
"required": [
"data",
"requestId"
],
"properties": {
"data": {
"$ref": "#/components/schemas/CanonicalFeeCheckout",
"type": "object",
"additionalProperties": false,
"required": [
"schemaVersion",
"feeId",
"caseId",
"provider",
"checkout"
],
"properties": {
"schemaVersion": {
"type": "string",
"const": "fee-checkout-v1"
},
"feeId": {
"type": "string"
},
"caseId": {
"type": "string"
},
"provider": {
"type": "string",
"enum": [
"stripe",
"x402",
"court_filing_credit"
]
},
"checkout": {
"type": "object",
"additionalProperties": true,
"required": [
"kind"
],
"description": "Provider descriptor: a Stripe Checkout session, an applied court filing credit, or the committed x402 payment requirements.",
"properties": {
"kind": {
"type": "string",
"enum": [
"stripe_checkout",
"credit_applied",
"x402_payment_required"
]
}
}
}
}
},
"requestId": {
"type": "string"
}
}
}