{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.agentscore.com/schemas/payment-handlers/stripe_spt.json",
  "title": "AgentScore Stripe Shared Payment Token handler config (com.agentscore.payment.stripe_spt) v1",
  "description": "Schema for the `config` object of a `com.agentscore.payment.stripe_spt` payment handler binding inside a UCP profile's `payment_handlers`. Describes how a merchant accepts payment via Stripe Shared Payment Tokens minted by the agent on its own Stripe account, scoped to the merchant's profile id. The wrapper fields are defined by UCP itself; this schema validates only the config payload.",
  "type": "object",
  "properties": {
    "rail": {
      "type": "string",
      "const": "stripe-spt",
      "description": "Always `stripe-spt` (the kebab-case rail identifier used in paymentauth.org directives; distinct from the snake_case UCP namespace key `com.agentscore.payment.stripe_spt` which must satisfy the UCP reverse-DNS regex)."
    },
    "profile_id": {
      "type": "string",
      "description": "Stripe profile id (the merchant-side network identifier the agent's SPT is scoped to)."
    }
  },
  "required": ["rail", "profile_id"],
  "additionalProperties": true
}
