---
title: Check Payment Details
slug: v3-gateway/check-payment-details
description: Learn how to utilize the Bill Payment API to verify payment details post-bill payment. This comprehensive document outlines the necessary parameters for an API call, such as merchantTrxnRefId and trxn_id. Discover a helpful example of using cURL for the A
createdAt: 2022-10-06T05:40:43.000Z
---

### Introduction

This API is called for checking payment details after the bill is paid with Bill Payment API.

### Headers

The Headers remain the same for all the API calls.

### Request

| Key       | Type   | Parameter Description                         |
| --------- | ------ | --------------------------------------------- |
| trxn\_id  | String | Pass the merchantTrxnRefIdgiven by billPayAPI |
| urlAppend | String | Pass the trxn\_id by billPayAPI               |

::::Tabs
:::Tab{title="Production"}
```curl
curl --location --request POST 'https://api.signzy.app/api/v3/checkPaymentDetails' \
--header 'Authorization: <AUTH KEY>' \
--header 'Content-Type: application/json' \
--header 'Client-Id: <Client ID>' \
--header 'Client-Secret: <Client Secret Key>' \
--data-raw '{
   "urlAppend":"<trxn_id by billPayAPI>",
   "trxnId": "<merchantTrxnRefIdgiven by billPayAPI>"
}'
```
:::
::::

### Response

| Key       | Type   |
| --------- | ------ |
| trxnRefId | String |
| refId     | String |

POST[ ](https://api.signzy.app/api/v3/eNach/eMandates/\:subReferenceId/charge/\:paymentId/cancel)[https://api.signzy.app/api/v3/checkPaymentDetails](https://api.signzy.app/api/v3/checkPaymentDetails)

**HTTP Response Codes**

| Status Code | Description                      |
| ----------- | -------------------------------- |
| **200**     | All response details are valid   |
| **40x**     | not found, bad request, conflict |

