PaymentRequiredResponseError - Go SDK

PaymentRequiredResponseError type definition

The Go SDK and docs are currently in beta. Report issues on GitHub.

Payment Required - Insufficient credits or quota to complete request

Fields

FieldTypeRequiredDescriptionExample
Errorcomponents.PaymentRequiredResponseErrorData✔️Error data for PaymentRequiredResponse{"code": 402,"message": "Insufficient credits. Add more using https://openrouter.ai/credits"}
OpenrouterMetadatamap[string]anyN/A
UserID*stringN/A