Error Codes

When accepting a payment, a transaction is established and following every transaction carries out a complete payment method.

List of Responses

How to Interpret our API Responses: A Comprehensive List of our Response Codes and Their Meanings

Transaction Initialize Endpoint

MessageStatusStatus CodeData
Authorization requiredfailed401null
Invalid API Key or User doesn’t existfailed401null
Required Attribute: [ “validation.required”]failed400null
Invalid currency, currency is not supportedfailed400null
Incorrect header settings Please check if content-type is present and set to application/jsonfailed400null
The subaccount id you provided isn’t associated with this account. Please make sure the id is correct or to create a subaccount before proceedingfailed400null
Merchant’s share of payment is not enough to cover transaction fee.failed400null
Merchant fee is greater than split flat amount.failed400null
Merchant’s share of payment is not enough to cover transaction fee.failed400null
The subaccount id you provided isn’t associated with this account. Please make sure the id is correct or to create a subaccount before proceeding.failed400null
Merchant’s share of payment is not enough to cover transaction fee.failed400null
Merchant fee is greater than split flat amount.failed400null
Hosted Linksuccess200”checkout_url”: “https://checkout.chapa.co/checkout/payment/Od4P12hbhkbqiw9oZFHgO
Transaction reference has been used beforefailed400null
User can’t receive paymentsfailed400null
Invalid API Key or User doesn’t existfailed401null
Payments through API is disabled, please contact usfailed404null
ℹ️

Required Attributes could be amount, currency, tx_ref

Transaction Initialize Endpoint

MessageStatusStatus CodeData
Authorization requiredfailed401null
Invalid API Key or User doesn’t existfailed401null
Required Attribute: [ “validation.required”]failed400null
Invalid currency, currency is not supportedfailed400null
Incorrect header settings Please check if content-type is present and set to application/jsonfailed400null
The subaccount id you provided isn’t associated with this account. Please make sure the id is correct or to create a subaccount before proceedingfailed400null
Merchant’s share of payment is not enough to cover transaction fee.failed400null
Merchant fee is greater than split flat amount.failed400null
Merchant’s share of payment is not enough to cover transaction fee.failed400null
The subaccount id you provided isn’t associated with this account. Please make sure the id is correct or to create a subaccount before proceeding.failed400null
Merchant’s share of payment is not enough to cover transaction fee.failed400null
Merchant fee is greater than split flat amount.failed400null
Hosted Linksuccess200”checkout_url”: “https://checkout.chapa.co/checkout/payment/Od4P12hbhkbqiw9oZFHgO
Transaction reference has been used beforefailed400null
User can’t receive paymentsfailed400null
Invalid API Key or User doesn’t existfailed401null
Payments through API is disabled, please contact usfailed404null
ℹ️

Required Attributes could be amount, currency, tx_ref

Transaction Verify Endpoint

MessageStatusStatus CodeData
Authorization requiredfailed401null
Invalid API Key or User doesn’t existfailed401null
Invalid API Keyfailed401null
Invalid transaction or Transaction not foundfailed404null
Live secret keys can’t be used to verify a test transactionfailed401null
Test secret keys can’t be used to verify a live transactionfailed401null
Payment not paid yetnull404null
Payment detailspayment status200”first_name”: “Bilen”, “last_name”: “Gizachew”,“email”: “abebech_bekele@gmail.com”,“currency”: “ETB”,“amount”: 100,“charge”: 3.5,“mode”: “test”,“method”: “test”,“type”: “API”,“status”: “success”,“reference”: “6jnheVKQEmy”,“tx_ref”: “chewatatest-6669”,“customization”: “title”: “Payment for my favourite merchant”, “description”: “I love online payments”, “logo”: null,“meta”: null,“created_at”: “2023-02-02T07:05:23.000000Z”,“updated_at”: “2023-02-02T07:05:23.000000Z”
ℹ️

Payment status could be failed, success, pending.

List Banks Endpoint

MessageStatusStatus CodeData
Authorization requiredfailed401null
Banks retrieved-200null
Invalid API Keyfailed401null

Transfer Initialize Endpoint

MessageStatusStatus CodeData
Authorization requiredfailed401null
Our Transfer hours are Mon-Sat from 08:30 AM - 04:30 PM only, please check our transfer manuals or contact us for an immediate assist.failed401null
Invalid API Key or User doesn’t existfailed401null
Required Attribute: [ “validation.required”]failed400null
This bank is no longer supported or banned by National bank of Ethiopiafailed400null
The account number is not valid for bank namefailed400null
The subaccount id you provided isn’t associated with this account. Please make sure the id is correct or to create a subaccount before proceeding.failed400null
Insufficient Balancefailed400null
Transfer Queued Successfullysuccess2003241342142sfdd
Transfer Queued Successfully in Test Modesuccess2003241342142sfdd
TThe reference number has been used beforefailed400null
Insufficient Balancefailed400null
Invalid currency, currency is not supported only ETB is supported to use Transfer API.failed400null
The Bank Code is incorrect please check if it does exist with our getbanks endpoint.’,failed401null
User can’t receive payments’,failed400null
Invalid API Key or User doesn’t existfailed401null
Transfer API isn’t available now, please contact usfailed404null
ℹ️

Required Attributes could be amount, currency, bank_code, reference, account_number, account_name

Create Subaccount Endpoint

MessageStatusStatus CodeData
Authorization requiredfailed401null
Invalid API Key or User doesn’t existfailed401null
Required Attribute: [ “validation.required”]failed400null
The account number is not valid for bank namefailed400null
Subaccount created successfullysuccess200”subaccounts[id]”: “837b4e5e-57c8-4e39-b2df-66e7886b8bdb”
Something went wrong while creating the subaccount.failed400null
This bank is not longer supported or banned by National bank of Ethiopiafailed400null
This subaccount does existfailed400null
To create subaccounts via API you need to be on live mode.failed400null
The Bank Code is incorrect please check if it does exist with our getbanks endpoint.failed401null
Invalid API Key or User doesn’t existfailed400null
You Can’t create a subaccount via API, try to create from dashboard.failed401null
ℹ️

Required Attributes could be split_type, split_value, reference,business_name,bank_code, account_number, account_name

Bulk Transfer Endpoint

MessageStatusStatus CodeData
Too many requestsfailed429null