project

Get project billing history

Changed on
get/api/v1/project/{id}/billing/history

Request

  • Base URL
    http://localhost:8888
  • Auth
    none declared

Path parameters

idinteger required

Project ID

Query parameters

before_txstring uuid
Example:03cfc582-b1c3-410a-a9a7-1f0afe116b3b

Before Billing TX

limitinteger
Example:50

Limit

Response

Billing history

Example response

{
  "usdt_balance": {
    "amount": "123000000000",
    "promo_amount": "12300000000"
  },
  "ton_balance": {
    "amount": "123000000000",
    "promo_amount": "12300000000"
  },
  "history": [
    {
      "id": "03cfc582-b1c3-410a-a9a7-1f0afe116b3b",
      "amount": "123000000000",
      "info": {
        "tier": {
          "id": 1,
          "name": "Test tier",
          "rpc": 5,
          "usd_price": 100
        }
      },
      "created_at": 1690889913000
    }
  ]
}

Changes

    • breaking

      added to the // response property oneOf list for the response status

    • info

      added cocoon_api_payment discriminator mapping keys to the // response property for the response status

    • breaking

      removed the required property //////// from the response with the status

    • breaking

      removed the required property //////// from the response with the status

    • breaking

      removed the required property //////// from the response with the status

    • breaking

      removed the required property //////// from the response with the status

    • breaking

      removed the required property //////// from the response with the status

    • breaking

      removed the required property //////// from the response with the status

    • breaking

      removed the required property //////// from the response with the status

    • breaking

      removed the required property //////// from the response with the status

    • breaking

      removed the required property //////// from the response with the status