Skip to content
Basil Miller edited this page Dec 10, 2020 · 2 revisions

This page describes the Akurateco Android SDK Error Models.

1. AkuratecoError

Method Description
result Always AkuratecoResult.ERROR
code Error code
message Error message
exactErrors List of the AkuratecoExactError

2. Error Codes

Code Description
204002 Enabled merchant mappings or MIDs not found.
204003 Payment type not supported.
204004 Payment method not supported.
204005 Payment action not supported.
204006 Payment system/brand not supported.
204007 Day MID limit is not set or exceeded.
204008 Day Merchant mapping limit is not set or exceeded.
204009 Payment type not found.
204010 Payment method not found.
204011 Payment system/brand not found.
204012 Payment currency not found.
204013 Payment action not found.
204014 Month MID limit is exceeded.
204015 Week Merchant mapping limit is exceeded.
208001 Payment not found.
208002 Not acceptable to request the 3ds for payment not in 3ds status.
208003 Not acceptable to request the capture for payment not in pending status.
208004 Not acceptable to request the capture for amount bigger than auth amount.
208005 Not acceptable to request the refund for payment not in settled or pending status.
208006 Not acceptable to request the refund for amount bigger than payment amount.
208008 Not acceptable to request the reversal for amount bigger than payment amount.
208009 Not acceptable to request the reversal for partial amount.
208010 Not acceptable to request the chargeback for amount bigger than payments amount.
400 Duplicate request.
400 Previous payment not completed.

3. Sample response

{
    "result": "ERROR",
    "error_code": 100000,
    "error_message": "Request data is invalid.",
    "errors": [
    {
        "error_code": 100000,
        "error_message": "card_number: This value should not be blank."
    },
    {
        "error_code": 100000,
        "error_message": "card_exp_month: This value should not be blank."
    },
    {
        "error_code": 100000,
        "error_message": "card_exp_year: This value should not be blank."
    },
    {
        "error_code": 100000,
        "error_message": "card_cvv2: This value should not be blank."
    },
    {
        "error_code": 100000,
        "error_message": "order_id: This value should not be blank."
    },
    {
        "error_code": 100000,
        "error_message": "order_amount: This value should not be blank."
    },
    {
        "error_code": 100000,
        "error_message": "order_amount: This value should be greater than 0."
    },
    {
        "error_code": 100000,
        "error_message": "order_currency: This value should not be blank."
    },
    {
        "error_code": 100000,
        "error_message": "order_description: This value should not be blank."
    },
    {
        "error_code": 100000,
        "error_message": "payer_first_name: This value should not be blank."
    },
    {
        "error_code": 100000,
        "error_message": "payer_last_name: This value should not be blank."
    },
    {
        "error_code": 100000,
        "error_message": "payer_address: This value should not be blank."
    },
    {
        "error_code": 100000,
        "error_message": "payer_country: This value should not be blank."
    },
    {
        "error_code": 100000,
        "error_message": "payer_city: This value should not be blank."
    },
    {
        "error_code": 100000,
        "error_message": "payer_zip: This value should not be blank."
    },
    {
        "error_code": 100000,
        "error_message": "payer_email: This value should not be blank."
    },
    {
        "error_code": 100000,
        "error_message": "payer_phone: This value should not be blank."
    },
    {
        "error_code": 100000,
        "error_message": "payer_ip: This value should not be blank."
    },
    {
        "error_code": 100000,
        "error_message": "term_url3ds: This value should not be blank."
    }
    ]
}