get https://api.instantpay.in/cards/gift/statement/download/{{kitNumber}}?type=csv
The type parameter has csv, xlsx. have to do only one pass between.
Header Parameters
For Header references Click here
Query Params
Name | Description |
---|---|
kitnumber | pass the kitnumber of the card in the url body |
Sample Request
curl --location --request GET 'https://api.instantpay.in/cards/gift/statement/download/{{kitNumber}}?type=xlsx' \
--header 'X-Ipay-Auth-Code: {{authCode}}' \
--header 'X-Ipay-Client-Id: {{clientId}}' \
--header 'X-Ipay-Client-Secret: {{clientSecret}}' \
--header 'X-Ipay-Endpoint-Ip: {{endPointIP}}' \
GET /cards/gift/statement/download/{{kitNumber}}?type=xlsx 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}}
Response
Downloaded file will be in csv/xlsx format as passed in the URL.