Transactions
Transaction Detail
Read one transaction and its related deposit, order, or transfer IDs.
Modified at Apr 28, 2026, 05:38 AM UTC
GET/api/transactions/{id}transaction.read
Returns one transaction with its related deposit, order, or transfer IDs.
Request
curl "https://cekceir.online/api/transactions/{id}" \
-H "Authorization: Bearer <api_key>" \Request Fields
| Field | Type | Required | Description |
|---|---|---|---|
| Authorization | header string | Yes | Bearer token header in the format Bearer <api_key>. |
| id | path positive integer | Yes | Transaction ID. |
Success Response
{ "data": { "id": 654, "access_channel": "api", "type": "order", "status": "succeeded", "amount": 1500, "description": "", "reference_id": "TX-654", "external_reference": null, "related_order_id": 321, "related_deposit_id": null, "related_transfer_id": null, "metadata": null, "created_at": "2026-04-26T00:00:00.000Z", "completed_at": "2026-04-26T00:00:01.000Z", "cancelled_at": null }}Response Fields
| Field | Type | Required | Description |
|---|---|---|---|
| data.id | number | Yes | Transaction ID. |
| data.access_channel | string | Yes | Channel that created the transaction. |
| data.type | string | Yes | Transaction type. |
| data.status | string | Yes | Transaction status. |
| data.amount | number | Yes | Transaction amount. |
| data.description | string | Yes | Transaction description. |
| data.reference_id | string | Yes | Internal transaction reference. |
| data.external_reference | string or null | No | External reference when available. |
| data.related_order_id | number or null | No | Related order ID when applicable. |
| data.related_deposit_id | number or null | No | Related deposit ID when applicable. |
| data.related_transfer_id | number or null | No | Related transfer ID when applicable. |
| data.metadata | object or null | No | Additional transaction metadata when available. |
| data.created_at | ISO datetime | Yes | Transaction creation time. |
| data.completed_at | ISO datetime or null | No | Time the transaction completed. |
| data.cancelled_at | ISO datetime or null | No | Time the transaction was cancelled. |