Payments
All operations for Payments.
Data model
The endpoints of this module work on the following entity. The schema reference lists every field with type, validation and relationships:
| Entity | Schema ID | Fields | Sequence | Permissions |
|---|---|---|---|---|
| Payment | payment |
6 | — | payment_* |
Endpoints
| Method | Path | Operation | Description |
|---|---|---|---|
POST |
/v1/payments |
Create payment | Create a new payment in the active tenant. |
DELETE |
/v1/payments/{id} |
Delete payment | Soft delete entity. |
GET |
/v1/payments/{id} |
Get payment by id | Fetch a single payment. |
GET |
/v1/payments/{id}/linked |
Get linked entities | CodeMeta OS API endpoint. |
GET |
/v1/payments/{id}/timeline |
Get timeline | CodeMeta OS API endpoint. |
GET |
/v1/payments/{id}/transitions |
List transitions | CodeMeta OS API endpoint. |
GET |
/v1/payments |
List payments | List payments for the active tenant. |
PATCH |
/v1/payments/{id} |
Patch payment | JSON Merge Patch update. |
POST |
/v1/payments/bulk |
Bulk operation | CodeMeta OS API endpoint. |
POST |
/v1/payments/{id}/transition |
POST /v1/payments/{id}/transition | CodeMeta OS API endpoint. |
POST |
/v1/payments/{id}/transitions/{transitionKey} |
Execute transition | CodeMeta OS API endpoint. |
PUT |
/v1/payments/{id} |
Replace payment | Full replace with optimistic locking. |