/

Error Reference

Every Wyrr API error includes a machine-readable code field and a human-readable message. Use the code to handle errors programmatically.

Error Response Format

{
  "error": {
    "code": "card_declined",
    "message": "The card was declined by the issuing bank.",
    "param": "payment_method",
    "doc_url": "https://docs.wyrr.com/errors#card_declined"
  }
}

Authentication

Errors related to API authentication and authorization.

StatusCodeMeaning
401auth_invalid_keyThe API key provided is invalid or has been revoked.
401auth_expired_tokenThe access token has expired.
403auth_insufficient_scopeYour token does not have the required scope for this operation.
403auth_ip_restrictedRequest originated from an IP address not in your allowlist.

Validation

Errors when request parameters fail validation.

StatusCodeMeaning
400invalid_requestThe request body is malformed or missing required fields.
400invalid_currencyThe currency code is not supported.
400invalid_amountThe amount is out of the allowed range.
422unprocessable_entityThe request is well-formed but semantically invalid.

Payment Processing

Errors during payment collection and payout processing.

StatusCodeMeaning
402card_declinedThe card was declined by the issuing bank.
402insufficient_fundsThe payment source does not have enough funds.
402payout_insufficient_balanceYour Wyrr account balance is insufficient for this payout.
402payment_method_unsupportedThe payment method is not available for this currency or region.
409idempotency_conflictA request with this idempotency key was already processed with different parameters.
402fraud_suspectedThe transaction was blocked by Wyrr's fraud detection system.

Rate Limiting

Errors when you exceed API rate limits.

StatusCodeMeaning
429rate_limit_exceededToo many requests in a short period.
429concurrent_limit_exceededToo many concurrent requests.

Resource Errors

Errors when accessing or modifying resources.

StatusCodeMeaning
404resource_not_foundThe requested resource does not exist.
409resource_conflictThe resource is in a conflicting state for this operation.

Server Errors

Internal server errors and service availability issues.

StatusCodeMeaning
500internal_errorAn unexpected error occurred on Wyrr's servers.
502bad_gatewayA downstream service is unavailable.
503service_unavailableThe API is temporarily unavailable.