Error

  • Stable machine-readable cause. Branch on this, never on message.

    values
    • validation_failed
      1. A field is missing or malformed — including an amount with more than two decimals and a currency other than the shop currency; details[] names the field. Fix the request.
    • authentication_failed
      1. The key is missing, malformed or revoked, or sent to the other environment's host.
    • method_not_enabled
      1. The method is not enabled for the shop, or the key is of the other shop type — a payin shop key on a payout endpoint, or the reverse.
    • resource_not_found
      1. No such transaction in this shop.
    • merchant_reference_conflict
      1. merchant_reference is already used with a different body. Resend the original body to get the existing transaction, or use a new reference.
    • action_not_allowed
      1. The action is not available for this method or status.
    • rate_limited
      1. Too many requests. Retry after Retry-After seconds.
    • internal_error
      1. Failure on our side. Retry the identical request.
    • not_supported_yet
      1. Described in the contract, not working yet.
  • Human-readable. Not stable — do not parse.

  • Set for validation_failed — one item per field.

    Properties: 2