SatLane
Documentation

Endpoint reference

Endpoint reference

Authed (your server → ours)

POST   /v1/auth/login                          # vendor session login (if scripting dashboard)
POST   /v1/invoices                            # create invoice
GET    /v1/invoices                            # list (cursor pagination)
GET    /v1/invoices/:id                        # fetch one
POST   /v1/invoices/:id/cancel                 # cancel
POST   /v1/invoices/:id/simulate               # test-mode only — fire any event
POST   /v1/stores/:id/test-invoice             # one-click test invoice (session auth)
GET    /v1/stores/:id/webhooks                 # list webhook endpoints
POST   /v1/stores/:id/webhooks                 # add endpoint
POST   /v1/stores/:id/webhooks/:wid/test       # send synthetic test event

Public (buyer's browser → ours)

GET    /pay/invoices/:id                       # invoice + store branding snapshot
GET    /pay/invoices/:id/events                # SSE stream
GET    /pay/invoices/:id/stream                # WebSocket alternative to SSE

CORS is open (Access-Control-Allow-Origin: *) on /pay/* so vendor frontends on any domain can call these directly.