Errors

{
  "error": {
    "code": "BUSINESS_INVOICE_NOT_FOUND",
    "message": "Human-readable description of the failure"
  }
}
Error codes
CodeHTTPWhere it comes from
VALIDATION_ERROR400The body or query did not pass validation: an unknown or malformed field, an invalid id, periodFrom later than periodTo, a corrupted or mismatched cursor, an amount of zero or less, an invoice command its current status does not allow (cancelling once a payment has started, reactivating an expired invoice, deleting a type that does not support deletion), or an API key field that breaks its own rules — an empty or over-long name, an unreachable webhookUrl.
PRODUCT_IMAGE_NOT_FOUND400The productImageId was not found, belongs to another merchant, or has been removed from your catalogue.
UNAUTHORIZED401The request carries no valid session JWT.
UNAUTHORIZED401A signed request is missing KeyId, Timestamp or X-Signature, its Algorithm is outside the supported list, or its Timestamp is not a number.
FORBIDDEN403The invoice belongs to another merchant.
BUSINESS_INVOICE_NOT_FOUND404The invoice does not exist, or it has been deleted.
BUSINESS_INVOICE_CANNOT_DELETE400Deleting an invoice that already has payment activity.
API_KEY_LIMIT_REACHED403You already have an active API key.
API_KEY_NOT_FOUND404The key does not exist, has been revoked, or belongs to another merchant.
TIMESTAMP_EXPIRED401Timestamp is further from the server clock than the allowed window — five minutes by default, in either direction.
API_KEY_INVALID401No key matches the KeyId header, or that key has been revoked.
SIGNATURE_INVALID401The signature did not match either of the two accepted forms of the body.
INVALID_DATE_RANGE—periodFrom is later than periodTo on GET /transactions.
—409A withdrawal is created again with the same requestId but different parameters.