PaymentRequiredResponseError - TypeScript SDK
PaymentRequiredResponseError type definition
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
PaymentRequiredResponseError type definition
import { PaymentRequiredResponseError } from "@openrouter/sdk/models/errors";
// No examples available for this model
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
error | models.PaymentRequiredResponseErrorData | :heavy_check_mark: | Error data for PaymentRequiredResponse | {"code": 402,"message": "Insufficient credits. Add more using https://openrouter.ai/credits"} |
openrouterMetadata | Record<string, *any*> | :heavy_minus_sign: | N/A | |
userId | string | :heavy_minus_sign: | N/A |