POST api/user/subscribe/datapack
Start a datapack subscriptions
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
SubscriptionPurchaseResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Subscription | Purchases |
None. |
|
| PaymentURL | string |
None. |
|
| Message | string |
None. |
|
| Success | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Subscription": {
"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:13.1145576+08:00",
"PurchasedDate": "2026-01-15T22:09:13.1145576+08:00",
"CancelledDate": "2026-01-15T22:09:13.1145576+08:00",
"InvoiceId": "sample string 4",
"PaymentId": "sample string 5",
"ExpiryDate": "2026-01-15T22:09:13.1145576+08:00"
},
"PaymentURL": "sample string 1",
"Message": "sample string 2",
"Success": true
}