POST api/user/purchases
Get current user purchases
Request Information
URI Parameters
None.
Body Parameters
GeneralInput| Name | Description | Type | Additional information |
|---|---|---|---|
| SecurityToken | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"SecurityToken": "sample string 1"
}
Response Information
Resource Description
Collection of Purchases| Name | Description | Type | Additional information |
|---|---|---|---|
| PlanName | string |
None. |
|
| Id | integer |
None. |
|
| RefNo | string |
None. |
|
| UserId | integer |
None. |
|
| PrevMonthProfit | decimal number |
None. |
|
| ProfitShare | decimal number |
None. |
|
| SubscriptionType | integer |
None. |
|
| SubscriptionPrice | decimal number |
None. |
|
| TotalPrice | decimal number |
None. |
|
| CreatedDate | date |
None. |
|
| PurchasedDate | date |
None. |
|
| CancelledDate | date |
None. |
|
| InvoiceId | string |
None. |
|
| PaymentId | string |
None. |
|
| ExpiryDate | date |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"PlanName": "sample string 1",
"Id": 2,
"RefNo": "sample string 3",
"UserId": 1,
"PrevMonthProfit": 1.1,
"ProfitShare": 1.1,
"SubscriptionType": 1,
"SubscriptionPrice": 1.1,
"TotalPrice": 1.1,
"CreatedDate": "2026-01-15T22:09:28.3374791+08:00",
"PurchasedDate": "2026-01-15T22:09:28.3374791+08:00",
"CancelledDate": "2026-01-15T22:09:28.3374791+08:00",
"InvoiceId": "sample string 4",
"PaymentId": "sample string 5",
"ExpiryDate": "2026-01-15T22:09:28.3374791+08:00"
},
{
"PlanName": "sample string 1",
"Id": 2,
"RefNo": "sample string 3",
"UserId": 1,
"PrevMonthProfit": 1.1,
"ProfitShare": 1.1,
"SubscriptionType": 1,
"SubscriptionPrice": 1.1,
"TotalPrice": 1.1,
"CreatedDate": "2026-01-15T22:09:28.3374791+08:00",
"PurchasedDate": "2026-01-15T22:09:28.3374791+08:00",
"CancelledDate": "2026-01-15T22:09:28.3374791+08:00",
"InvoiceId": "sample string 4",
"PaymentId": "sample string 5",
"ExpiryDate": "2026-01-15T22:09:28.3374791+08:00"
}
]