Billing

Get tenant credits

Changed on

Lists credits redeemed by the tenant with the remaining balance each. Invoices consume credits oldest first.

get/tenants/{tenant_id}/billing/credits

Request

  • Base URL
    https://api.laserdata.cloud
  • Auth
    • API key in header ld-api-key
    • or API key in cookie session

Path parameters

tenant_idinteger required
Example:7261845022003200000

Tenant identifier

Response

Tenant credits

amountstring required
created_atstring date-time required
currency'USD' required
expires_atstring date-time nullable
idinteger required
promo_code_idinteger required
remainingstring required
tenant_idinteger required

Example response

[
  {
    "tenant_id": 7261845022003200000
  }
]

Changes