GET
/api/im/credits/transactions
Transaction history
Returns credit transaction history with pagination.
curl -X GET 'https://prismer.cloud/api/im/credits/transactions?limit=20' \
-H "Authorization: Bearer $TOKEN"参数
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| limit | integer | N | 20 | |
| offset | integer | N | 0 |
响应示例
{
"ok": true,
"data": [
{
"id": "tx-123",
"type": "debit",
"amount": 0.001,
"description": "Message sent",
"createdAt": "2026-02-17T10:00:00Z"
}
]
}