Error Responses
  • 06 Dec 2023
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Error Responses

  • Dark
    Light
  • PDF

Article summary

If any validation or abnormal error occurs, the SmartLink web service returns error messages. The error message includes a specific error code and possibly an error message. 

The error response is returned in JSON format.

{
	"Error" : "00001",
	"ErrorMessage" : "Missing Merchant ID"
}

Error Codes

The following table describes various error codes that the web services return in response to the validation or an abnormal error:

Error CodeError Description
00001Missing Merchant ID
00002Missing Amount
00003Missing Currency Code
00004Invalid Amount
00005Invalid Currency Code
00006Invalid Language
00007Merchant Not Available
00008Invalid Parameters Values
00009Messing Invoice ID
00010Duplicate Invoice ID
00011Invalid Invoice ID
00012Invalid Customer Email Address Format
00013Invalid Customer Mobile Number Format
00014Invalid Dynamic Fileds Format
00015Invalid Expiry Period
00016
Invalid Payment Description
00017
Invalid JSON Format
00018
Invalid Merchant ID
00019
Abnormal Error
00020
The Request Has Duplicate Invoice Ids
00021
Missing Authentication Token
00022
Invalid Authentication Token
00023
Missing Invoices Parameter
00024
Missing Invoices Details
00025
Missing Customer Email Address
00026
Missing Customer Mobile Number
00027
Missing Expiry Period
00028
Invoice is not found
00029
Authentication Token Is Not Configured
00030
Invoice Is Not Suitable for Refund
00031
Missing Required Dynamic Field
00032
Invoice Refund Failed
00033
Invalid Customer ID
00034
Missing Description
00035
Invoice To Complete Is Not Pre-Auth
00036
Transaction Is Already Completed
00037Missing Customer Email Address OR Customer Mobile Number
00038
Pre-Authorized Invoice is not suitable for Refund
00039
Missing Currency
00042
Invoice ID Not Found
00043
Invalid Completion Amount
00044
Entered Currency Not The Same As Pre-Authorized Currency
00045
Invoice ID Shouldn't Be Greater Than 60 Characters
00046
Please Fill All Required Fields
00047
Wrong Invoice ID Format
00049
Invoice To Complete Is Not Suitable For Completion
00050
Invalid Row Format
00051
Dynamic Field Value Is Not Editable
00052
Invoice Not Eligible For Deactivation
00053
Invoice Not Eligible For Activation
00054
Message cannot be resent as invoice is not eligible
00056
Resend failed, invoice is missing the needed Email/Mobile Number
00057
URL Delivery Configuration for merchant is missing
00058
Error While Sending Approve Email
00059
Resend failed, Resend invoice should be after 15 minutes from the last send time.
00061
Missing Notification Email Address
00090
Invalid from date
00091
Missing from date
00092
Invalid to date
00093
Missing to date
00094
Invalid expiry from date
00095
Invalid expiry to date
00096
Invalid date
00097
Invalid expiry date
00098
Invalid currency
00099
Invalid invoice status
00100
Invalid invoice type
00101
Invalid include dynamic field format
00102
Invalid response fields value
00103
The requested message is not supported
00104
Invalid use pagination format
00105
Invalid page parameter
00106
Invalid page size
00107
Missing page number
00108
Missing page size
00109
Number of records for this request exceed the maximum allowed number of records, please select another date range or use pagination.

What's Next