API Service Answers

It contains the service provider's api response codes and descriptions.

For unsuccessful results in all transactions;
    {
    "result": false,
    "resultCode": Message Code,
    "resultMessage": "Explanation"
    }
   
Message Code Explanation
1 Transaction Successful
-1 There is no debt record of the subscriber number.
-2 Could not get balance information.
-3 The processing time is not suitable for the relevant institution.
-4 Debt inquiries cannot be made for the relevant institution on a holiday.
-5 20.000 TL or more cannot be processed in a single transaction.
-6 Due to the connection problem with the institution, a debt inquiry cannot be made. Please try again later.
-7 The dealer does not have permission to trade. The operation cannot be performed.
-8 The partial collection amount must be an integer value.
-9 The selected report date range cannot be greater than 15 days.
-10 The invoice has already been paid. Collection cannot be made.
-11 No records were found matching the transaction you were looking for.
-12 TC ID number or tax number is incorrect.
-13 Legal contract. Debt inquiries cannot be made.
-14 Invalid subscriber number (subscriberNo).
-15 Invalid company reference number (firmRefNo).
-16 Invalid addonID or business code (additionalNo).
-17 Invalid institution code (sootCode).
-18 System failure. Internal Server Error.
-19 The invoice to be paid for the transaction you sent could not be found.
-20 The partial collection amount cannot be greater than the invoice amount.
-21 InvoiceId (invoice ID) cannot be sent blank.
-22 User information is incorrect.
-23 No institutions found to be listed.
-24 The subscriber is currently trading in another bank. Try again later.
-25 You are not authorized to view the subscriber's debt. You can pay from the corporate cashiers.
-26 Report start and end date cannot be empty.
-27 There is an instruction registered to the subscriber number.
-28 Invalid IP address.
-29 Invalid API Key.
-30 The payment date and the query date do not match. The invoice inquired must be paid on the same day.
-31 Failed to get end of day operation.
-32 Insufficient account balance available.
-33 You do not have invoice inquiry authority for the relevant institution.
-34 You do not have the authority to collect invoices for the relevant institution.
-99 Your transaction could not be completed. Please try again.