v1
latestOpenAPI 3.1.02026-07-2418201.6 MBGet Virtual Account Statement
This API can be used by platforms to fetch the statement of a virtual account.
Query parameters
The starting date and time when the statement needs to be fetched. Format: %Y-%m-%d %H:%M:%S'
The ending date and time when the statement needs to be fetched. Format: %Y-%m-%d %H:%M:%S'
A unique identifier assigned to each merchant by Decentro during onboarding.
Virtual account number as requested by the platform.
The page number for viewing the account statement. Should be a valid positive integer.
The suffix part of the VA that uniquely identifies each VA. It can be from 6 -10 digit. Eg: va_suffix will be 000001 for virtual account number 46525000001
Unique customer identifier that is mapped against the virtual account.
Headers
Optional header that allows parent merchant to consume the API on behalf of sub-merchant.
Response
200
Example response
{
"decentro_txn_id": "179BC4C397744F45AF27E40033566C16",
"api_status": "SUCCESS",
"message": "Statement fetched successfully.",
"data": {
"name": "jhon doe",
"from": "2024-07-10T10:30:00",
"to": "2024-07-21T00:16:54",
"total_count": 151,
"withdrawal_count": 77,
"deposit_count": 74,
"closing_balance": 702.5651,
"statement": [
{
"timestamp": "2024-07-16T15:33:49",
"description": "NA",
"bank_reference_number": "5127037",
"decentro_txn_id": "4C07B636347B410C849BA0316DFC8C01",
"amount": 1,
"updated_balance": 1,
"type": "CREDIT",
"transaction_type": "MAIN",
"transaction_status": "SUCCESS",
"transfer_type": "IMPS",
"beneficiary_account_number": "YESB010035837506",
"beneficiary_account_ifsc": "YESB0CMSNOC",
"sender_account_number": "87654359000011",
"sender_account_ifsc": "ICIC0000107"
}
]
},
"response_key": "success_account_statement_fetched"
}