# Genarate Signature Response

Faspay will give a response signature with a few parameters, namely:

1. Merchant ID: ID is given by Faspay system
2. sTXN Password: password provided by the system transaction faspay
3. Merchant Trn ID: merchant transaction number
4. Total amount: nominal in two decimal (ex: 1000.00)
5. Transaction Status: TXN STATUS

Writing parameters separated by ##, and converted into the format parameter uppercase (is a text format to uppercase/capital all).

**Format :**&#x20;

> (“##" + MERCHANTID + "##" + sTxnPassword + "##" + MERCHANT\_TRANID + "##" + AMOUNT + "##” + TXN\_STATUS + “##”)

**Example:**

> <##TEST01##4E62f498C##OID00001##192.00##A##

Result converted to algorithm SHA1 :

D8F437D951EC1DABB52127A22F91748B473658DC

{% hint style="danger" %}
It is advisable to maintain security when receiving a response from Faspay, merchants also run this SHA1 algorithm upon receiving the response. To find out if the results match the signature received from the response that is sent, it can be done by matching the results of the transaction and the transaction signature password to use.
{% 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/additional-api-integration/untitled/genarete-signature-response.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.
