---
title: Credit Card Analysis | Analyze Statement
slug: api-marketplace/credit-card-analysis-or-analyze-statement
createdAt: 2024-09-13T05:28:03.811Z
---

## cURL:

:::CodeblockTabs
Preproduction

```curl
curl --location 'https://api-preproduction.signzy.app/api/v3/statementanalysis/analyze-ccs' \
--header 'Authorization: <auth-token>' \
--header 'Content-Type: application/json' \
--data '{
    "reportType": "Credit Card Statement",
    "fileUrl": "https://files-staging.signzy.tech/api/files/5140067/download/831f97f225234c42853d5322dbdd9b110e5c8b1a77be4355968b5bd4d3a04748.pdf",
    "password": "2009",
    "traceId": "2082b351-da12-454d-9882-11d1f6a2b78f",
    "extraParams": {
        "name": "*****",
        "inputAccountNumber": "*****",
        "associatedParty": "*****",
        "startDate": "*****",
        "endDate": "*****"
    }
}'
```

Production

```curl
curl --location 'https://api.signzy.app/api/v3/statementanalysis/analyze-ccs' \
--header 'Authorization: <auth-token>' \
--header 'Content-Type: application/json' \
--data '{
    "reportType": "Credit Card Statement",
    "fileUrl": "https://files-staging.signzy.tech/api/files/5140067/download/831f97f225234c42853d5322dbdd9b110e5c8b1a77be4355968b5bd4d3a04748.pdf",
    "password": "2009",
    "traceId": "2082b351-da12-454d-9882-11d1f6a2b78f",
    "extraParams": {
        "name": "*****",
        "inputAccountNumber": "*****",
        "associatedParty": "*****",
        "startDate": "*****",
        "endDate": "*****"
    }
}'
```
:::

## Request Headers:

| Key            | Value            |
| -------------- | ---------------- |
| ﻿Authorization | Shared by Signzy |
| Content-Type   | application/json |

## Request Body:

:::CodeblockTabs
JSON

```json
{
    "reportType": "Credit Card Statement",
    "fileUrl": "https://files-staging.signzy.tech/api/files/5140067/download/831f97f225234c42853d5322dbdd9b110e5c8b1a77be4355968b5bd4d3a04748.pdf",
    "password": "2009",
    "traceId": "2082b351-da12-454d-9882-11d1f6a2b78f",
    "extraParams": {
        "name": "*****",
        "inputAccountNumber": "*****",
        "associatedParty": "*****",
        "startDate": "*****",
        "endDate": "*****"
    }
}
```
:::

| PARAMETER   | DESCRIPTION                                                                                                                                                                                                                                                                                     | TYPE   | VALUE(COMPULSORY OR OPTIONAL) |
| ----------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------ | ----------------------------- |
| reportType  | This parameter specifies what type of work order has to be created. Whether the workorder is for bank statement analysis, salary slip analysis or credit card statement analysis. This mapping is done at GLIB’s end which can then be used in the API. Possible value is Credit card statement | String | COMPULSORY                    |
| fileUrl     | Credit card statement file that has to be processed                                                                                                                                                                                                                                             | String | COMPULSORY                    |
| password    | Password of the uploaded document                                                                                                                                                                                                                                                               | String | OPTIONAL                      |
| traceId     | This is a user defined ID. For Ex: User can pass loan application id for keeping the trace of analysis                                                                                                                                                                                          | String | OPTIONAL                      |
| extraParams | This parameter specifies the Gmail account for which authentication is being performed.                                                                                                                                                                                                         | String | OPTIONAL                      |

## Response Data:

:::CodeblockTabs
JSON

```json
{
    "filesAdded": [
        {
            "id": "e511e352-c8fc-40ba-bd4a-08a0712b1cf8",
            "workOrderId": "5acc0cfd-33a7-47d9-9e6b-f4eab02370c2",
            "createdAt": "2024-09-13T11:22:26.478004+05:30",
            "fileName": "6d080a76b539ac86e39905b9d1440cf6_unlocked.pdf",
            "status": "pending",
            "mimeType": "",
            "isVerified": 2,
            "verificationRemarks": null,
            "numPages": 0,
            "fileType": "credit_card_statement",
            "isScanned": false,
            "isFileValid": true,
            "fileValidRemarks": null,
            "errorReferenceCode": null,
            "fileUrl": "https://s3.ap-south-1.amazonaws.com/autosift-prod--media/6d080a76b539ac86e39905b9d1440cf6_unlocked.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA27WLI5EZ6ABTM4LI%2F20240913%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20240913T055226Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEI3%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCmFwLXNvdXRoL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ZXhVOsgyq4xT7PvaxgCMI8gE%2FSBUbV5mBtD9ApZQORVzJ6P1Vqoo%2BPNfXw%3D%3D&X-Amz-Signature=7d5e25f5250e0b39ea904e2887e35bb2e841fe22e4c45bb2de4172562392c887",
            "includedFileTypes": null
        }
    ]
}
```
:::

## Status Codes:

| ﻿CODE                                   | MESSAGE                                                                                                     |
| --------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
| 200<br />400<br />404<br />409<br />500 | Request Successful<br />Validation Error<br />Record Not Found<br />Upstream is down<br />Server Side Error |



