Payments Public API
Generated from the Celerp 2.4.0 OpenAPI schema, 16 September 2026.
GET /pay/{token}
Start Payment
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
token | path | yes | string | -- |
Responses
| Status | Description | Body |
|---|---|---|
200 | Successful Response | -- |
422 | Validation Error | HTTPValidationError |
Example
curl -X GET http://localhost:8000/pay/:token \
-H "Authorization: Bearer $TOKEN"GET /pay/{token}/return
Return From Payment
Customer's return from Stripe - reconcile immediately, then show the doc.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
token | path | yes | string | -- |
session_id | query | -- | string | -- |
Responses
| Status | Description | Body |
|---|---|---|
200 | Successful Response | -- |
422 | Validation Error | HTTPValidationError |
Example
curl -X GET http://localhost:8000/pay/:token/return \
-H "Authorization: Bearer $TOKEN"