---
title: Get Payment Details
slug: api-marketplace/get-payment-details
createdAt: 2024-08-19T06:10:53.519Z
---

## Introduction:

## Sample Curl:

:::CodeblockTabs
preproduction

```curl
curl --location 'https://api-preproduction.signzy.app/api/v3/fd-booking/get-payment-details' \
--header 'Authorization: <auth-token>' \
--header 'Content-Type: application/json' \
--data '{
	"paymentId": "d7051dc6-bc3b-4000-b3c4-78ce9f132da7"
}'
```

production

```curl
curl --location 'https://api.signzy.app/api/v3/fd-booking/get-payment-details' \
--header 'Authorization: <auth-token>' \
--header 'Content-Type: application/json' \
--data '{
	"paymentId": "d7051dc6-bc3b-4000-b3c4-78ce9f132da7"
}'
```
:::

## Input Parameters:

| Parameters | Type          | Description | Mandatory/Optional |
| ---------- | ------------- | ----------- | ------------------ |
| paymentId  | String (UUID) | Payment ID  | Mandatory          |

## Sample Output:

:::CodeblockTabs
json

```json
{
	"id": "d7051dc6-bc3b-4000-b3c4-78ce9f132da7",
	"date": "2024-07-18",
	"paymentMethod": "upi",
	"utrNumber": null,
	"applicationId": "94e9bf70-cab9-41e8-bc6e-0727d27312bd",
	"status": "success",
	"callbackUrl": "https://www.google.com/",
	"redirectUrl": "https://devapi.tarrakki.com/fd/v1/payments/d7051dc6-bc3b-4000-b3c4-78ce9f132da7/redirect"
}
```
:::

## Output Parameters:

| Parameter     | Type                | Description                                    |
| ------------- | ------------------- | ---------------------------------------------- |
| id            | String (UUID)       | Application ID                                 |
| date          | String (YYYY-MM-DD) | Date of the payment                            |
| paymentMethod | String              | Method of Payment                              |
| utrNumber     | String              | UTR Number                                     |
| applicationId | String (UUID)       | Application ID for which payment has been done |
| status        | String              | Status of the Payment                          |
| callbackUrl   | String (URL)        | Callback Url given while creating payment      |
| redirectUrl   | String (URL)        | Payment Redirect URL                           |



## Status Codes:

:::CodeblockTabs
200 OK

```json
{
	"id": "abf09909-74f0-4922-b588-3a8be1bfd0c1",
	"status": "new"
}
```

400

```json
{
	"error": {
		"reason": "VALIDATION_ERROR",
		"status": 400,
		"message": "\"type\" must be one of [Photo, PAN, Aadhaar, Aadhaar Front, Aadhaar Back]",
		"type": "Bad Request",
		"statusCode": 400,
		"name": "error"
	}
}

1. "Invalid File URL"
2. "\"type\" must be one of [Photo, PAN, Aadhaar, Aadhaar Front, Aadhaar Back]"
3. "\"referenceNumber\" is not allowed"
4. "Application not found"
5. "Document already uploaded"
```

401

```json
{
    "message": "Invalid authentication credentials"
}
```

500

```json
{
    "error": {
        "name": "error",
        "message": "Internal Server Error",
        "status": 500,
        "reason": "ERROR",
        "type": "Internal Server Error",
        "statusCode": 500
    }
}
```
:::



