Digital River uses HTTP response status codes. These codes indicate whether an API request succeeded or failed. HTTP status codes group responses into the following classes:
2xx range indicates success.
4xx range indicates an error that failed based on the provided information provided (for example, you omitted a parameter or a charge failed).
5xx range indicates an error with Digital River's servers.
You can handle some
4xx errors programmatically to include an error code that briefly explains the error reported (for example, include an error code when you decline a card).
See Error codes for more information.
The following table contains a list of API error codes.
Stop all billing as this account is closed.
The item you tried to create already exists.
The given amount is too large. Provide a smaller amount and try again.
The API key has expired.
The card has expired. Provide valid card information and try again.
The transaction exceeds the card limit amount.
The merchant has blocked this card type.
The transaction exceeds the card velocity amount.
The charge has expired. Provide valid charge information and try again.
The charge could not be captured.
A user provided a restricted country. Make sure that users can only sign up from supported countries.
The currency provided is not supported. Provide a supported currency and try again.
The card has been declined for an unknown reason.
The card issuing bank has declined this payment.
The email address is invalid. Provide a valid email address and try again.
The transaction has been identified by the issuing bank as fraudulent.
The transaction has been identified by Digital River as fraudulent.
The address does not match the card network's records.
The amount is not accepted by the card network.
The boolean value is invalid. Provide a valid boolean value and try again.
The card bin is invalid.
The card number entered is invalid.
This currency is not supported.
The empty value is invalid. Provide a valid value and try again.
The card is expired or the expiration date is invalid.
The integer value is valid. Provide a value integer value and try again.
The metadata key is invalid. Provide a value metadata key and try again. See Metadata for requirements and try again.
The value provided for the metadata was invalid. See Metadata for requirements and try again.
The parameter is invalid. Check our API Reference to see which values are valid and try again.
The PIN provided is invalid or incorrect.
The quantity provided in the request was invalid. Check our API Reference to see what is a valid quantity and try again.
The security code provided is invalid or incorrect.
The shipping choice is invalid. Provide a valid shipping choice and try again.
The string value is blank. Provide a valid string value and try again.
The string value is empty. Provide a valid string value and try again.
The transaction type is invalid.
The card does not exist with the issuer.
The card issuer does not exist.
The card issuing bank could not be reached.
The card has insufficient funds to complete the purchase.
The transaction amount exceeds your assigned limit.
The issuing bank has marked this card lost or stolen.
The transaction amount exceeds the limit assigned for this MID.
A parameter is missing. Check our API Reference to see which values are required and try again.
The payment processor did not respond.
The item requested was not found.
The item is not in inventory.
The bank's allowable number of PIN tries has been exceeded.
The postal code is invalid. Enter a valid postal code and try again.
restricted by the card network.
The given SKU is inactive. Provide an active SKU and try again.
The source provided has expired. Check Sources to see which sources have not expired and try again.
The source provided is not chargeable. Check Sources to see which sources are chargeable and try again.
The card holder has requested all recurring and / or installment charges to be stopped.
The tax identifier is not valid. Correct the tax identifier and try again.
The request contained too many metadata pairs. See Metadata for requirements and try again.
The request contains an unknown parameter. Check our API Reference to see which values are required and try again.