---
title: List of Schemes
slug: api-marketplace/list-of-schemes
createdAt: 2024-07-19T12:58:06.393Z
---

## Introduction:



## Sample cURL:

:::CodeblockTabs
preproduction

```curl
curl --location 'https://api-preproduction.signzy.app/api/v3/fd-booking/schemes' \
--header 'Authorization: <auth token>' \
--header 'Content-Type: application/json' \
--data '{
    "offset": 0,
    "limit": 10,
    "issuerId": "shriram",
    "schemeId": "8fc22147-c369-63ac-ef07-30c68a98bcee",
    "type": "cumulative",
    "category": "general",
    "status": "active",
    "womenSpecial": false
}'
```

production

```curl
curl --location 'https://api.signzy.app/api/v3/fd-booking/schemes' \
--header 'Authorization: <auth token>' \
--header 'Content-Type: application/json' \
--data '{
    "offset": 0,
    "limit": 10,
    "issuerId": "shriram",
    "schemeId": "8fc22147-c369-63ac-ef07-30c68a98bcee",
    "type": "cumulative",
    "category": "general",
    "status": "active",
    "womenSpecial": false
}'
```
:::

## Input Parameters:

| **Parameter** | **Type** | **Description**                                                                                                                                                                                                                                                                                                                | **Mandatory/Optional** |
| ------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------- |
| offset        | Number   | Number of records to skip.                   ***Default***: 0                                                                                                                                                                                                                                                                  | Optional               |
| limit         | Number   | Maximum number of records to return ***Default***: 10                                                ***Value***: \[1, 100]                                                                                                                                                                                                    | Optional               |
| issuerId      | String   | If specified, returns schemes of the specified issuer only, otherwise returns schemes of all issuers.                                                                                                                                                                                                                          | Optional               |
| schemeId      | String   | If specified, returns the scheme with the specified ID only. If not specified, returns all schemes matching the specified criteria.                                                                                                                                                                                            | Optional               |
| type          | String   | The type of scheme to return. If not specified, all schemes will be returned. ***Value***: \["cumulative", "non\_cumulative"]                                                                                                                                                                                                  | Optional               |
| category      | String   | Category of the scheme. If not specified, all schemes will be returned.                ***Value***: \["general", "senior\_citizen"]                                                                                                                                                                                            | Optional               |
| status        | String   | The status of the scheme.                  ***Default***: \["active"]                                  ***Value***: \["active", "inactive"]<br />- **active**: The scheme is active and can be used for creating new applications<br />- **inactive**: The scheme is inactive and cannot be used for creating new applications | Optional               |
| womenSpecial  | Boolean  | Women Special schemes. If not specified, include all schemes.<br />- **true**: women special schemes only<br />- **false**: exclude women special schemes                                                                                                                                                                      | Optional               |

## Output Parameters:

| **Key**                         | **Type**         | **Description**                                                                                                                                             |
| ------------------------------- | ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
| total                           | Number           | Total number of records matching the specified criteria.                                                                                                    |
| limit                           | Number           | Maximum number of records returned.                                                                                                                         |
| offset                          | Number           | Number of records skipped.                                                                                                                                  |
| schemes                         | Array of Objects | List of all schemes.                                                                                                                                        |
| schemes.id                      | String           | Unique identifier of scheme.                                                                                                                                |
| schemes.issuerId                | String           | Issuer of the scheme.                                                                                                                                       |
| schemes.type                    | String           | Scheme type.                                                                     ***Value***: \["cumulative", "non\_cumulative"]                            |
| schemes.interestPayoutFrequency | String           | Payout frequency.                                                              ***Value***: \["monthly", "quarterly", "half\_yearly", "yearly", "maturity"] |
| schemes.interestRate            | Number           | Interest rate.                                                                       ***Value***: \[0, 100]                                                 |
| schemes.category                | String           | Category of the scheme.                                                       ***Value***: \["general", "senior\_citizen"]                                  |
| schemes.womenSpecial            | Boolean          | Indicates whether the scheme is applicable to women.                                                                                                        |
| schemes.minAmount               | Number           | Minimum amount that can be deposited.                                                                                                                       |
| schemes.maxAmount               | Number           | Maximum amount that can be deposited.                                                                                                                       |
| schemes.minTenure               | Number           | Minimum tenure in months.                                                    ***Value***: \[1, 120]                                                         |
| schemes.maxTenure               | Number           | Maximum tenure in months.                                              ***Value***: \[1, 120]                                                               |
| schemes.minTenureDay            | Number           | Minimum tenure in days.                                                                                                                                     |
| schemes.maxTenureDay            | Number           | Maximum tenure in days.                                                                                                                                     |
| schemes.minTenureYear           | Number           | Minimum tenure in years.                                                                                                                                    |
| schemes.maxTenureYear           | Number           | Maximum tenure in years.                                                                                                                                    |
| schemes.lockInPeriod            | Number           | Lock-in period in months.                                                      ***Value***: \[1, 120]                                                       |
| schemes.minAge                  | Number           | Minimum age of the depositor.                                               ***Value***: \[1, 120]                                                          |
| schemes.status                  | String           | The status of the scheme.                                                      ***Value***: \["active", "inactive"]                                         |

## Status Codes:

:::CodeblockTabs
200

```json
{
    "total": 32,
    "offset": 0,
    "limit": 10,
    "schemes": [
        {
            "issuerId": "shriram",
            "type": "non_cumulative",
            "interestPayoutFrequency": "monthly",
            "category": "general",
            "interestRate": 7.59,
            "minAmount": 5000,
            "maxAmount": 100000000,
            "lockInPeriod": 3,
            "minTenureDay": null,
            "maxTenureDay": null,
            "minTenure": 12,
            "maxTenure": 12,
            "minTenureYear": null,
            "maxTenureYear": null,
            "minAge": 18,
            "womenSpecial": false,
            "status": "active",
            "id": "f563ae18-d3bb-5bf2-5b7f-fa0a3483ed4c"
        },
        {
            "issuerId": "shriram",
            "type": "non_cumulative",
            "interestPayoutFrequency": "quarterly",
            "category": "general",
            "interestRate": 7.63,
            "minAmount": 5000,
            "maxAmount": 100000000,
            "lockInPeriod": 3,
            "minTenureDay": null,
            "maxTenureDay": null,
            "minTenure": 12,
            "maxTenure": 12,
            "minTenureYear": null,
            "maxTenureYear": null,
            "minAge": 18,
            "womenSpecial": false,
            "status": "active",
            "id": "762cbeb1-0fb1-7ba0-5588-71988652fc7a"
        }
    ]
}
```

400

```json
{
    "error": {
        "reason": "VALIDATION_ERROR",
        "status": 400,
        "message": <message>,
        "type": "Bad Request",
        "statusCode": 400,
        "name": "error"
    }
}
// massage:
1. "\"type\" must be one of [cumulative, non_cumulative]",
2. "\"schemeId\" must be a valid GUID",
3. "\"offset\" must be a number",
4. "\"limit\" must be less than or equal to 100",
5. "\"category\" must be one of [general, senior_citizen]",
6. "\"status\" must be one of [active, inactive]",
```

401

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

404

```json
{
    "error": {
        "reason": "ERROR",
        "status": 404,
        "message": "record not found",
        "type": "Not Found",
        "statusCode": 404,
        "name": "error"
    }
}
```

409

```json
{
    "error": {
        "reason": "ERROR",
        "status": 409,
        "message": "Unable to fetch data from upstream",
        "type": "Conflict",
        "statusCode": 409,
        "name": "error"
    }
}
```

500

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

