Credits
Get transaction history
Retrieve paginated list of credit transactions
get/api/credits/transactions
Request
- Base URL: https://api.zvid.io
- URL: https://api.zvid.io/api/credits/transactions
- Auth: one of:
- API key in header x-api-key
- HTTP bearer
Query parameters
pageinteger
Page number
limitinteger
Number of items per page
Response
Transaction history retrieved successfully
Example response
{
"transactions": [
{
"id": 456,
"userId": 123,
"amount": -10,
"transactionType": "spent",
"creditSource": "subscription",
"subscriptionCreditPeriodId": 42,
"jobId": "550e8400-e29b-41d4-a716-446655440000",
"description": "Video render: 1920x1080, 30s",
"createdAt": "2025-01-15T10:30:00.000Z"
}
],
"pagination": {
"page": 1,
"limit": 20,
"total": 100,
"totalPages": 5,
"hasNext": true
}
}Changes
No recorded changes to this operation across all 1 revision of this API.