GetCreditsData - TypeScript SDK
GetCreditsData - TypeScript SDK
GetCreditsData type definition
GetCreditsData - TypeScript SDK
1 import { GetCreditsData } from "@openrouter/sdk/models/operations"; 2 3 let value: GetCreditsData = { 4 totalCredits: 100.5, 5 totalUsage: 25.75, 6 };
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
totalCredits | number | ✔️ | Total credits purchased | 100.5 |
totalUsage | number | ✔️ | Total credits used | 25.75 |