Error Codes

Service Error Codes and Descriptions;

In case of an error as a result of the operations performed on the services, certain error codes are returned by the system. The response of the Elasticpos payment API and the error codes and explanations in this answer are as follows;

RETURN_CODE
STATUS
DESCRIPTION

100

ERROR

This message is returned when the service is not authorized to use and all other general errors.

101

FIELD_ERROR

If the fields sent in the request messages are incorrect, this message is returned.

102

AUTHENTICATION_ERROR

This error message is returned when authentication fails.

103

LIMIT_ERROR

This error message is returned when the limit is insufficient for payment requests.

104

COMMISSION_ERROR

This message is returned because the commission information is not defined or is incompletely defined.

105

INSERT_ERROR

This message is returned in case of errors encountered in database registration processes.

106

BRAND_ERROR

If the family(bonus, amex, combo, etc...) type of the card to be paid is restricted to the merchant, this message is returned.

201

PAYMENT_ERROR

This message is returned to errors received during payment.

206

Not3DAuthentication

This error message is returned when 3D Verification cannot be performed.

34

BLOCKED_ERROR

This error message is returned when a transaction is made with a data in the Black List.

300

ORDER_CANCEL

This message is returned in case of errors in the marketplace payment cancellation service.

400

PROCESS_QUERY

This message is returned in case of errors in the transaction status query service.

500

DIRECT_PAYMENT

This message is returned in case of errors in 3D (Direct) payment transactions.

Example response template returned by the Esnekspos payment API;

                                            
                                        
{
        "RETURN_CODE": "0",
        "RETURN_MESSAGE": "SUCCESS",
        "STATUS": "SUCCESS",
        "ORDER_REF_NUMBER": null,
        "REFNO": null
}
        
                                        

Last updated