# Response Code Error Transaction

For all the good deals are successful or rejected, indications that occur are as follows:

* No response from the Bank.
* Faspay error in the system
* Bank error in the system.
* Transactions on the block because it meets the criteria as the type of transaction fraud / problems

For some of the obstacles that occur as above, actions to be taken are:

* Check Parameters ‘**err\_code**'
  * Showed any indication of shipping error response from the system while processing transactions faspay
  * If there is no error and the transaction is not in the block, then the value to be displayed is 0.
  * If the transaction in the block, the error code that is sent is "5527".
  * If the response given value is not equal to 0, the transaction failed.
* Check Parameters '**err\_desc**' that describes the error that occurred in the parameter '**err\_code**'
* If the parameter '**error\_code**' = 0, then the merchant should check another parameter that caused the transaction to fail, the parameters that should be checked are as follows:
  * If the merchant with a payment method with credit card, check parameter '**bank\_res\_code**' and '**bank\_res\_msg**'
  * If the merchant is using direct debit, check parameter '**bank\_status\_desc**'.
  * If the merchant is using a prepaid payment, check parameter 'prepaid\_response\_code' and '**prepaid\_response\_message**'.

{% hint style="success" %}
Information cause of the failure of the transaction should not be informed in detail to the customer, but if the merchant would like to view the information, the information to be displayed can use language that is easier to understand the customer. Merchant may store transaction failure occurring reason for reference, but the response can only be in the inquiry through the query API faspay.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.faspay.co.id/merchant-integration/api-reference-1/credit-card-transaction/response-transaction/untitled-2.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
