---
title: Check batch status by transaction ID
slug: api-marketplace/check-batch-status-by-transaction-id
description: This document is an in-depth guide to using a status API. Learn how to make a POST request to the API using a curl command and gain insight into the request and response parameters involved. Dive into the details of these parameters, including the result 
createdAt: 2023-04-20T22:12:27.000Z
---

## Description

This is status api

## Curl

:::CodeblockTabs
Production

```curl
curl --request POST \
  --url https://signzy.tech/api/v2/patrons/...patronID.../batchmodes \
  --header 'Accept: */*' \
  --header 'Accept-Language: en-US,en;q=0.8' \
  --header 'Authorization: <Access-Token>' \
  --header 'content-type: application/json' \
  --data '{"task":"fetchTransaction","essentials":{"transactionId":"...transactionId..."}}'
```
:::

### Request Parameters

| Request Data             | Sample Value                                     |
| ------------------------ | ------------------------------------------------ |
| task                     | fetchTransaction                                 |
| essentials.transactionId | transactionId received from input batch data api |

### Response Parameters

```json
{
 	"result": {
        "url": "..url..",
        "apiName": "..apiName..",
        "maxRows": ...maxRows...,
        "rowProcessed": ...rowProcessed...,
        "success": ...success...,
        "error": ...error...,
        "comments": "...comments...",
        "patronId": "...patronId...",
        "clientRequestId": "...clientRequestId...",
        "createdTime": ...createdTime...,
        "expiryTime": ...createdTime...,
        "dontProcess": ...dontProcess...,
        "complete": ....complete...,
        "outputUrl": "...outputUrl...",
        "completedTime": ...completedTime...
 	}
 }
```

| Field           | Description                     | Sample Value               |
| --------------- | ------------------------------- | -------------------------- |
| result          | The result of the transaction.  |                            |
| url             | The URL value.                  |                            |
| apiName         | The name of the API.            | Example API                |
| maxRows         | The maximum number of rows.     | 100                        |
| rowProcessed    | The number of rows processed.   | 50                         |
| success         | The success status.             | true                       |
| error           | The error status.               | false                      |
| comments        | Additional comments or notes.   | "Data processing complete" |
| patronId        | The ID of the patron.           | "ABC123"                   |
| clientRequestId | The ID of the client's request. | "XYZ789"                   |
| createdTime     | The time of creation.           | 2023-06-13T10:15:00Z       |
| expiryTime      | The time of expiry.             | 2023-06-14T10:15:00Z       |
| dontProcess     | The processing status.          | true                       |
| complete        | The completion status.          | true                       |
| outputUrl       | The URL of the output.          | https\://abc.signzy.tech   |
| completedTime   | The time of completion.         | 2023-06-13T15:30:00Z       |

