Transactions History
URL:
Method: POST
https://saasapi.igainapp.in/v1/member.php/mytransaction
Request Parameters
| Parameter | Type | Position | # | Description |
|---|---|---|---|---|
| Authorization | string |
Header |
Required |
Authorization is the Enrypted Company API KEY |
| membershipid | integer |
Body |
Required |
Membership ID |
Sample Request Body
{
"membershipid":"1234567878"
}
Sample Request Response
{
"errorcode": 1001,
"message": "Successful",
"transdata": [
{
"date": "2023-Sep-18",
"ref": "64647",
"seller": "PV Outlet 1",
"amount": "600.00",
"type": "Online"
},
{
"date": "2023-Sep-18",
"ref": "64646",
"seller": "PV Outlet 1",
"amount": "1,200.00",
"type": "POS"
},
{
"date": "2023-Sep-17",
"ref": "344598",
"seller": "PV Outlet 1",
"amount": "1,200.00",
"type": "Online"
},
{
"date": "2023-Sep-14",
"ref": "344523",
"seller": "PV Outlet 1",
"amount": "1,200.00",
"type": "POS"
},
{
"date": "2023-Sep-13",
"ref": "344923",
"seller": "PV Outlet 1",
"amount": "1,200.00",
"type": "Online"
},
{
"date": "2023-Sep-13",
"ref": "34923",
"seller": "PV Outlet 1",
"amount": "1,200.00",
"type": "Online"
},
{
"date": "2023-Sep-12",
"ref": "38923",
"seller": "PV Outlet 1",
"amount": "1,200.00",
"type": "Online"
}
]
}
Error Codes
| Error Code | Description |
|---|---|
| 3121 | Required field(s) is missing or empty |
| 2003 | Unable to locate membership id |
| 2012 | No Data Found |
| 1001 | Successful |