Skip to main content

billing.getCreditHistory

get/v1/billing/credits/history

billing.getCreditHistory

Request

Parameters

NameInTypeDescription
per_pagequerystringNo description

Responses

200No description
Schema Structure
{
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"type": {
"type": "string",
"examples": [
"purchase"
]
},
"amount": {
"type": "number"
},
"balance_before": {
"type": [
"number",
"null"
]
},
"balance_after": {
"type": [
"number",
"null"
]
},
"reason": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
},
"reference_id": {
"type": [
"string",
"null"
],
"description": "Referenz auf Zahlung oder zugehöriges Objekt (z.B. Job, Invoice)"
},
"metadata": {
"type": [
"array",
"null"
],
"items": {}
},
"created_at": {
"type": "string"
}
},
"required": [
"id",
"type",
"amount",
"balance_before",
"balance_after",
"reason",
"description",
"reference_id",
"metadata",
"created_at"
],
"title": "CreditTransactionResource"
}
},
"meta": {
"type": "object",
"properties": {
"current_page": {
"type": "integer"
},
"total": {
"type": "integer"
}
},
"required": [
"current_page",
"total"
]
}
},
"required": [
"success",
"data",
"meta"
]
}