API Error Codes

     Error Code Description

Authentication and Security *

  API_Disabled API services are temporarily turned off. Please try again later.
  API_Function_Disabled This API function is temporarily unavailable. Please try again later.
  Invalid_IP_Address Requesting IP address is not listed in API entry allowed addresses list.
  Authentication_Failed Authentication error. This error is a result of incorrect API access password, name of API or incorrect hash string for security token.
  Account_API_Disabled API entry is disabled for the selected account/wallet.
  Access_Denied Access denied. An attempt to query data which is restricted for the selected account.
  Internal_Error Internal system error.

Payments and History

  Payment_Method_Not_Supported Specified payment method is not currently supported.
  Source_Account_Blocked Source account is blocked by administration.
  Target_Account_Blocked Destination account is blocked by administration.
  Receiver_Not_Found Receiver cannot be found with the provided information.
  Transaction_Not_Found Requested information on the transaction cannot be found.
  Currency_Disabled Specified currency is disabled.
  Currency_Not_Found Currency code not found or invalid currency code specified.
  Incorrect_Amount Improperly formatted, negative, too big or too small amount (min amount is 0.01).
  Not_Enough_Money Source account has insufficient funds to complete the transaction.
  Limits_Exceeded Total allowed daily transfer amount is exceeded.
  MoneyTransfer_To_Yourself The transaction is refused because you cannot send money to yourself.
  Duplicate_Payment A transaction with the specified Invoice ID already exists among other merchant transactions. This error occurs only when Invoice parameter is provided. OKPAY checks for all payments to the merchant with the same Invoice ID and in case of duplicates automatically throws this exception.
  Incorrect_Email Incorrect email format.
  Function_Is_Obsolete The function is obsolete, please refer to the manual to find the correct function.
  Maximum_Amount_Is_ The amount is too large. Please make sure the specified amount does not exceed the maximum allowed value.
  Minimum_Amount_Is_ The amount is too small. Please make sure the specified amount does not exceed the minimum allowed value.
  Incorrect_Account The specified account credentials are incorrect.
  Incorrect_Parameters There is an error in the transferred parameter(s).
  Currency_Not_Supported The specified currency is not supported by that function.

Client Verification

  Client_Not_Found Requested client is not found.
  Image_Not_Found Requested image is not found.
  Client_Access_Denied You have no permission to access requested client data.

Subscriptions

  Incompatible_Subscription_Status An attempt to change the status to one that is incompatible with a particular subscription. This error occurs if you try to update the subscription status to an invalid one; for example, you cannot activate a cancelled subscription.
  Subscription_Not_Found Subscription with given ID does not exist.

Pre-approved Payments

  Incompatible_PreapprovedPayment_Status An attempt to charge money or change the status to one that is incompatible with a particular pre-approved payments contract. This error occurs if you try to update the pre-approved payments contract status to an invalid one; for example, you cannot activate a cancelled pre-approved payments contract.
  PreapprovedPayment_Not_Found Pre-approved payments contract with given ID does not exist.

* These exceptions can be thrown by any function, you must handle them accordingly in every API function call.

OKPAY RSS
OKPAY Forum
OKPAY on Facebook
OKPAY on Livejournal
OKPAY on Twitter
OKPAY on VK
OKPAY on Linkedin
OKPAY on Youtube