{"openapi":"3.1.0","info":{"title":"SB Checkout API","version":"2026-08-26","summary":"Versioned server API for catalog, hosted checkout and event delivery","description":"TEST and LIVE credentials are isolated. A successful API response does not imply that LIVE financial execution, digital delivery or outbound webhook workers are enabled; integrations must use returned states and signed events as their source of truth.","contact":{"name":"SB Checkout API Support"}},"jsonSchemaDialect":"https://json-schema.org/draft/2020-12/schema","servers":[{"url":"/api/checkout/v1","description":"Current origin"}],"tags":[{"name":"Stores","description":"Tenant-owned checkout stores and branding"},{"name":"Products","description":"Store-owned catalog products"},{"name":"Offers","description":"Priced and inventory-aware offers"},{"name":"Customers","description":"Store-scoped buyer profiles"},{"name":"Sessions","description":"One-time hosted checkout sessions"},{"name":"Orders","description":"Paginated order state"},{"name":"Payment Methods","description":"Capability discovery for registered payment adapters"},{"name":"Payment Intents","description":"Stateful, idempotent payments for custom and embedded checkout"},{"name":"Refunds","description":"Idempotent full and partial refunds when the selected adapter supports them"},{"name":"Disputes","description":"Dispute records and explicit TEST resolution; LIVE support is adapter-dependent"},{"name":"Settlements","description":"Read-only settlement balances and versioned funds availability"},{"name":"Payouts","description":"Idempotent settlement payout commands; current SB Pay implementation is TEST-only"},{"name":"Payment Links","description":"Reusable hosted payment links"},{"name":"Webhooks","description":"Signed asynchronous event delivery"}],"paths":{"/stores":{"get":{"operationId":"listCheckoutStores","summary":"List stores","tags":["Stores"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.stores:read","parameters":[{"$ref":"#/components/parameters/Page"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Search"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"responses":{"200":{"description":"Resource returned","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreListResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"operationId":"createCheckoutStore","summary":"Create a store with safe token-based branding","tags":["Stores"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.stores:write","parameters":[{"$ref":"#/components/parameters/IdempotencyKey"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreCreate"}}}},"responses":{"200":{"description":"Resource persisted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/stores/{id}":{"get":{"operationId":"retrieveCheckoutStore","summary":"Retrieve a store","tags":["Stores"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.stores:read","parameters":[{"$ref":"#/components/parameters/ResourceId"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"responses":{"200":{"description":"Resource returned","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"patch":{"operationId":"updateCheckoutStore","summary":"Update selected store and branding fields","tags":["Stores"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.stores:write","parameters":[{"$ref":"#/components/parameters/ResourceId"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorePatch"}}}},"responses":{"200":{"description":"Resource persisted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/products":{"get":{"operationId":"listCheckoutProducts","summary":"List products","tags":["Products"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.products:read","parameters":[{"$ref":"#/components/parameters/Page"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Search"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"responses":{"200":{"description":"Resource returned","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductListResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"operationId":"createCheckoutProduct","summary":"Create a product","tags":["Products"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.products:write","parameters":[{"$ref":"#/components/parameters/IdempotencyKey"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductCreate"}}}},"responses":{"200":{"description":"Resource persisted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/products/{id}":{"get":{"operationId":"retrieveCheckoutProduct","summary":"Retrieve a product","tags":["Products"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.products:read","parameters":[{"$ref":"#/components/parameters/ResourceId"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"responses":{"200":{"description":"Resource returned","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"patch":{"operationId":"updateCheckoutProduct","summary":"Update selected product fields","tags":["Products"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.products:write","parameters":[{"$ref":"#/components/parameters/ResourceId"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductPatch"}}}},"responses":{"200":{"description":"Resource persisted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/offers":{"get":{"operationId":"listCheckoutOffers","summary":"List offers","tags":["Offers"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.offers:read","parameters":[{"$ref":"#/components/parameters/Page"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Search"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"responses":{"200":{"description":"Resource returned","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfferListResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"operationId":"createCheckoutOffer","summary":"Create an offer using a server-owned price","tags":["Offers"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.offers:write","parameters":[{"$ref":"#/components/parameters/IdempotencyKey"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfferCreate"}}}},"responses":{"200":{"description":"Resource persisted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfferResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/offers/{id}":{"get":{"operationId":"retrieveCheckoutOffer","summary":"Retrieve an offer","tags":["Offers"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.offers:read","parameters":[{"$ref":"#/components/parameters/ResourceId"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"responses":{"200":{"description":"Resource returned","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfferResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"patch":{"operationId":"updateCheckoutOffer","summary":"Update selected offer fields","tags":["Offers"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.offers:write","parameters":[{"$ref":"#/components/parameters/ResourceId"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfferPatch"}}}},"responses":{"200":{"description":"Resource persisted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfferResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/customers":{"get":{"operationId":"listCheckoutCustomers","summary":"List and search customers","tags":["Customers"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.customers:read","parameters":[{"$ref":"#/components/parameters/Page"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Search"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"responses":{"200":{"description":"Resource returned","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerListResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"operationId":"createCheckoutCustomer","summary":"Create an idempotent store customer","tags":["Customers"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.customers:write","parameters":[{"$ref":"#/components/parameters/IdempotencyKey"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerCreate"}}}},"responses":{"200":{"description":"Resource persisted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/customers/{id}":{"get":{"operationId":"retrieveCheckoutCustomer","summary":"Retrieve a customer","tags":["Customers"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.customers:read","parameters":[{"$ref":"#/components/parameters/ResourceId"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"responses":{"200":{"description":"Resource returned","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"patch":{"operationId":"updateCheckoutCustomer","summary":"Update customer contact data and metadata","tags":["Customers"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.customers:write","parameters":[{"$ref":"#/components/parameters/ResourceId"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerPatch"}}}},"responses":{"200":{"description":"Resource persisted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/sessions":{"post":{"operationId":"createCheckoutSession","summary":"Create a hosted checkout session","tags":["Sessions"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.sessions:create","parameters":[{"$ref":"#/components/parameters/IdempotencyKey"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionCreate"}}}},"responses":{"200":{"description":"Resource persisted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/sessions/{id}":{"get":{"operationId":"retrieveCheckoutSession","summary":"Retrieve a checkout session","tags":["Sessions"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.sessions:read","parameters":[{"$ref":"#/components/parameters/ResourceId"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"responses":{"200":{"description":"Resource returned","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/orders":{"get":{"operationId":"listCheckoutOrders","summary":"List orders with server-side pagination","tags":["Orders"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.orders:read","parameters":[{"$ref":"#/components/parameters/Page"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Search"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"responses":{"200":{"description":"Resource returned","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderListResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/orders/{orderTokenOrNumber}":{"get":{"operationId":"retrieveCheckoutOrder","summary":"Retrieve an order","tags":["Orders"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.orders:read","parameters":[{"$ref":"#/components/parameters/OrderIdentifier"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"responses":{"200":{"description":"Resource returned","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/orders/{orderTokenOrNumber}/refunds":{"get":{"operationId":"listCheckoutOrderRefunds","summary":"List refunds for a hosted order","tags":["Refunds"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.refunds:read","parameters":[{"$ref":"#/components/parameters/OrderIdentifier"},{"$ref":"#/components/parameters/Page"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"responses":{"200":{"description":"Resource returned","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentOperationListResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"operationId":"refundCheckoutOrder","summary":"Create a full or partial refund for a hosted order","tags":["Refunds"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.refunds:write","parameters":[{"$ref":"#/components/parameters/OrderIdentifier"},{"$ref":"#/components/parameters/IdempotencyKey"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationAmountCommand"}}}},"responses":{"200":{"description":"Resource persisted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefundResponse"}}}},"201":{"description":"Resource created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefundResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/payment-methods":{"get":{"operationId":"listCheckoutPaymentMethods","summary":"List registered payment methods and capabilities","tags":["Payment Methods"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.payment_methods:read","parameters":[{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"responses":{"200":{"description":"Resource returned","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentMethodListResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/payment-intents":{"get":{"operationId":"listCheckoutPaymentIntents","summary":"List payment intents with server-side pagination","tags":["Payment Intents"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.payment_intents:read","parameters":[{"$ref":"#/components/parameters/Page"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Search"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"responses":{"200":{"description":"Resource returned","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentIntentListResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"operationId":"createCheckoutPaymentIntent","summary":"Create a payment intent from a server-owned offer","tags":["Payment Intents"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.payment_intents:create","parameters":[{"$ref":"#/components/parameters/IdempotencyKey"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentIntentCreate"}}}},"responses":{"200":{"description":"Idempotent replay","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentIntentResponse"}}}},"201":{"description":"Payment intent created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentIntentResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/payment-intents/{id}":{"get":{"operationId":"retrieveCheckoutPaymentIntent","summary":"Retrieve a payment intent","tags":["Payment Intents"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.payment_intents:read","parameters":[{"$ref":"#/components/parameters/ResourceId"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"responses":{"200":{"description":"Resource returned","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentIntentResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/payment-intents/{id}/confirm":{"post":{"operationId":"confirmCheckoutPaymentIntent","summary":"Confirm a payment intent with a durable idempotent attempt","tags":["Payment Intents"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.payment_intents:confirm","parameters":[{"$ref":"#/components/parameters/ResourceId"},{"$ref":"#/components/parameters/IdempotencyKey"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentIntentConfirm"}}}},"responses":{"200":{"description":"Confirmation state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentIntentResponse"}}}},"202":{"description":"Processing or ambiguous provider result; do not create a new attempt","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentIntentResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/payment-intents/{id}/cancel":{"post":{"operationId":"cancelCheckoutPaymentIntent","summary":"Cancel before financial execution starts","tags":["Payment Intents"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.payment_intents:cancel","parameters":[{"$ref":"#/components/parameters/ResourceId"},{"$ref":"#/components/parameters/IdempotencyKey"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyWrite"}}}},"responses":{"200":{"description":"Resource persisted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentIntentResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/payment-intents/{id}/capture":{"post":{"operationId":"captureCheckoutPaymentIntent","summary":"Capture a manually authorized payment intent","tags":["Payment Intents"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.payment_intents:capture","parameters":[{"$ref":"#/components/parameters/ResourceId"},{"$ref":"#/components/parameters/IdempotencyKey"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationAmountCommand"}}}},"responses":{"200":{"description":"Resource persisted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaptureResponse"}}}},"202":{"description":"Operation accepted and still processing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaptureResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/payment-intents/{id}/refunds":{"get":{"operationId":"listCheckoutPaymentIntentRefunds","summary":"List refunds for a payment intent","tags":["Refunds"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.refunds:read","parameters":[{"$ref":"#/components/parameters/ResourceId"},{"$ref":"#/components/parameters/Page"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"responses":{"200":{"description":"Resource returned","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentOperationListResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"operationId":"refundCheckoutPaymentIntent","summary":"Create a full or partial refund","tags":["Refunds"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.refunds:write","parameters":[{"$ref":"#/components/parameters/ResourceId"},{"$ref":"#/components/parameters/IdempotencyKey"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationAmountCommand"}}}},"responses":{"200":{"description":"Resource persisted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefundResponse"}}}},"201":{"description":"Resource created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefundResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/payment-intents/{id}/disputes":{"post":{"operationId":"openCheckoutPaymentIntentDispute","summary":"Open a dispute against a captured payment","tags":["Disputes"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.disputes:write","parameters":[{"$ref":"#/components/parameters/ResourceId"},{"$ref":"#/components/parameters/IdempotencyKey"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationAmountCommand"}}}},"responses":{"200":{"description":"Resource persisted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DisputeResponse"}}}},"201":{"description":"Resource created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DisputeResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/disputes":{"get":{"operationId":"listCheckoutDisputes","summary":"List disputes with server-side pagination","tags":["Disputes"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.disputes:read","parameters":[{"$ref":"#/components/parameters/Page"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/DisputeStatus"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"responses":{"200":{"description":"Resource returned","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentOperationListResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/disputes/{id}/resolve":{"post":{"operationId":"resolveCheckoutDispute","summary":"Resolve a dispute when the payment adapter supports it","tags":["Disputes"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.disputes:write","parameters":[{"$ref":"#/components/parameters/ResourceId"},{"$ref":"#/components/parameters/IdempotencyKey"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DisputeResolutionCommand"}}}},"responses":{"200":{"description":"Resource persisted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DisputeResolutionResponse"}}}},"201":{"description":"Resource created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DisputeResolutionResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/settlements":{"get":{"operationId":"listCheckoutSettlements","summary":"List settlements and funds lifecycle balances","tags":["Settlements"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.settlements:read","parameters":[{"$ref":"#/components/parameters/Page"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/FundsStatus"},{"$ref":"#/components/parameters/Currency"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"responses":{"200":{"description":"Resource returned","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettlementListResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/settlements/{id}/payouts":{"post":{"operationId":"payoutCheckoutSettlement","summary":"Create a payout when an eligible payout rail is configured","tags":["Payouts"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.payouts:write","parameters":[{"$ref":"#/components/parameters/ResourceId"},{"$ref":"#/components/parameters/IdempotencyKey"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationAmountCommand"}}}},"responses":{"200":{"description":"Resource persisted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayoutResponse"}}}},"201":{"description":"Resource created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayoutResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/payment-links":{"get":{"operationId":"listCheckoutPaymentLinks","summary":"List payment links","tags":["Payment Links"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.payment_links:read","parameters":[{"$ref":"#/components/parameters/Page"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Search"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"responses":{"200":{"description":"Resource returned","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentLinkListResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"operationId":"createCheckoutPaymentLink","summary":"Create a reusable payment link","tags":["Payment Links"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.payment_links:create","parameters":[{"$ref":"#/components/parameters/IdempotencyKey"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentLinkCreate"}}}},"responses":{"200":{"description":"Resource persisted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentLinkResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/payment-links/{id}":{"get":{"operationId":"retrieveCheckoutPaymentLink","summary":"Retrieve a payment link","tags":["Payment Links"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.payment_links:read","parameters":[{"$ref":"#/components/parameters/ResourceId"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"responses":{"200":{"description":"Resource returned","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentLinkResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/payment-links/{id}/deactivate":{"post":{"operationId":"deactivateCheckoutPaymentLink","summary":"Deactivate a payment link","tags":["Payment Links"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.payment_links:update","parameters":[{"$ref":"#/components/parameters/ResourceId"},{"$ref":"#/components/parameters/IdempotencyKey"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyWrite"}}}},"responses":{"200":{"description":"Resource persisted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentLinkResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/webhook-endpoints":{"get":{"operationId":"listCheckoutWebhookEndpoints","summary":"List webhook endpoints","tags":["Webhooks"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.webhooks:manage","parameters":[{"$ref":"#/components/parameters/Page"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Search"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"responses":{"200":{"description":"Resource returned","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpointListResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"operationId":"createCheckoutWebhookEndpoint","summary":"Create a signed HTTPS webhook endpoint","tags":["Webhooks"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.webhooks:manage","parameters":[{"$ref":"#/components/parameters/IdempotencyKey"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpointCreate"}}}},"responses":{"200":{"description":"Resource persisted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpointResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/webhook-endpoints/{id}":{"get":{"operationId":"retrieveCheckoutWebhookEndpoint","summary":"Retrieve a webhook endpoint","tags":["Webhooks"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.webhooks:manage","parameters":[{"$ref":"#/components/parameters/ResourceId"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"responses":{"200":{"description":"Resource returned","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpointResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"patch":{"operationId":"updateCheckoutWebhookEndpoint","summary":"Update a webhook endpoint","tags":["Webhooks"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.webhooks:manage","parameters":[{"$ref":"#/components/parameters/ResourceId"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpointPatch"}}}},"responses":{"200":{"description":"Resource persisted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpointResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/webhook-endpoints/{id}/rotate-secret":{"post":{"operationId":"rotateCheckoutWebhookSecret","summary":"Rotate a signing secret with a bounded overlap window","tags":["Webhooks"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.webhooks:manage","parameters":[{"$ref":"#/components/parameters/ResourceId"},{"$ref":"#/components/parameters/IdempotencyKey"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyWrite"}}}},"responses":{"200":{"description":"Resource persisted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpointResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/webhook-deliveries":{"get":{"operationId":"listCheckoutWebhookDeliveries","summary":"List webhook delivery attempts","tags":["Webhooks"],"security":[{"CheckoutSecretKey":[]}],"x-required-scope":"checkout.webhooks:manage","parameters":[{"$ref":"#/components/parameters/Page"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Search"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/RequestId"}],"responses":{"200":{"description":"Resource returned","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookDeliveryListResponse"}}}},"400":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Stable SB Checkout API error envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}},"components":{"securitySchemes":{"CheckoutSecretKey":{"type":"http","scheme":"bearer","bearerFormat":"sbck_test_* or sbck_live_*","description":"Secret server credential. Never embed it in a browser or mobile application."}},"parameters":{"IdempotencyKey":{"name":"Idempotency-Key","in":"header","required":true,"description":"8-191 URL-safe characters. Reuse only for an exact logical retry.","schema":{"type":"string","minLength":8,"maxLength":191,"pattern":"^[A-Za-z0-9._:-]+$"}},"ApiVersion":{"name":"SB-Checkout-Version","in":"header","required":false,"schema":{"type":"string","enum":["2026-08-26"]}},"RequestId":{"name":"X-Request-Id","in":"header","required":false,"schema":{"type":"string","maxLength":96}},"ResourceId":{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":96}},"OrderIdentifier":{"name":"orderTokenOrNumber","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":96}},"Page":{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1}},"Limit":{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},"Search":{"name":"search","in":"query","required":false,"schema":{"type":"string","maxLength":120}},"DisputeStatus":{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["OPEN","WON","LOST"]}},"FundsStatus":{"name":"fundsStatus","in":"query","required":false,"schema":{"type":"string","enum":["CAPTURED","PENDING","AVAILABLE","RESERVED","PAID_OUT","REVERSED","NEEDS_REVIEW"]}},"Currency":{"name":"currency","in":"query","required":false,"schema":{"type":"string","minLength":3,"maxLength":16}}},"schemas":{"StoreResource":{"type":"object","required":["id","object","mode","livemode","status","version","name","slug","defaultCurrency"],"properties":{"id":{"type":"string"},"mode":{"type":"string","enum":["TEST","LIVE"]},"livemode":{"type":"boolean"},"status":{"type":"string","enum":["DRAFT","ACTIVE","PAUSED","ARCHIVED"]},"publicToken":{"type":["string","null"]},"version":{"type":"integer","minimum":1},"metadata":{"type":["object","null"],"additionalProperties":true},"createdAt":{"type":["string","null"]},"updatedAt":{"type":["string","null"]},"object":{"const":"checkout.store"},"name":{"type":"string"},"slug":{"type":"string"},"isDefault":{"type":"boolean"},"defaultCurrency":{"type":"string"},"country":{"type":"string"},"supportEmail":{"type":["string","null"]},"supportPhone":{"type":["string","null"]},"logoUrl":{"type":["string","null"]},"primaryColor":{"type":["string","null"]},"branding":{"$ref":"#/components/schemas/Branding"}},"additionalProperties":true},"ProductResource":{"type":"object","required":["id","object","mode","livemode","status","version","storeId","name","basePrice"],"properties":{"id":{"type":"string"},"mode":{"type":"string","enum":["TEST","LIVE"]},"livemode":{"type":"boolean"},"status":{"type":"string","enum":["DRAFT","ACTIVE","PAUSED","ARCHIVED"]},"publicToken":{"type":["string","null"]},"version":{"type":"integer","minimum":1},"metadata":{"type":["object","null"],"additionalProperties":true},"createdAt":{"type":["string","null"]},"updatedAt":{"type":["string","null"]},"object":{"const":"checkout.product"},"storeId":{"type":"string"},"name":{"type":"string"},"description":{"type":["string","null"]},"productType":{"type":"string"},"imageUrl":{"type":["string","null"]},"basePrice":{"type":"number","description":"Amount in major units of the resource currency, not minor units. Preserve the returned decimal precision and never add different currencies."},"currency":{"type":["string","null"]},"sku":{"type":["string","null"]},"externalId":{"type":["string","null"]},"deliveryUrl":{"type":["string","null"]},"physical":{"type":["object","null"],"additionalProperties":true}},"additionalProperties":true},"OfferResource":{"type":"object","required":["id","object","mode","livemode","status","version","storeId","name","price","currency","allowedPaymentMethods"],"properties":{"id":{"type":"string"},"mode":{"type":"string","enum":["TEST","LIVE"]},"livemode":{"type":"boolean"},"status":{"type":"string","enum":["DRAFT","ACTIVE","PAUSED","ARCHIVED"]},"publicToken":{"type":["string","null"]},"version":{"type":"integer","minimum":1},"metadata":{"type":["object","null"],"additionalProperties":true},"createdAt":{"type":["string","null"]},"updatedAt":{"type":["string","null"]},"object":{"const":"checkout.offer"},"storeId":{"type":"string"},"productId":{"type":["string","null"]},"name":{"type":"string"},"slug":{"type":["string","null"]},"headline":{"type":["string","null"]},"description":{"type":["string","null"]},"currency":{"type":["string","null"]},"amount":{"type":["number","null"],"description":"Amount in major units of the resource currency, not minor units. Preserve the returned decimal precision and never add different currencies."},"price":{"type":"number","description":"Amount in major units of the resource currency, not minor units. Preserve the returned decimal precision and never add different currencies."},"quantity":{"type":["number","null"]},"reservedQuantity":{"type":"number"},"soldQuantity":{"type":"number"},"availableQuantity":{"type":["number","null"]},"allowedPaymentMethods":{"type":"array","items":{"type":"string"}},"thankYouUrl":{"type":["string","null"]},"salesPageUrl":{"type":["string","null"]},"supportEmail":{"type":["string","null"]},"experience":{"$ref":"#/components/schemas/OfferExperience"}},"additionalProperties":true},"CustomerResource":{"type":"object","required":["id","object","mode","livemode","storeId","email","firstName","lastName","version"],"properties":{"id":{"type":"string"},"object":{"const":"checkout.customer"},"mode":{"type":"string","enum":["TEST","LIVE"]},"livemode":{"type":"boolean"},"storeId":{"type":"string"},"email":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"phone":{"type":["string","null"]},"country":{"type":["string","null"]},"document":{"anyOf":[{"type":"null"},{"type":"object","required":["type","last4"],"properties":{"type":{"type":"string"},"last4":{"type":["string","null"]}},"additionalProperties":true}]},"metadata":{"type":["object","null"],"additionalProperties":true},"version":{"type":"integer","minimum":1},"createdAt":{"type":["string","null"]},"updatedAt":{"type":["string","null"]}},"additionalProperties":true},"PublicOrderResource":{"type":"object","required":["mode","livemode","orderToken","status","computedStatus","amount","currency","paymentEnabled"],"properties":{"mode":{"type":"string","enum":["TEST","LIVE"]},"livemode":{"type":"boolean"},"orderToken":{"type":["string","null"]},"orderNumber":{"type":["string","null"]},"status":{"type":"string","enum":["DRAFT","CREATED","PENDING","PENDING_PAYMENT","PAID","CANCELED","CANCELLED","EXPIRED","REFUNDED","CHARGEBACK"]},"computedStatus":{"type":"string","enum":["DRAFT","CREATED","PENDING","PENDING_PAYMENT","PAID","CANCELED","CANCELLED","EXPIRED","REFUNDED","CHARGEBACK"]},"currency":{"type":["string","null"]},"grossAmount":{"type":"number","description":"Amount in major units of the resource currency, not minor units. Preserve the returned decimal precision and never add different currencies."},"discountAmount":{"type":"number","description":"Amount in major units of the resource currency, not minor units. Preserve the returned decimal precision and never add different currencies."},"netAmount":{"type":"number","description":"Amount in major units of the resource currency, not minor units. Preserve the returned decimal precision and never add different currencies."},"amount":{"type":"number","description":"Amount in major units of the resource currency, not minor units. Preserve the returned decimal precision and never add different currencies."},"quantity":{"type":"number"},"paymentMethodRequested":{"type":["string","null"]},"expiresAt":{"type":["string","null"]},"createdAt":{"type":["string","null"]},"paymentEnabled":{"type":"boolean"},"store":{"type":["object","null"],"additionalProperties":true},"offer":{"type":["object","null"],"additionalProperties":true},"product":{"type":["object","null"],"additionalProperties":true},"customer":{"type":["object","null"],"additionalProperties":true},"payment":{"type":["object","null"],"additionalProperties":true},"postPayment":{"type":["object","null"],"additionalProperties":true},"coupon":{"type":["object","null"],"additionalProperties":true},"items":{"type":"array","items":{"type":"object","additionalProperties":true}},"availablePaymentMethods":{"type":"array","items":{"type":"object","required":["method","enabled","status"],"properties":{"method":{"type":"string"},"enabled":{"type":"boolean"},"status":{"type":"string"}},"additionalProperties":true}}},"additionalProperties":true},"SessionResource":{"type":"object","required":["sessionId","orderToken","mode","livemode","status","computedStatus","checkoutUrl","amount","currency","paymentEnabled","order"],"properties":{"mode":{"type":"string","enum":["TEST","LIVE"]},"livemode":{"type":"boolean"},"sessionId":{"type":["string","null"]},"orderToken":{"type":["string","null"]},"orderNumber":{"type":["string","null"]},"status":{"type":"string","enum":["DRAFT","CREATED","PENDING","PENDING_PAYMENT","PAID","CANCELED","CANCELLED","EXPIRED","REFUNDED","CHARGEBACK"]},"computedStatus":{"type":"string","enum":["DRAFT","CREATED","PENDING","PENDING_PAYMENT","PAID","CANCELED","CANCELLED","EXPIRED","REFUNDED","CHARGEBACK"]},"checkoutUrl":{"type":["string","null"]},"expiresAt":{"type":["string","null"]},"amount":{"type":"number","description":"Amount in major units of the resource currency, not minor units. Preserve the returned decimal precision and never add different currencies."},"currency":{"type":["string","null"]},"paymentEnabled":{"type":"boolean"},"order":{"$ref":"#/components/schemas/PublicOrderResource"}},"additionalProperties":true},"PaymentLinkResource":{"type":"object","required":["id","object","publicToken","mode","status","active","checkoutUrl"],"properties":{"id":{"type":"string"},"object":{"const":"checkout.payment_link"},"publicToken":{"type":"string"},"mode":{"type":"string","enum":["TEST","LIVE"]},"status":{"type":"string","enum":["ACTIVE","INACTIVE","EXPIRED"]},"active":{"type":"boolean"},"checkoutUrl":{"type":["string","null"]},"afterCompletionUrl":{"type":["string","null"]},"expiresAt":{"type":["string","null"]},"deactivatedAt":{"type":["string","null"]},"metadata":{"type":["object","null"],"additionalProperties":true},"createdAt":{"type":["string","null"]},"updatedAt":{"type":["string","null"]},"offer":{"anyOf":[{"type":"null"},{"type":"object","required":["id","publicToken","name","price","currency","status"],"properties":{"id":{"type":"string"},"publicToken":{"type":["string","null"]},"name":{"type":"string"},"slug":{"type":["string","null"]},"price":{"type":"number","description":"Amount in major units of the resource currency, not minor units. Preserve the returned decimal precision and never add different currencies."},"currency":{"type":["string","null"]},"status":{"type":"string","enum":["DRAFT","ACTIVE","PAUSED","ARCHIVED"]},"allowedPaymentMethods":{"type":"array","items":{"type":"string"}}},"additionalProperties":true}]}},"additionalProperties":true},"WebhookEndpointResource":{"type":"object","required":["id","mode","name","url","status","events","hasSecret"],"properties":{"id":{"type":"string"},"businessId":{"type":"string"},"storeId":{"type":["string","null"]},"mode":{"type":"string","enum":["TEST","LIVE"]},"livemode":{"type":"boolean"},"name":{"type":"string"},"url":{"type":"string"},"status":{"type":"string","enum":["ACTIVE","INACTIVE"]},"failureCount":{"type":"number"},"events":{"type":"array","items":{"type":"string"}},"hasSecret":{"type":"boolean"},"secretLast4":{"type":["string","null"]},"secret":{"type":["string","null"],"readOnly":true,"description":"Returned only on initial creation or rotation, never on replay or ordinary reads."},"secretRotatedAt":{"type":["string","null"]},"previousSecretValidUntil":{"type":["string","null"]},"lastSuccessAt":{"type":["string","null"]},"lastFailureAt":{"type":["string","null"]},"createdAt":{"type":["string","null"]},"updatedAt":{"type":["string","null"]},"store":{"type":["object","null"],"additionalProperties":true}},"additionalProperties":true},"WebhookDeliveryResource":{"type":"object","required":["id","mode","endpointId","eventType","status","attemptCount","maxAttempts"],"properties":{"id":{"type":"string"},"businessId":{"type":"string"},"storeId":{"type":["string","null"]},"mode":{"type":"string","enum":["TEST","LIVE"]},"livemode":{"type":"boolean"},"endpointId":{"type":"string"},"eventId":{"type":["string","null"]},"eventType":{"type":"string"},"status":{"type":"string","enum":["PENDING","PROCESSING","SENT","FAILED","SKIPPED"]},"attemptCount":{"type":"number"},"maxAttempts":{"type":"number"},"responseStatus":{"type":["number","null"]},"responseBodySnippet":{"type":["string","null"]},"nextRetryAt":{"type":["string","null"]},"sentAt":{"type":["string","null"]},"errorMessage":{"type":["string","null"]},"createdAt":{"type":["string","null"]},"updatedAt":{"type":["string","null"]},"payload":{"type":["object","null"],"additionalProperties":true},"endpoint":{"type":["object","null"],"additionalProperties":true},"store":{"type":["object","null"],"additionalProperties":true}},"additionalProperties":true},"StoreResponse":{"type":"object","required":["requestId","store"],"properties":{"requestId":{"type":"string"},"store":{"$ref":"#/components/schemas/StoreResource"}},"additionalProperties":true},"StoreListResponse":{"type":"object","required":["requestId","data","pagination"],"properties":{"requestId":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/StoreResource"}},"pagination":{"$ref":"#/components/schemas/Pagination"}},"additionalProperties":true},"ProductResponse":{"type":"object","required":["requestId","product"],"properties":{"requestId":{"type":"string"},"product":{"$ref":"#/components/schemas/ProductResource"}},"additionalProperties":true},"ProductListResponse":{"type":"object","required":["requestId","data","pagination"],"properties":{"requestId":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ProductResource"}},"pagination":{"$ref":"#/components/schemas/Pagination"}},"additionalProperties":true},"OfferResponse":{"type":"object","required":["requestId","offer"],"properties":{"requestId":{"type":"string"},"offer":{"$ref":"#/components/schemas/OfferResource"}},"additionalProperties":true},"OfferListResponse":{"type":"object","required":["requestId","data","pagination"],"properties":{"requestId":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/OfferResource"}},"pagination":{"$ref":"#/components/schemas/Pagination"}},"additionalProperties":true},"CustomerResponse":{"type":"object","required":["requestId","customer"],"properties":{"requestId":{"type":"string"},"customer":{"$ref":"#/components/schemas/CustomerResource"}},"additionalProperties":true},"CustomerListResponse":{"type":"object","required":["requestId","data","pagination"],"properties":{"requestId":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/CustomerResource"}},"pagination":{"$ref":"#/components/schemas/Pagination"}},"additionalProperties":true},"SessionResponse":{"type":"object","required":["requestId","session"],"properties":{"requestId":{"type":"string"},"session":{"$ref":"#/components/schemas/SessionResource"}},"additionalProperties":true},"OrderResponse":{"type":"object","required":["requestId","order","session"],"properties":{"requestId":{"type":"string"},"order":{"$ref":"#/components/schemas/PublicOrderResource"},"session":{"type":"object","required":["sessionId","checkoutUrl","status","computedStatus"],"properties":{"sessionId":{"type":["string","null"]},"checkoutUrl":{"type":["string","null"]},"status":{"anyOf":[{"type":"string","enum":["DRAFT","CREATED","PENDING","PENDING_PAYMENT","PAID","CANCELED","CANCELLED","EXPIRED","REFUNDED","CHARGEBACK"]},{"type":"null"}]},"computedStatus":{"anyOf":[{"type":"string","enum":["DRAFT","CREATED","PENDING","PENDING_PAYMENT","PAID","CANCELED","CANCELLED","EXPIRED","REFUNDED","CHARGEBACK"]},{"type":"null"}]}},"additionalProperties":true}},"additionalProperties":true},"OrderListResponse":{"type":"object","required":["requestId","data","pagination"],"properties":{"requestId":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/PublicOrderResource"}},"pagination":{"$ref":"#/components/schemas/Pagination"}},"additionalProperties":true},"PaymentLinkResponse":{"type":"object","required":["requestId","paymentLink"],"properties":{"requestId":{"type":"string"},"paymentLink":{"$ref":"#/components/schemas/PaymentLinkResource"}},"additionalProperties":true},"PaymentLinkListResponse":{"type":"object","required":["requestId","data","pagination"],"properties":{"requestId":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/PaymentLinkResource"}},"pagination":{"$ref":"#/components/schemas/Pagination"}},"additionalProperties":true},"PaymentIntentListResponse":{"type":"object","required":["requestId","data","pagination"],"properties":{"requestId":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/PaymentIntent"}},"pagination":{"$ref":"#/components/schemas/Pagination"}},"additionalProperties":true},"WebhookEndpointResponse":{"type":"object","required":["requestId","endpoint"],"properties":{"requestId":{"type":"string"},"endpoint":{"$ref":"#/components/schemas/WebhookEndpointResource"},"secret":{"type":["string","null"],"readOnly":true},"previousSecretExpiresAt":{"type":["string","null"]},"replayed":{"type":"boolean"}},"additionalProperties":true},"WebhookEndpointListResponse":{"type":"object","required":["requestId","data","pagination"],"properties":{"requestId":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/WebhookEndpointResource"}},"pagination":{"$ref":"#/components/schemas/Pagination"}},"additionalProperties":true},"WebhookDeliveryListResponse":{"type":"object","required":["requestId","data","pagination"],"properties":{"requestId":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/WebhookDeliveryResource"}},"pagination":{"$ref":"#/components/schemas/Pagination"}},"additionalProperties":true},"EmptyWrite":{"type":"object","additionalProperties":false},"Metadata":{"type":["object","null"],"maxProperties":120,"additionalProperties":true},"CheckoutDestinationUrl":{"oneOf":[{"type":"string","maxLength":2048,"pattern":"^/(?!/)","description":"Internal path on the current checkout origin"},{"type":"string","maxLength":2048,"format":"uri","pattern":"^https?://","description":"External destinations are exposed only when permitted by the server redirect policy"},{"type":"null"}]},"CatalogStatus":{"type":"string","enum":["DRAFT","ACTIVE","PAUSED","ARCHIVED"]},"StoreCreate":{"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string","minLength":1,"maxLength":120},"slug":{"type":"string","maxLength":140},"status":{"$ref":"#/components/schemas/CatalogStatus"},"defaultCurrency":{"type":"string","minLength":3,"maxLength":16},"country":{"type":"string","minLength":2,"maxLength":2},"supportEmail":{"type":["string","null"],"format":"email"},"supportPhone":{"type":["string","null"],"maxLength":64},"logoUrl":{"type":["string","null"],"format":"uri"},"primaryColor":{"type":["string","null"],"pattern":"^#[0-9A-Fa-f]{6}$"},"branding":{"$ref":"#/components/schemas/Branding"},"metadata":{"$ref":"#/components/schemas/Metadata"}}},"StorePatch":{"type":"object","minProperties":1,"additionalProperties":false,"properties":{"name":{"type":"string","minLength":1,"maxLength":120},"slug":{"type":"string","maxLength":140},"status":{"$ref":"#/components/schemas/CatalogStatus"},"defaultCurrency":{"type":"string","minLength":3,"maxLength":16},"country":{"type":"string","minLength":2,"maxLength":2},"supportEmail":{"type":["string","null"],"format":"email"},"supportPhone":{"type":["string","null"],"maxLength":64},"logoUrl":{"type":["string","null"],"format":"uri"},"primaryColor":{"type":["string","null"],"pattern":"^#[0-9A-Fa-f]{6}$"},"branding":{"$ref":"#/components/schemas/Branding"},"metadata":{"$ref":"#/components/schemas/Metadata"},"ifVersion":{"type":"integer","minimum":1},"ifUnmodifiedSince":{"type":"string","format":"date-time"}}},"LocalizedCopy":{"type":"object","additionalProperties":false,"properties":{"secureBadge":{"type":["string","null"],"maxLength":80},"formTitle":{"type":["string","null"],"maxLength":120},"submitLabel":{"type":["string","null"],"maxLength":80},"footerText":{"type":["string","null"],"maxLength":280},"eyebrow":{"type":["string","null"],"maxLength":80},"guaranteeText":{"type":["string","null"],"maxLength":280}}},"LocalizedCopyMap":{"type":"object","propertyNames":{"enum":["pt","en","es","fr","it"]},"additionalProperties":{"$ref":"#/components/schemas/LocalizedCopy"}},"Branding":{"type":["object","null"],"additionalProperties":false,"properties":{"appearance":{"type":"string","enum":["DARK","LIGHT"]},"layout":{"type":"string","enum":["SPLIT","COMPACT"]},"font":{"type":"string","enum":["SYSTEM","MODERN","EDITORIAL","MONO"]},"radius":{"type":"string","enum":["SHARP","SOFT","ROUNDED"]},"buttonStyle":{"type":"string","enum":["SOLID","OUTLINE"]},"colors":{"type":"object","additionalProperties":false,"properties":{"primary":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"buttonText":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"background":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"surface":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"text":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"muted":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"border":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"}}},"faviconUrl":{"$ref":"#/components/schemas/CheckoutDestinationUrl"},"showPoweredBy":{"type":"boolean"},"contentOrder":{"type":"array","uniqueItems":true,"maxItems":3,"items":{"type":"string","enum":["HERO","HIGHLIGHTS","PRODUCT"]}},"visibility":{"type":"object","additionalProperties":false,"properties":{"secureBadge":{"type":"boolean"},"guarantee":{"type":"boolean"},"support":{"type":"boolean"}}},"legal":{"type":"object","additionalProperties":false,"properties":{"privacyUrl":{"$ref":"#/components/schemas/CheckoutDestinationUrl"},"termsUrl":{"$ref":"#/components/schemas/CheckoutDestinationUrl"}}},"copy":{"$ref":"#/components/schemas/LocalizedCopyMap"}}},"OfferExperience":{"type":["object","null"],"additionalProperties":false,"properties":{"layout":{"type":"string","enum":["INHERIT","SPLIT","COMPACT"]},"heroImageUrl":{"$ref":"#/components/schemas/CheckoutDestinationUrl"},"showProductImage":{"type":"boolean"},"showQuantity":{"type":"boolean"},"highlights":{"type":"array","maxItems":6,"items":{"type":"string","maxLength":120}},"copy":{"$ref":"#/components/schemas/LocalizedCopyMap"}}},"ProductCreate":{"type":"object","additionalProperties":false,"required":["name"],"properties":{"storeId":{"type":"string","format":"uuid"},"name":{"type":"string","minLength":1,"maxLength":160},"description":{"type":["string","null"],"maxLength":4000},"productType":{"type":"string","enum":["DIGITAL","PHYSICAL","SERVICE","EVENT","SUBSCRIPTION"]},"imageUrl":{"type":["string","null"],"format":"uri"},"deliveryUrl":{"$ref":"#/components/schemas/CheckoutDestinationUrl"},"basePrice":{"type":"number","minimum":0},"currency":{"type":"string","minLength":3,"maxLength":16},"sku":{"type":["string","null"],"maxLength":80},"externalId":{"type":["string","null"],"maxLength":191},"physical":{"type":["object","null"],"additionalProperties":true},"status":{"$ref":"#/components/schemas/CatalogStatus"},"metadata":{"$ref":"#/components/schemas/Metadata"}}},"ProductPatch":{"type":"object","minProperties":1,"additionalProperties":false,"properties":{"storeId":{"type":"string","format":"uuid"},"name":{"type":"string","minLength":1,"maxLength":160},"description":{"type":["string","null"],"maxLength":4000},"productType":{"type":"string","enum":["DIGITAL","PHYSICAL","SERVICE","EVENT","SUBSCRIPTION"]},"imageUrl":{"type":["string","null"],"format":"uri"},"deliveryUrl":{"$ref":"#/components/schemas/CheckoutDestinationUrl"},"basePrice":{"type":"number","minimum":0},"currency":{"type":"string","minLength":3,"maxLength":16},"sku":{"type":["string","null"],"maxLength":80},"externalId":{"type":["string","null"],"maxLength":191},"physical":{"type":["object","null"],"additionalProperties":true},"status":{"$ref":"#/components/schemas/CatalogStatus"},"metadata":{"$ref":"#/components/schemas/Metadata"},"ifVersion":{"type":"integer","minimum":1},"ifUnmodifiedSince":{"type":"string","format":"date-time"}}},"OfferCreate":{"type":"object","additionalProperties":false,"required":["name","price"],"properties":{"storeId":{"type":"string","format":"uuid"},"productId":{"type":["string","null"],"format":"uuid"},"name":{"type":"string","minLength":1,"maxLength":160},"slug":{"type":"string","maxLength":140},"headline":{"type":["string","null"],"maxLength":191},"description":{"type":["string","null"],"maxLength":4000},"price":{"type":"number","minimum":0},"currency":{"type":"string","minLength":3,"maxLength":16},"quantity":{"type":["integer","null"],"minimum":1},"allowedPaymentMethods":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["SB_PAY","PIX","CARD","MBWAY","REVOLUT_PAY"]}},"status":{"$ref":"#/components/schemas/CatalogStatus"},"thankYouUrl":{"$ref":"#/components/schemas/CheckoutDestinationUrl"},"salesPageUrl":{"type":["string","null"],"format":"uri"},"supportEmail":{"type":["string","null"],"format":"email"},"experience":{"$ref":"#/components/schemas/OfferExperience"},"metadata":{"$ref":"#/components/schemas/Metadata"}}},"OfferPatch":{"type":"object","minProperties":1,"additionalProperties":false,"properties":{"storeId":{"type":"string","format":"uuid"},"productId":{"type":["string","null"],"format":"uuid"},"name":{"type":"string","minLength":1,"maxLength":160},"slug":{"type":"string","maxLength":140},"headline":{"type":["string","null"],"maxLength":191},"description":{"type":["string","null"],"maxLength":4000},"price":{"type":"number","minimum":0},"currency":{"type":"string","minLength":3,"maxLength":16},"quantity":{"type":["integer","null"],"minimum":1},"allowedPaymentMethods":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["SB_PAY","PIX","CARD","MBWAY","REVOLUT_PAY"]}},"status":{"$ref":"#/components/schemas/CatalogStatus"},"thankYouUrl":{"$ref":"#/components/schemas/CheckoutDestinationUrl"},"salesPageUrl":{"type":["string","null"],"format":"uri"},"supportEmail":{"type":["string","null"],"format":"email"},"experience":{"$ref":"#/components/schemas/OfferExperience"},"metadata":{"$ref":"#/components/schemas/Metadata"},"ifVersion":{"type":"integer","minimum":1},"ifUnmodifiedSince":{"type":"string","format":"date-time"}}},"CustomerCreate":{"type":"object","additionalProperties":false,"required":["firstName","lastName","email"],"properties":{"storeId":{"type":"string","format":"uuid"},"firstName":{"type":"string","minLength":1,"maxLength":80},"lastName":{"type":"string","minLength":1,"maxLength":120},"email":{"type":"string","format":"email","maxLength":191},"phone":{"type":["string","null"],"maxLength":64},"country":{"type":["string","null"],"minLength":2,"maxLength":2},"documentType":{"type":["string","null"],"maxLength":32},"documentNumber":{"type":["string","null"],"maxLength":80,"writeOnly":true},"metadata":{"$ref":"#/components/schemas/Metadata"}}},"CustomerPatch":{"type":"object","minProperties":1,"additionalProperties":false,"properties":{"firstName":{"type":"string","minLength":1,"maxLength":80},"lastName":{"type":"string","minLength":1,"maxLength":120},"email":{"type":"string","format":"email","maxLength":191},"phone":{"type":["string","null"],"maxLength":64},"country":{"type":["string","null"],"minLength":2,"maxLength":2},"documentType":{"type":["string","null"],"maxLength":32},"documentNumber":{"type":["string","null"],"maxLength":80,"writeOnly":true},"metadata":{"$ref":"#/components/schemas/Metadata"},"ifVersion":{"type":"integer","minimum":1},"ifUnmodifiedSince":{"type":"string","format":"date-time"}}},"TrackingContext":{"type":["object","null"],"additionalProperties":false,"properties":{"consentGranted":{"type":"boolean","description":"Must be true before attribution identifiers are persisted."},"clickToken":{"type":["string","null"],"maxLength":96},"affiliateCode":{"type":["string","null"],"maxLength":96},"affiliateLinkCode":{"type":["string","null"],"maxLength":120},"eventId":{"type":["string","null"],"maxLength":96},"landingUrl":{"type":["string","null"],"maxLength":2048},"referrer":{"type":["string","null"],"maxLength":2048},"utms":{"type":["object","null"],"additionalProperties":false,"properties":{"utmSource":{"type":["string","null"],"maxLength":191},"utmMedium":{"type":["string","null"],"maxLength":191},"utmCampaign":{"type":["string","null"],"maxLength":191},"utmTerm":{"type":["string","null"],"maxLength":191},"utmContent":{"type":["string","null"],"maxLength":191}}},"clickIds":{"type":["object","null"],"additionalProperties":false,"properties":{"fbclid":{"type":["string","null"],"maxLength":191},"gclid":{"type":["string","null"],"maxLength":191},"ttclid":{"type":["string","null"],"maxLength":191},"msclkid":{"type":["string","null"],"maxLength":191}}},"subIds":{"type":["object","null"],"additionalProperties":false,"properties":{"subid1":{"type":["string","null"],"maxLength":191},"subid2":{"type":["string","null"],"maxLength":191},"subid3":{"type":["string","null"],"maxLength":191}}}}},"RecoveryConsent":{"description":"Optional buyer choice. Omission or null means DECLINE. Never infer ACCEPT from completing a purchase. Accepted email requires customer.email; SMS and WhatsApp require customer.phone in E.164 format.","anyOf":[{"type":"null"},{"type":"object","additionalProperties":false,"required":["version","action","channels"],"properties":{"version":{"const":"checkout-recovery-consent-v1"},"action":{"enum":["ACCEPT","DECLINE"]},"channels":{"type":"object","additionalProperties":false,"properties":{"email":{"type":"boolean","default":false},"sms":{"type":"boolean","default":false},"whatsapp":{"type":"boolean","default":false}}}},"oneOf":[{"properties":{"action":{"const":"ACCEPT"},"channels":{"anyOf":[{"required":["email"],"properties":{"email":{"const":true}}},{"required":["sms"],"properties":{"sms":{"const":true}}},{"required":["whatsapp"],"properties":{"whatsapp":{"const":true}}}]}}},{"properties":{"action":{"const":"DECLINE"},"channels":{"properties":{"email":{"const":false},"sms":{"const":false},"whatsapp":{"const":false}}}}}]}]},"SessionCreate":{"type":"object","additionalProperties":false,"required":["offerPublicToken","customer"],"properties":{"offerPublicToken":{"type":"string","minLength":1,"maxLength":96},"quantity":{"type":"integer","minimum":1,"maximum":99,"default":1},"customer":{"type":"object","required":["firstName","lastName","email"],"additionalProperties":false,"properties":{"firstName":{"type":"string","minLength":1,"maxLength":80},"lastName":{"type":"string","minLength":1,"maxLength":120},"email":{"type":"string","format":"email"},"phone":{"type":["string","null"],"maxLength":64},"country":{"type":["string","null"],"minLength":2,"maxLength":2},"documentType":{"type":["string","null"],"maxLength":32},"documentNumber":{"type":["string","null"],"maxLength":80,"writeOnly":true}}},"paymentMethodRequested":{"type":["string","null"],"pattern":"^[A-Z][A-Z0-9_]{1,47}$"},"successUrl":{"$ref":"#/components/schemas/CheckoutDestinationUrl"},"cancelUrl":{"$ref":"#/components/schemas/CheckoutDestinationUrl"},"metadata":{"$ref":"#/components/schemas/Metadata"},"trackingContext":{"$ref":"#/components/schemas/TrackingContext"},"recoveryConsent":{"$ref":"#/components/schemas/RecoveryConsent"}}},"PaymentIntentCreate":{"type":"object","additionalProperties":false,"required":["offerPublicToken","customer","allowedOrigins"],"properties":{"offerPublicToken":{"type":"string","minLength":1,"maxLength":96},"quantity":{"type":"integer","minimum":1,"maximum":99,"default":1},"customer":{"type":"object","required":["firstName","lastName","email"],"additionalProperties":false,"properties":{"firstName":{"type":"string","minLength":1,"maxLength":80},"lastName":{"type":"string","minLength":1,"maxLength":120},"email":{"type":"string","format":"email"},"phone":{"type":["string","null"],"maxLength":64},"country":{"type":["string","null"],"minLength":2,"maxLength":2},"documentType":{"type":["string","null"],"maxLength":32},"documentNumber":{"type":["string","null"],"maxLength":80,"writeOnly":true}}},"paymentMethodRequested":{"type":["string","null"],"pattern":"^[A-Z][A-Z0-9_]{1,47}$"},"paymentMethodTypes":{"type":"array","uniqueItems":true,"items":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{1,47}$"}},"allowedOrigins":{"type":"array","minItems":1,"maxItems":10,"uniqueItems":true,"items":{"type":"string","format":"uri","description":"Exact HTTPS origin. TEST loopback origins may use HTTP."}},"captureMethod":{"type":"string","enum":["AUTOMATIC","MANUAL"],"default":"AUTOMATIC","description":"MANUAL is accepted only when every requested payment-method adapter supports capture in the credential mode."},"confirmationMethod":{"type":"string","enum":["AUTOMATIC"],"default":"AUTOMATIC"},"successUrl":{"$ref":"#/components/schemas/CheckoutDestinationUrl"},"cancelUrl":{"$ref":"#/components/schemas/CheckoutDestinationUrl"},"metadata":{"$ref":"#/components/schemas/Metadata"},"trackingContext":{"$ref":"#/components/schemas/TrackingContext"}}},"PaymentIntentConfirm":{"type":"object","additionalProperties":false,"required":["paymentMethod"],"properties":{"paymentMethod":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{1,47}$"},"returnUrl":{"type":["string","null"],"format":"uri"},"paymentMethodData":{"type":["object","null"],"description":"Adapter token data only. Raw PAN, CVV, PIN and track data are rejected.","additionalProperties":true}}},"PaymentMethodDescriptor":{"type":"object","required":["type","rail","displayName","capabilities","availability"],"properties":{"type":{"type":"string"},"rail":{"type":"string"},"adapterCode":{"type":["string","null"]},"displayName":{"type":"string"},"displayNameKey":{"type":"string"},"capabilities":{"type":"object","additionalProperties":true},"availability":{"type":"object","required":["available"],"properties":{"available":{"type":"boolean"},"code":{"type":["string","null"]},"message":{"type":["string","null"]}}}}},"PaymentIntent":{"type":"object","required":["id","object","status","amount","currency"],"properties":{"id":{"type":"string","pattern":"^sbpi_(test|live)_"},"object":{"type":"string","const":"payment_intent"},"mode":{"type":"string","enum":["TEST","LIVE"]},"livemode":{"type":"boolean"},"status":{"type":"string","enum":["REQUIRES_PAYMENT_METHOD","REQUIRES_CONFIRMATION","REQUIRES_ACTION","PROCESSING","REQUIRES_CAPTURE","SUCCEEDED","CANCELED","EXPIRED"]},"amount":{"type":"number","minimum":0},"currency":{"type":"string"},"paymentMethodTypes":{"type":"array","items":{"type":"string"}},"selectedPaymentMethod":{"type":["string","null"]},"clientSecret":{"type":["string","null"],"readOnly":true,"description":"Returned only by create/replay. Safe only on allowed origins."},"nextAction":{"type":["object","null"],"additionalProperties":true},"lastError":{"type":["object","null"],"additionalProperties":true},"expiresAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"order":{"type":["object","null"],"additionalProperties":true},"attempts":{"type":"array","items":{"type":"object","additionalProperties":true}}}},"PaymentIntentResponse":{"type":"object","required":["requestId","paymentIntent"],"properties":{"requestId":{"type":"string"},"paymentIntent":{"$ref":"#/components/schemas/PaymentIntent"}}},"OperationAmountCommand":{"type":"object","additionalProperties":false,"properties":{"amount":{"oneOf":[{"type":"number","exclusiveMinimum":0},{"type":"string","pattern":"^[0-9]+(?:\\.[0-9]+)?$","description":"Positive decimal amount in the resource currency"}],"description":"Optional. Omit to capture, refund, dispute or pay out the full eligible amount."},"reason":{"type":"string","minLength":1,"maxLength":500}}},"DisputeResolutionCommand":{"type":"object","additionalProperties":false,"required":["outcome"],"properties":{"outcome":{"type":"string","enum":["WON","LOST"]},"reason":{"type":"string","minLength":1,"maxLength":500}}},"PaymentOperation":{"type":"object","required":["id","object","mode","livemode","type","status","amount","currency"],"properties":{"id":{"type":"string","minLength":1,"maxLength":96},"object":{"type":"string","enum":["capture","refund","dispute_open","dispute_resolution","payout"]},"mode":{"type":"string","enum":["TEST","LIVE"]},"livemode":{"type":"boolean"},"type":{"type":"string","enum":["CAPTURE","REFUND","DISPUTE_OPEN","DISPUTE_RESOLUTION","PAYOUT"]},"status":{"type":"string","enum":["PENDING","PROCESSING","SUCCEEDED","FAILED","OPEN","WON","LOST","CANCELED"]},"amount":{"type":"string","pattern":"^[0-9]+(?:\\.[0-9]+)?$"},"currency":{"type":"string","minLength":3,"maxLength":16},"reason":{"type":["string","null"]},"paymentIntentId":{"type":["string","null"]},"paymentId":{"type":["string","null"]},"settlementId":{"type":["string","null"]},"relatedOperationId":{"type":["string","null"]},"providerReference":{"type":["string","null"]},"providerStatus":{"type":["string","null"]},"metadata":{"$ref":"#/components/schemas/Metadata"},"completedAt":{"type":["string","null"],"format":"date-time"},"createdAt":{"type":["string","null"],"format":"date-time"},"updatedAt":{"type":["string","null"],"format":"date-time"}}},"PaymentOperationListResponse":{"type":"object","required":["requestId","data","pagination"],"properties":{"requestId":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/PaymentOperation"}},"pagination":{"$ref":"#/components/schemas/Pagination"}}},"CaptureResponse":{"type":"object","required":["requestId","paymentIntent","capture"],"properties":{"requestId":{"type":"string"},"paymentIntent":{"$ref":"#/components/schemas/PaymentIntent"},"capture":{"$ref":"#/components/schemas/PaymentOperation"}}},"RefundResponse":{"type":"object","required":["requestId","refund"],"properties":{"requestId":{"type":"string"},"refund":{"$ref":"#/components/schemas/PaymentOperation"}}},"DisputeResponse":{"type":"object","required":["requestId","dispute"],"properties":{"requestId":{"type":"string"},"dispute":{"$ref":"#/components/schemas/PaymentOperation"}}},"DisputeResolutionResponse":{"type":"object","required":["requestId","resolution"],"properties":{"requestId":{"type":"string"},"resolution":{"$ref":"#/components/schemas/PaymentOperation"}}},"PayoutResponse":{"type":"object","required":["requestId","payout"],"properties":{"requestId":{"type":"string"},"payout":{"$ref":"#/components/schemas/PaymentOperation"}}},"Settlement":{"type":"object","required":["id","object","mode","livemode","status","fundsStatus","currency","grossAmount","netAmount","availableAmount","pendingAmount","reserveAmount"],"properties":{"id":{"type":"string","format":"uuid"},"object":{"type":"string","const":"settlement"},"mode":{"type":"string","enum":["TEST","LIVE"]},"livemode":{"type":"boolean"},"orderId":{"type":["string","null"],"format":"uuid"},"paymentId":{"type":["string","null"],"format":"uuid"},"rail":{"type":["string","null"]},"status":{"type":"string"},"fundsStatus":{"type":"string","enum":["CAPTURED","PENDING","AVAILABLE","RESERVED","PAID_OUT","REVERSED","NEEDS_REVIEW"]},"currency":{"type":"string","minLength":3,"maxLength":16},"grossAmount":{"type":"string"},"netAmount":{"type":"string"},"availableAmount":{"type":"string"},"pendingAmount":{"type":"string"},"reserveAmount":{"type":"string"},"policy":{"type":"object","additionalProperties":true},"releaseAt":{"type":["string","null"],"format":"date-time"},"reserveReleaseAt":{"type":["string","null"],"format":"date-time"},"payoutEligibleAt":{"type":["string","null"],"format":"date-time"},"paidOutAt":{"type":["string","null"],"format":"date-time"},"createdAt":{"type":["string","null"],"format":"date-time"},"updatedAt":{"type":["string","null"],"format":"date-time"}}},"SettlementListResponse":{"type":"object","required":["requestId","data","pagination"],"properties":{"requestId":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/Settlement"}},"pagination":{"$ref":"#/components/schemas/Pagination"}}},"PaymentMethodListResponse":{"type":"object","required":["requestId","data"],"properties":{"requestId":{"type":"string"},"object":{"type":"string","const":"list"},"data":{"type":"array","items":{"$ref":"#/components/schemas/PaymentMethodDescriptor"}}}},"PaymentLinkCreate":{"type":"object","additionalProperties":false,"required":["offerPublicToken"],"properties":{"offerPublicToken":{"type":"string","minLength":1,"maxLength":96},"expiresAt":{"type":["string","null"],"format":"date-time"},"afterCompletionUrl":{"$ref":"#/components/schemas/CheckoutDestinationUrl"},"metadata":{"$ref":"#/components/schemas/Metadata"}}},"WebhookEndpointCreate":{"type":"object","additionalProperties":false,"required":["name","url","events"],"properties":{"storeId":{"type":["string","null"],"format":"uuid"},"name":{"type":"string","minLength":1,"maxLength":160},"url":{"type":"string","format":"uri","pattern":"^https://"},"events":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["checkout.viewed","checkout.order.created","checkout.payment.started","checkout.order.paid","checkout.post_purchase.session_created","checkout.post_purchase.accepted","checkout.post_purchase.declined","checkout.post_purchase.completed","checkout.payment.paid","checkout.payment_intent.created","checkout.payment_intent.requires_action","checkout.payment_intent.processing","checkout.payment_intent.requires_capture","checkout.payment_intent.succeeded","checkout.payment_intent.canceled","checkout.payment_intent.captured","checkout.refund.succeeded","checkout.dispute.opened","checkout.dispute.resolved","checkout.payout.succeeded","checkout.payment_attempt.failed","checkout.settlement.reconciled","checkout.settlement.needs_review","checkout.settlement.available","checkout.settlement.reserved","checkout.settlement.reserve_released","checkout.settlement.paid_out","checkout.order.expired","checkout.affiliate.attributed","checkout.affiliate.invited","checkout.affiliate.terms_accepted","checkout.affiliate.membership_updated","checkout.affiliate.network_synced","checkout.affiliate.program_published","checkout.affiliate.program_scheduled","checkout.affiliate.program_status_updated","checkout.affiliate.program_schedule_canceled","checkout.affiliate.goal_achieved","checkout.affiliate.reward_updated","checkout.affiliate.moderation_updated","checkout.affiliate.operational_status_updated","checkout.affiliate.link_created","checkout.affiliate.link_status_updated","checkout.commission.created","checkout.commission.available","checkout.commission.paid","checkout.commission.reversed","checkout.coproducer.commission.created","checkout.recovery.attempt.planned","checkout.recovery.attempt.ready","checkout.recovery.attempt.sent","checkout.recovery.attempt.failed","checkout.recovery.attempt.skipped","checkout.recovery.attempt.cancelled","checkout.recovery.simulated","checkout.subscription.created","checkout.subscription.cancelled","checkout.subscription.paused","checkout.subscription.resumed","checkout.subscription.expired","checkout.subscription.invoice.created","checkout.subscription.invoice.paid","checkout.subscription.payment_failed"]}}}},"WebhookEndpointPatch":{"type":"object","minProperties":1,"additionalProperties":false,"properties":{"name":{"type":"string","minLength":1,"maxLength":160},"url":{"type":"string","format":"uri","pattern":"^https://"},"status":{"type":"string","enum":["ACTIVE","INACTIVE"]},"events":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["checkout.viewed","checkout.order.created","checkout.payment.started","checkout.order.paid","checkout.post_purchase.session_created","checkout.post_purchase.accepted","checkout.post_purchase.declined","checkout.post_purchase.completed","checkout.payment.paid","checkout.payment_intent.created","checkout.payment_intent.requires_action","checkout.payment_intent.processing","checkout.payment_intent.requires_capture","checkout.payment_intent.succeeded","checkout.payment_intent.canceled","checkout.payment_intent.captured","checkout.refund.succeeded","checkout.dispute.opened","checkout.dispute.resolved","checkout.payout.succeeded","checkout.payment_attempt.failed","checkout.settlement.reconciled","checkout.settlement.needs_review","checkout.settlement.available","checkout.settlement.reserved","checkout.settlement.reserve_released","checkout.settlement.paid_out","checkout.order.expired","checkout.affiliate.attributed","checkout.affiliate.invited","checkout.affiliate.terms_accepted","checkout.affiliate.membership_updated","checkout.affiliate.network_synced","checkout.affiliate.program_published","checkout.affiliate.program_scheduled","checkout.affiliate.program_status_updated","checkout.affiliate.program_schedule_canceled","checkout.affiliate.goal_achieved","checkout.affiliate.reward_updated","checkout.affiliate.moderation_updated","checkout.affiliate.operational_status_updated","checkout.affiliate.link_created","checkout.affiliate.link_status_updated","checkout.commission.created","checkout.commission.available","checkout.commission.paid","checkout.commission.reversed","checkout.coproducer.commission.created","checkout.recovery.attempt.planned","checkout.recovery.attempt.ready","checkout.recovery.attempt.sent","checkout.recovery.attempt.failed","checkout.recovery.attempt.skipped","checkout.recovery.attempt.cancelled","checkout.recovery.simulated","checkout.subscription.created","checkout.subscription.cancelled","checkout.subscription.paused","checkout.subscription.resumed","checkout.subscription.expired","checkout.subscription.invoice.created","checkout.subscription.invoice.paid","checkout.subscription.payment_failed"]}}}},"Pagination":{"type":"object","required":["page","limit","total","totalPages","hasPrevious","hasNext"],"properties":{"page":{"type":"integer"},"limit":{"type":"integer"},"total":{"type":"integer"},"totalPages":{"type":"integer"},"hasPrevious":{"type":"boolean"},"hasNext":{"type":"boolean"}}},"ListResponse":{"type":"object","required":["requestId","data","pagination"],"properties":{"requestId":{"type":"string"},"data":{"type":"array","items":{"type":"object","additionalProperties":true}},"pagination":{"$ref":"#/components/schemas/Pagination"}}},"ResourceResponse":{"type":"object","required":["requestId"],"properties":{"requestId":{"type":"string"}},"additionalProperties":true},"ErrorResponse":{"type":"object","required":["requestId","message","error"],"properties":{"requestId":{"type":"string"},"message":{"type":"string"},"error":{"type":"object","required":["type","code","message","requestId"],"properties":{"type":{"type":"string","enum":["invalid_request_error","api_error"]},"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":"string"}}}}}}}}