Loading...
Loading...
Error reference
Each API error includes a docs_url that links directly to the relevant entry on this page. No guessing, no searching, the error response itself points you to the fix.
Metric
Total error codes
Value
21 codes across 9 categories
Metric
Self-documenting
Value
Every response includes docs_url pointing to this page
Metric
Retryable errors
Value
6 of 21 errors are safe to retry
Metric
SDK support
Value
Error classes expose code, docsUrl, and retryable fields
Overview
Every Payvra API error response follows the same structure: a machine-readable code, a human-readable message, and a docs_url that links to this catalog. The error response itself contains everything a developer needs to diagnose and resolve the issue.
Errors are organized into 9 categories. Each code maps to a specific HTTP status and indicates whether the request is safe to retry.
Error format
The reliability_code is the stable identifier for programmatic handling. The docs_url links to the anchor for that specific error on this page.
API error response
{ "error": { "code": "auth.key_missing", "message": "No API key provided. Include your key in the Authorization header as: Bearer sk_test_...", "data": { "reliability_code": "auth.key_missing", "category": "authentication", "retryable": false, "docs_url": "https://payvra.com/docs/errors#auth.key_missing", "http_status": 401 } }}SDK error handling
import Payvra from "payvra";const payvra = new Payvra({ apiKey: process.env.PAYVRA_KEY! });try { const payment = await payvra.payments.create({ amount: "100.00", currency: "USDC", chain: "solana", });} catch (err) { if (err instanceof Payvra.APIError) { console.error(err.code); // "auth.key_missing" console.error(err.status); // 401 console.error(err.docsUrl); // "https://payvra.com/docs/errors#auth.key_missing" console.error(err.retryable); // false }}codemessagedata.reliability_codedata.categorydata.retryabledata.docs_urldata.http_statusError catalog
Click any error to expand its description, cause, fix, and code example. Use the search bar to find errors by code, message, or HTTP status.
Errors related to identity, missing, malformed, expired, or revoked credentials.
The request shape or values do not satisfy the endpoint schema.
The referenced resource does not exist in the current environment.
The request conflicts with existing resource state.
The caller has exceeded the allowed request rate.
An internal infrastructure component is temporarily degraded.
An unexpected server-side failure outside all other categories.
Payment-specific errors related to underpayments, wallet rejections, and conversion failures.