ERIP
API ReferencePublicTenant

/v1/tenant/credits/history

GET/v1/tenant/credits/history

Authorization

ApiKey Bearer
X-Api-Key<token>

Provide your API key in the X-Api-Key header.

In: header

AuthorizationBearer <token>

Enter a JWT token obtained from /v1/auth/login.

In: header

Query Parameters

limit?integer
Default50
Formatint32

Response Body

application/json

curl -X GET "https://example.com/v1/tenant/credits/history"
[
  {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
    "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
    "type": "Deduction",
    "amount": 0,
    "balanceAfter": 0,
    "endpoint": "string",
    "createdAt": "2019-08-24T14:15:22Z"
  }
]