Projects API
Authenticated dashboard project management endpoints.
These Dashboard management endpoints require a merchant JWT.
| Method | Path | Purpose |
|---|---|---|
GET | /projects | List the account's projects |
POST | /projects | Create a project with name (1–100 characters) |
PATCH | /projects/:id | Update project settings |
GET | /projects/:id/readiness | Read integration checklist state |
Project update accepts name, successUrl, cancelUrl, and up to 20 exact allowedRedirectDomains. The integration API does not accept a project ID: its secret key determines the project.
Project buyer-fee policy
GET /projects/:id/fee-policy?mode=LIVE reads the owned policy (LIVE or TEST). PATCH /projects/:id/fee-policy accepts { "mode": "LIVE", "enabled": true, "expectedVersion": 0 }; use the version from GET. Stale saves return 409. This is owner-JWT management, affects only newly issued root obligations, and never rewrites existing payments. See buyer pricing.