post https://api.instantpay.in/cards/prepaid/walletStatement
API gives Statement of Wallet.
Header Parameters
For Header Reference Click here
Request Parameters
Name | Type | Mandatory (M) , Optional (O) | Description |
---|---|---|---|
pageNumber | String | O | Page number of statements |
fromDate | String | O | Start date of statement (Format -YYY-MM-DD) |
toDate | String | O | End date of statement (Format -YYYY-MM-DD) |
mobile | String | O | Customer mobile number |
Sample Request
curl --location --request POST 'https://api.instantpay.in/cards/prepaid/walletStatement' \
--header 'X-Ipay-Auth-Code: {{authCode}}' \
--header 'X-Ipay-Client-Id: {{clientId}}' \
--header 'X-Ipay-Client-Secret: {{clientSecret}}' \
--header 'X-Ipay-Endpoint-Ip: {{endPointIP}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"pageNumber": "1",
"fromDate": "2022-02-10",
"toDate": "2022-02-22",
"mobile": "7428585742"
}'
POST /cards/prepaid/walletStatement HTTP/1.1
Host: api.instantpay.in
X-Ipay-Auth-Code: {{authCode}}
X-Ipay-Client-Id: {{clientId}}
X-Ipay-Client-Secret: {{clientSecret}}
X-Ipay-Endpoint-Ip: {{endPointIP}}
Content-Type: application/json
{
"pageNumber": "1",
"fromDate": "2022-02-10",
"toDate": "2022-02-22",
"mobile": "7428585742"
}
Response Parameters
For Response Reference Click here
Sample Response
{
"statuscode": "TXN",
"actcode": null,
"status": "Transaction Successful",
"data": {
"transactions": [
{
"type": "Credited",
"amount": "5.0",
"serviceProviderId": "202************",
"narration": "Credited Rs. 5.0 through Add Money from InstantPay Pool A/c # xxxxxx4905",
"date": "YYYY-MM-DD",
"time": "HH:II:SS"
},
{
"type": "Credited",
"amount": "10.0",
"serviceProviderId": "202************",
"narration": "Credited Rs. 10.0 through Add Money from InstantPay Pool A/c # xxxxxx4905",
"date": "YYYY-MM-DD",
"time": "HH:II:SS"
},
{
"type": "Credited",
"amount": "20.0",
"serviceProviderId": "202************",
"narration": "Credited Rs. 20.0 through Add Money from InstantPay Pool A/c # xxxxxx4905",
"date": "YYYY-MM-DD",
"time": "HH:II:SS"
}
],
"pagination": {
"totalRecords": "3",
"recordsPerPage": "10",
"currentPage": "1",
"totalPages": "1"
}
},
"timestamp": "2023-04-24 21:56:20",
"ipay_uuid": "h0059be29cf0-9bc1-49ed-86bd-36ca6d0f6ed9-LmzZmBCOb7tc",
"orderid": "1230424215619QEDEL",
"environment": "LIVE",
"internalCode": null
}
Action Code details
For Action Code details Click here