Skip to content
Swft Docs
Search
Ctrl
K
Cancel
GitHub
Select theme
Dark
Light
Auto
Getting Started
Start here
Overview
Installation
First Checkout
Address Autocomplete
B2B Checkout Mode
Headless Embed
Without WordPress
Next.js
Medusa.js
Vanilla JS
Payment Gateways
Overview
Connecting Stripe
Connecting PayPal
Connecting Klyme
Connecting NomuPay
Express Checkout
BNPL
Local Payment Methods
Swft Checkout
Overview
Plugin Settings
Templates
Custom Domains
Dunning (Payment Recovery)
Fraud & Risk Rules
Gift Cards
KYC & B2B Verification
AI Checkout
Swft Cart
Overview
Modules
Themes
Public API
Modules
Bumps
Bundles
Digital
Donations
Drops
Funnels
Gifts
License
Offload
Reviews
Subscriptions
Wallet
Extensions
Overview
JS Events
PHP Filters
Building a Module
Swft Checkout JS API
Dashboard
Overview
Settings
Go Live
Analytics
Modules
Billing
Checkout Editor
A/B Testing
Sessions
Integrations
Webhooks
Zapier
Make
n8n
MCP Server
Agency Program
Ambassador Program
Partner API (v2)
New
Authentication
Errors
Merchant Onboarding
Booking Extensions
Pre-confirmation Hook
Webhooks
DNS Delegation
Observability
Examples
Unstack × Swft (Pilates)
Partner API Reference
Overview
agencies
Overview
Introspect the authenticated partner key.
Onboard a new merchant under this workspace and return a Stripe Connect URL.
Configure or update the pre-confirmation capacity-check hook for a merchant.
Assign a custom checkout hostname to a merchant.
webhooks
Overview
List webhook deliveries.
Inspect a single delivery (includes response body).
Re-fire a delivery. Resets attempt_count and clears terminal state.
partner-keys
Overview
List partner API keys in a workspace.
Mint a new partner API key. The plaintext is returned ONCE.
Revoke a partner API key. Idempotent — repeats are no-ops.
logs
Overview
List recent partner API calls for the authenticated workspace.
Look up a single request log entry by request_id.
Operations
AI Chat Operational Runbook
AI Chat Merchant Beta Guide
Changelog
Releasing
GitHub
Select theme
Dark
Light
Auto
Overview
agencies
Section titled “agencies”
Agency-level operations across merchants in a workspace.
Operations
Section titled “ Operations ”
GET
/agencies/me
POST
/agencies/{workspaceId}/merchants
PUT
/agencies/{workspaceId}/merchants/{merchantId}/pre-confirmation
POST
/agencies/{workspaceId}/merchants/{merchantId}/custom-domain