API reference

The merchant API is https://api.settlane.com. Every route is under /v1, and the explorer below lists each one with its parameters, its request and response, and an example of both.

Download the OpenAPI file (OpenAPI 3.1, JSON). Feed it to a client generator such as openapi-generator or openapi-typescript to get typed calls in your own language. It also describes every webhook Settlane sends, under webhooks. It is generated from the API's own code, so it changes only when the API does.

Authentication

Authorization: Bearer sk_live_…

A sk_test_ key sees only test-mode objects and creates only test-mode objects; a sk_live_ key the reverse. There is no way to cross that line with one key, and a route that changes live configuration refuses a test key outright with LIVE_MODE_REQUIRED. A test key cannot create an invoice or a payout today: see the quickstart.

Scopes are per key: invoices:read, invoices:write, payouts:read, payouts:write, payouts:approve, customers:read, customers:write, screenings:write, events:read, wallets:read, webhooks:read, webhooks:write. A key missing the scope a route needs is refused FORBIDDEN, and the message names the scope. payouts:approve is never implied by payouts:write, and it does nothing until approval through the API is switched on for your account. See payouts.

Conventions

Explorer

The explorer is read-only: it shows each call and does not send one. Use curl or your own code with your key to make a call.