---
updatedAt: 2026-11-12T11:25:13.000Z
agentTools:
  projectIndex: https://docs.decentro.tech/llms.txt
---

# Bulk Payout JSON API

> 🙌 Important Note
>
> Please use only **Staging Credentials** on each API Reference page to test the APIs directly from our Documentation.

### API Endpoints

| Environment       | Endpoint                                                     |
| :---------------- | :----------------------------------------------------------- |
| Staging / Sandbox | <https://in.staging.decentro.tech/decentro/bulk/bulk_payout> |
| Production        | <https://in.decentro.tech/decentro/bulk/bulk_payout>         |

This API allows you to [facilitate money transfers](https://docs.decentro.tech/docs/payments-direct-payouts) to/from the linked virtual bank accounts of your customers from within your application.

### API Specifications

#### Request Payload

[block:parameters]
{
  "data": {
    "h-0": "Request Parameter",
    "h-1": "Mandatory (M) / Optional (O) / Conditional Mandatory (CM)",
    "h-2": "Description",
    "0-0": "reference_id",
    "0-1": "M",
    "0-2": "A URN to be passed by the user for each batch API request. Alphanumeric values are allowed. Special characters such as “@ # $ % ^ & \\* ! ; : ~ \\` ? = + ) ( apostrophe, double quotes” are not allowed.",
    "1-0": "input_type",
    "1-1": "M",
    "1-2": "\"JSON\"  is to be passed",
    "2-0": "input",
    "2-1": "M",
    "2-2": "The object where the payout details must be passed.",
    "3-0": "reference_id",
    "3-1": "M",
    "3-2": "A URN to be passed by the user for each API request. Alphanumeric values are allowed. Special characters such as “@ # $ % ^ & \\* ! ; : ~ \\` ? = + ) ( apostrophe, double quotes” are not allowed. This parameter can be used for platforms internal mapping of the API request",
    "4-0": "purpose_message",
    "4-1": "M",
    "4-2": "1. The narration/remarks that will be displayed in the beneficiaries bank statement.  \n  \n2. Only Alphanumeric values are allowed, special characters such as “@ # $ % ^ & \\* ! ; : ~ \\` ? = + ) ( apostrophe, double quotes” are not allowed.  \n  \n3. Minimum length is 5 characters and Maximum length is 255 characters",
    "5-0": "from_account",
    "5-1": "M",
    "5-2": "The virtual account against which the payout must be performed. The virtual account added must belong to the provider selected.",
    "6-0": "to_account",
    "6-1": "CM",
    "6-2": "The Beneficiary Account to be added.  \n  \n1. \"to_account\" is mandatory if the intended transfer type is IMPS/NEFT/RTGS.  \n  \n2. \"ifsc_code\" parameter is required for IMPS/NEFT/RTGS transfers.  \n  \n3. If the transfer type is set as UPI, this parameter is not required.",
    "7-0": "to_upi",
    "7-1": "CM",
    "7-2": "Beneficiary UPI ID to be passed. 'to_upi’ is mandatory if the intended transfer type is UPI.  \n1. ‘ifsc’ parameter is not required for UPI transfer.  \n  \n2. Special characters such as dot(.) are accepted for values after (@) sign.  \n  \n3. The UPI ID must follow the NPCI format (Ex: name@bankName or mobilenumber@bankName).  \n  \n4. If the transfer type is selected as IMPS/NEFT/RTGS, this parameter is not required",
    "8-0": "transfer_type",
    "8-1": "M",
    "8-2": "UPI/IMPS/NEFT/RTGS are the available transfer type",
    "9-0": "transfer_amount",
    "9-1": "M",
    "9-2": "The Amount to be transferred.Minimum amount is INR 1 (2 Decimal values are allowed Ex: 1.00)",
    "10-0": "beneficiary_code",
    "10-1": "CM",
    "10-2": "A URN generated when a beneficiary is created by using Manage Beneficiary API. If the beneficiary_details is passed in the API, then beneficiary_code is not required.",
    "11-0": "beneficiary_details",
    "11-1": "CM",
    "11-2": "An object that contains 4 parameters that are required to add the details of the beneficiary. If beneficiary_code is passed in the API, then beneficiary_details are not required.",
    "12-0": "payee_name",
    "12-1": "M",
    "12-2": "Beneficiary name to be added.",
    "13-0": "ifsc_code",
    "13-1": "CM",
    "13-2": "Beneficiary IFSC code to be added.  \n  \n1. Alphanumeric values are allowed as per the IFSC code assigned to the beneficiary bank.  \n  \n2. If the transfer type is UPI, this parameter is not required.  \n  \n3. Maximum length is 11 characters",
    "14-0": "email_address",
    "14-1": "O",
    "14-2": "Beneficiary Email Address to be added.  \nAlphanumeric and special characters are allowed but after (@), only dot(.) is allowed. Sample email format ([hello@decentro.tech](mailto:hello@decentro.tech))",
    "15-0": "mobile_number",
    "15-1": "O",
    "15-2": "Mobile numbers have to be strictly 10 digits long and start with one of 9, 8, 7 or 6. Only numeric characters are allowed. Country code is not required."
  },
  "cols": 3,
  "rows": 16,
  "align": [
    "left",
    "left",
    "left"
  ]
}
[/block]

#### Response Payload

[block:parameters]
{
  "data": {
    "h-0": "Response Parameter",
    "h-1": "Mandatory (M) / Optional (O) / Conditional Mandatory (CM)",
    "h-2": "Description",
    "0-0": "status ",
    "0-1": "M",
    "0-2": "The status of the batch API request. These are the statuses available  \n1. Success  \n2. Failure",
    "1-0": "decentroTxnId",
    "1-1": "M",
    "1-2": "A URN generated by Decentro against the API request",
    "2-0": "download_url",
    "2-1": "O",
    "2-2": "A link to the csv file generated that contains the request and response payload for each payout API initiated. This parameter is only available when status is \"Success\"",
    "3-0": "response_key",
    "3-1": "O",
    "3-2": "The response key of the API. This parameter is only available when status is \"Failure\". ",
    "4-0": "message",
    "4-1": "O",
    "4-2": "The message on the status of the API action. This parameter is only available when status is \"Success\""
  },
  "cols": 3,
  "rows": 5,
  "align": [
    "left",
    "left",
    "left"
  ]
}
[/block]

> 📘 Simulation Data
>
> Decentro provides the test data which will simulate various scenarios of the API when a transaction takes place.
>
> **Note:** This test data is only valid in the ***Staging*** environment.  Account details passed in the ***from\_account*** parameter must match the provider secret passed in the headers.
>
> **Important**: Please refer to the Simulation Data guide [here](https://docs.decentro.tech/docs/simulation-data-payments)

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "decentro-staging",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://in.staging.decentro.tech"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/decentro/bulk/bulk_payout": {
      "post": {
        "summary": "Bulk Payout JSON API",
        "description": "",
        "operationId": "batch-payout-json",
        "parameters": [
          {
            "name": "client_id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "default": "xxx"
            }
          },
          {
            "name": "client_secret",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "default": "xxx"
            }
          },
          {
            "name": "module_secret",
            "in": "header",
            "description": "Use the core banking module secret",
            "required": true,
            "schema": {
              "type": "string",
              "default": "xxx"
            }
          },
          {
            "name": "provider_secret",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "default": "xxxx"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "reference_id",
                  "input_type",
                  "input"
                ],
                "properties": {
                  "reference_id": {
                    "type": "string"
                  },
                  "input_type": {
                    "type": "string",
                    "default": "json"
                  },
                  "input": {
                    "type": "array",
                    "items": {
                      "properties": {
                        "reference_id": {
                          "type": "string"
                        },
                        "purpose_message": {
                          "type": "string"
                        },
                        "from_account": {
                          "type": "string"
                        },
                        "to_account": {
                          "type": "string"
                        },
                        "to_upi": {
                          "type": "string"
                        },
                        "transfer_type": {
                          "type": "string"
                        },
                        "transfer_amount": {
                          "type": "string"
                        },
                        "beneficiary_details": {
                          "type": "array",
                          "items": {
                            "properties": {
                              "payee_name": {
                                "type": "string"
                              },
                              "ifsc_code": {
                                "type": "string"
                              },
                              "email_address": {
                                "type": "string"
                              },
                              "mobile_number": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "payee_name"
                            ],
                            "type": "object"
                          }
                        },
                        "beneficiary_code": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "reference_id",
                        "purpose_message",
                        "from_account",
                        "transfer_type",
                        "transfer_amount"
                      ],
                      "type": "object"
                    }
                  }
                }
              },
              "examples": {
                "OK (With Beneficiary Code)": {
                  "value": {
                    "reference_id": "{{$randomUUID}}",
                    "input_type": "json",
                    "input": [
                      {
                        "reference_id": "decentro_request_id_201",
                        "purpose_message": "This is a message",
                        "from_account": "XXXXXXXXXXXXXXXXXX",
                        "to_account": "YYYYYYYYYYYYYYYYYY",
                        "transfer_type": "NEFT",
                        "transfer_amount": "1000",
                        "beneficiary_code": "XVXVXVXVXVXVXXVXVXVXVXXVXV",
                        "currency_code": "INR"
                      },
                      {
                        "reference_id": "decentro_request_id_201",
                        "purpose_message": "This is a message",
                        "from_account": "XXXXXXXXXXXXXXXXXX",
                        "to_account": "YYYYYYYYYYYYYYYYYY",
                        "transfer_type": "NEFT",
                        "transfer_amount": "1000",
                        "beneficiary_code": "XVXVXVXVXVXVXXVXVXVXVXXVXV",
                        "currency_code": "INR"
                      }
                    ]
                  }
                },
                "OK:  Account Number/IFSC": {
                  "value": {
                    "reference_id": "{{$randomUUID}}",
                    "input_type": "json",
                    "input": [
                      {
                        "reference_id": "decentro_request_211",
                        "purpose_message": "This is a nice message",
                        "from_account": "000000000000000",
                        "to_account": "111111111111111",
                        "transfer_type": "IMPS",
                        "transfer_amount": "1000",
                        "beneficiary_details": {
                          "email_address": "test01@company.com",
                          "mobile_number": "8989898989",
                          "ifsc_code": "YESB0000000",
                          "payee_name": "some_payee_name"
                        }
                      },
                      {
                        "reference_id": "decentro_request_211",
                        "purpose_message": "This is a nice message",
                        "from_account": "000000000000000",
                        "to_account": "111111111111111",
                        "transfer_type": "IMPS",
                        "transfer_amount": "1000",
                        "beneficiary_details": {
                          "email_address": "test01@company.com",
                          "mobile_number": "8989898989",
                          "ifsc_code": "YESB0000000",
                          "payee_name": "some_payee_name"
                        }
                      }
                    ]
                  }
                },
                "OK: UPI with VPA": {
                  "value": {
                    "reference_id": "{{$randomUUID}}",
                    "input_type": "json",
                    "input": [
                      {
                        "reference_id": "decentro_request_211",
                        "purpose_message": "This is a nice message",
                        "from_account": "000000000000000",
                        "to_upi": "1111@upi",
                        "transfer_type": "UPI",
                        "transfer_amount": "1000",
                        "beneficiary_details": {
                          "email_address": "test01@company.com",
                          "mobile_number": "8989898989",
                          "payee_name": "some_payee_name"
                        }
                      },
                      {
                        "reference_id": "decentro_request_211",
                        "purpose_message": "This is a nice message",
                        "from_account": "000000000000000",
                        "to_upi": "1111@upi",
                        "transfer_type": "UPI",
                        "transfer_amount": "1000",
                        "beneficiary_details": {
                          "email_address": "test01@company.com",
                          "mobile_number": "8989898989",
                          "payee_name": "some_payee_name"
                        }
                      }
                    ]
                  }
                },
                "OK (Beneficiary Code, Account Number/IFSC, UPI with VPA)": {
                  "value": {
                    "reference_id": "{{$randomUUID}}",
                    "input_type": "json",
                    "input": [
                      {
                        "reference_id": "decentro_request_id_201",
                        "purpose_message": "This is a message",
                        "from_account": "XXXXXXXXXXXXXXXXXX",
                        "to_account": "YYYYYYYYYYYYYYYYYY",
                        "transfer_type": "NEFT",
                        "transfer_amount": "1000",
                        "beneficiary_code": "XVXVXVXVXVXVXXVXVXVXVXXVXV",
                        "currency_code": "INR"
                      },
                      {
                        "reference_id": "decentro_request_211",
                        "purpose_message": "This is a nice message",
                        "from_account": "000000000000000",
                        "to_account": "111111111111111",
                        "transfer_type": "IMPS",
                        "transfer_amount": "1000",
                        "beneficiary_details": {
                          "email_address": "test01@company.com",
                          "mobile_number": "8989898989",
                          "ifsc_code": "YESB0000000",
                          "payee_name": "some_payee_name"
                        }
                      },
                      {
                        "reference_id": "decentro_request_211",
                        "purpose_message": "This is a nice message",
                        "from_account": "000000000000000",
                        "to_upi": "1111@upi",
                        "transfer_type": "UPI",
                        "transfer_amount": "1000",
                        "beneficiary_details": {
                          "email_address": "test01@company.com",
                          "mobile_number": "8989898989",
                          "payee_name": "some_payee_name"
                        }
                      }
                    ]
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Success": {
                    "value": "{\n    \"status\": \"SUCCESS\",\n    \"download_url\": \"https://in.decentro.tech/decentro/bulk/download_response/DCTRTX00001200000003C0\",\n    \"decentroTxnId\": \"DCTRTX00001200000003C0\",\n    \"message\": \"Bulk Payout initiated successfully.\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "example": "SUCCESS"
                    },
                    "download_url": {
                      "type": "string",
                      "example": "https://in.decentro.tech/decentro/bulk/download_response/DCTRTX00001200000003C0"
                    },
                    "decentroTxnId": {
                      "type": "string",
                      "example": "DCTRTX00001200000003C0"
                    },
                    "message": {
                      "type": "string",
                      "example": "Bulk Payout initiated successfully."
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "API Failure (Wrong input type)": {
                    "value": "{\n    \"response_key\": \"invalid_input_file_type\",\n    \"message\": \"Invalid input file type. Hint: File type may be CSV or JSON\",\n    \"status\": \"FAILURE\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "response_key": {
                      "type": "string",
                      "example": "invalid_input_file_type"
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid input file type. Hint: File type may be CSV or JSON"
                    },
                    "status": {
                      "type": "string",
                      "example": "FAILURE"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```