> For the complete documentation index, see [llms.txt](https://konnadex-docs.gitbook.io/konnadex-technologies/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://konnadex-docs.gitbook.io/konnadex-technologies/payments/verify-payments.md).

# 🔏 Verify Payments

#### Verify Payment API <a href="#verify-payment-api" id="verify-payment-api"></a>

To verify transactions using the Konnadex endpoint, you will make a GET request to the verify transaction endpoint from your server using your transaction reference or with the address property.

Here's a code sample for verifying transactions:

`GET` `https://api.konnadex.com/v1/collections/{reference}/verify`

**Path Parameters**

<table><thead><tr><th width="139">Name</th><th width="122.33331298828125">Type</th><th>Description</th></tr></thead><tbody><tr><td>reference*</td><td>String</td><td>The transaction <code>reference</code> you want to fetch</td></tr></tbody></table>

**Headers**

<table><thead><tr><th width="149.66668701171875">Name</th><th width="137.66668701171875">Type</th><th>Description</th></tr></thead><tbody><tr><td>x-api-key*</td><td>String</td><td>YOUR_SECRET_KEY</td></tr></tbody></table>

**200:** OK Success response&#x20;

**404**: Not Found Error occurred

```javascript
  {
  "createdAt": "2024-03-11T18:39:30.711Z",
  "updatedAt": "2024-03-11T18:41:27.903Z",
  "deletedAt": null,
  "id": "f19de6ce-1a15-4321-94b8-b3c13e04b0f2",
  "assetId": "USDT",
  "network": "BSC",
  "fee": "0.07",
  "amount": "6.59",
  "amountPaid": "6.59",
  "fiatAmount": "10000.00",
  "fiatRate": "1518.4",
  "fiatCurrency": ["NGN","USD","EUR","GBP","GHS","AUD","JPY"]
  "isTransfer": false,
  "recipientAddress": "0x8d45d01904912BB9599fC3191d3173f54a32bBC1",
  "addressBindTimestamp": "2024-03-11T18:39:30.672Z",
  "addressUnboundTimestamp": "2024-03-11T18:41:28.121Z",
  "transactionHash": "0xa2879f3efaee977ff5321d0ea993610952db2b1d4d19ef13886792214fa776f4",
  "status": "complete",
  "bearer": "MERCHANT",
  "reference": "PLK_i5zlyhxkltnaeo8w",
  "transactionReference": "KDX|ltnafefk|8efac",
  "integratorId": "651298c28a73710b161bda70",
  "userId": "651298c28a73710b161bda6e",
  "metadata": {
    "phone": "+2348135323878",
    "fullname": "Ugochukwu Gabriel Okoro",
    "email": "ugdesmond@gmail.com",
    "address": "GRA"
  },
  "__type": "Collections"
}
```

```
 Important Note from the verification response
```

1. The `amount` key is the amount that you intended to charge the customer in crypto.
2. The `amountPaid` is the crypto amount that is being paid to the merchant. It is the `amount` customer is supposed to pay minus the fee (if the merchant is the bearer). It is usually in the coins that we support.
3. The `fiatAmount` is the fiat value of the amount that you intended to charge the customer. This is usually in the merchant's local currency.

{% hint style="info" %}
The `amountpaid` depends on who is the bearer, if the customer is the bearer(pays the transaction fee), the merchant still gets the full `amount` paid by the customer but if the merchant is the bearer, he pays for the fee from the `amount` the customer pays.
{% endhint %}
