REST API

Payments API

Manage payment collection.

Generated from the Celerp 2.4.0 OpenAPI schema, 16 September 2026.

POST /payments/connect

Payments Connect

Begin Connect OAuth via Cloud; returns {url} for the UI to redirect to.

Responses

StatusDescriptionBody
200Successful Responseobject

Example

curl -X POST http://localhost:8000/payments/connect \
  -H "Authorization: Bearer $TOKEN"

POST /payments/disconnect

Payments Disconnect

Responses

StatusDescriptionBody
200Successful Responseobject

Example

curl -X POST http://localhost:8000/payments/disconnect \
  -H "Authorization: Bearer $TOKEN"

GET /payments/enabled

Payments Enabled Flag

Cached feature flag, in-memory: cheap enough for per-page-render gates (the settings page uses /payments/status for the authoritative answer).

Responses

StatusDescriptionBody
200Successful Responseobject

Example

curl -X GET http://localhost:8000/payments/enabled \
  -H "Authorization: Bearer $TOKEN"

GET /payments/status

Payments Status

Responses

StatusDescriptionBody
200Successful Responseobject

Example

curl -X GET http://localhost:8000/payments/status \
  -H "Authorization: Bearer $TOKEN"