POST api/user/subscribe

Start a subscriptions

Request Information

URI Parameters

None.

Body Parameters

GeneralInput
NameDescriptionTypeAdditional information
SecurityToken

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SecurityToken": "sample string 1"
}

Response Information

Resource Description

SubscriptionPurchaseResult
NameDescriptionTypeAdditional 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:07:29.1315619+08:00",
    "PurchasedDate": "2026-01-15T22:07:29.1315619+08:00",
    "CancelledDate": "2026-01-15T22:07:29.1315619+08:00",
    "InvoiceId": "sample string 4",
    "PaymentId": "sample string 5",
    "ExpiryDate": "2026-01-15T22:07:29.1315619+08:00"
  },
  "PaymentURL": "sample string 1",
  "Message": "sample string 2",
  "Success": true
}