Get Settlement Account Details

Overview

This API can be used by platforms to get all the settlement account details configured on Decentro.

Flow

Below is the flow for consuming this API

  • For consumer URN, The settlement account number provided in the response are all settlement accounts added against a consumer URN
  • For Virtual Account Number,The settlement account number provided in the response are all settlement accounts added against a virtual account number

Response parameter

ParametersDescription
decentro_txn_idA unique transaction ID from Decentro for the API request
api_statusStatus of the API Request.
messageAPI status message.
response_key
dataObject/ Data Block, the below parameters will be present inside this data block
virtual_account_numberThe virtual account number against which the settlement account details are shown,

Note: This parameter will be present only when the "virtual_account_number" is passed in the search params.
consumer_urnThe consumer URN against which the settlement account details are shown,

Note: This parameter will be present only when the "consumer_urn" is passed in the search params.
pageThe current page of the API response
total_pagesThe total no. of pages present for the API request.
total_recordsTotal no. of settlement account details present for the API request.
limitThe total limit of records present per page
page_sizeThe total records present in the page
settlement_account_detailsObject/ Data Block, the below parameters will be present inside this data block
settlement_account_urnA URN created for every settlement account. The URN will contain the details of the settlement account.
nameThe settlement account name
settlement_account_numberThe settlement account number
settlement_account_ifscThe settlement account IFSC
is_activeA boolean value to indicidate whether the settlement account is active or not
is_master_settlement_accountA boolean value to indicidate whether the settlement account is master or not.

Response Keys

Response KeysResponse Message
success_settlement_accounts_fetched_successfullySettlement Account Details fetched successfully
error_missing_consumer_urn_and_virtual_account_numberEither Consumer URN or Virtual Account Number must be provided. Hint: consumer_urn (string) or virtual_account_number (string)
error_missing_pagePage cannot be null or empty. Hint: page (integer)
error_invalid_pagePage is not of type integer. Hint: page (integer)
error_invalid_consumer_urn_and_virtual_account_numberProvide either the Consumer URN or the Virtual Account Number. Hint: consumer_urn (string) or virtual_account_number (string)
error_invalid_consumer_urnThe provided Consumer URN does not match any records for the specified company. Hint: consumer_urn (string)
error_invalid_virtual_account_numberThe provided Virtual Account Number does not match any records for the specified company. Hint: virtual_account_number (string)
error_invalid_limitLimit is not of type integer. Hint: limit (integer)
Language
Click Try It! to start a request and see the response here!