Logoelepay

Error Codes

This page explains the error codes that can occur in elepay.

API HTTP Status Codes

Basically, three categories of status codes are returned.

CodeDescription
2xxSuccess The request was accepted successfully
4xxClient Error The request from the client was invalid.
5xxServer Error The elepay server failed to process the request

Error Code Details

CodeDescriptionDetailsSource
10000SDK not initialized.iOS SDK
10001This service is inactive.Inactive application. Please wait until your application is approved by elepay.API
10002This payment method is inactive.Inactive payment method. Please wait until configuration in elepay is completed.API
10003Invalid payment method.The payment method is not supported by elepay.API
10011SDK initialization has not finished yet.We recommend initializing the elepay SDK as soon as your app starts. If you request a payment immediately after calling the SDK's initialization method, this error is likely to occur.iOS SDK
10100Required payment method not supported by user device.Example: The OS version is too old to support the method; Apple Pay is disabled on the device; or there is no valid credit card in the iOS Wallet. Note: This error also occurs if Apple Pay is not enabled in the Xcode build settings.iOS SDK
10101Credit card was declined.Example: Wrong card number, expired card, etc.API, Android SDK, iOS SDK
10102Invalid amount.The user entered an invalid amount (too large or too small), so the charge could not be processed.API, Android SDK
10103Invalid charge ID.Android SDK
10104Invalid payload.Could not parse the given payload data. The SDK received invalid data.Android SDK, iOS SDK
10105Invalid payload (same as 10104; developers do not need to distinguish).Could not parse the given payload data. The SDK received invalid data.Android SDK, iOS SDK
10106Invalid resource.The payload is not for the current platform. Example: Using a Web payload in an iOS app.Android SDK, iOS SDK
10107Invalid status.The payload status is not valid for processing.Android SDK, iOS SDK
10108The charge has already been refunded.API
10109Not captured; refund refused.API
10100Payment method unsupported by user device.Example: When using Apple Pay, the device has no supported credit card added or the device does not support Apple Pay at all.iOS SDK, Android SDK
10110Third‑party payment app is not installed.Example: PayPay or WeChat app is not installed. Handle this error and guide the user to the install page for a better experience.iOS SDK, Android SDK
10111Not found.Example: The charge ID cannot be found in the elepay system.API
40012Order number is required.API
40013frontUrl is required.API
40015Buyer name is required.API
40018Buyer zip is required.API
40019Buyer address1 is required.API
40020Buyer address2 is required.API
40021Order number length is invalid (maximum 20 characters).API
40022The order number has already been used.API
40023Invalid currency.API
40024Product name is required.API
40025Partial refunds are not supported for this charge.API
40026Refunds are not supported for this charge.API
40027Invalid request body.API
40028Source is not supported for this payment method.API
40029Multiple sources are not supported for this payment method.API
40030Source ID or customer ID is invalid.API
40031The source ID is not suitable for the payment method.API
40034Multiple refunds are not supported for this charge.API
40035Invalid payment resource.API
40101Offline code has expired.API
40102Invalid offline code.API
40103Insufficient balance.API
40104Unsupported card.API
40105Charge has already been closed.API
40106Amount limit exceeded.API
40110Other offline error occurred.API
50000An error occurred on the elepay server.API
50001Payment provider error (API) or bad network (SDK).API, Android SDK, iOS SDK
50002Invalid data received.Example: The data received is not from the elepay server.Android SDK, iOS SDK, HTML5 SDK
50003An error occurred when communicating with the payment provider.API

Last updated on

On this page