For the complete documentation index, see llms.txt. This page is also available as Markdown.

Balance History

This API is used to get the balance history

get
Authorizations
AuthorizationstringRequired

Type 'Bearer ' followed by your JWT token. Example: "Bearer eyJhbGciOi..."

Path parameters
project_idstringRequired

Project ID

Query parameters
datestringOptional

Date

pageintegerOptional

Page (default is 1)

limitintegerOptional

Limit (default is 10)

idintegerOptional

Account Balance ID

Responses
200

Successful Response

application/json
codeintegerOptionalExample: 200
messagestringOptionalExample: Success
get/core/balance/history/{project_id}
GET /core/balance/history/{project_id} HTTP/1.1
Host: ai.cloudeka.id/
Authorization: YOUR_API_KEY
Accept: */*
200

Successful Response

{
  "code": 200,
  "data": {
    "balance_details": [
      {
        "amount": 1,
        "created_at": "text",
        "created_by": "text",
        "current_balance": 1,
        "description": "text",
        "id": 1,
        "previous_balance": 1,
        "source": "text",
        "transaction_id": "text",
        "type": "text"
      }
    ],
    "pagination": {
      "count": 1,
      "page": 1,
      "totalpage": 1
    }
  },
  "message": "Success"
}

Last updated