Skip to main content
POST
/
miniapp
/
subscription
/
trial
Activate Subscription Trial Endpoint
curl --request POST \
  --url http://localhost:8080/miniapp/subscription/trial \
  --header 'Content-Type: application/json' \
  --data '
{
  "initData": "<string>"
}
'
{
  "success": true,
  "message": "<string>",
  "subscriptionId": 123,
  "trialStatus": "<string>",
  "trialDurationDays": 123,
  "chargedAmountKopeks": 123,
  "chargedAmountLabel": "<string>",
  "balanceKopeks": 123,
  "balanceLabel": "<string>"
}

Body

application/json
initData
string
required

Response

Successful Response

success
boolean
default:true
message
string | null
subscriptionId
integer | null
trialStatus
string | null
trialDurationDays
integer | null
chargedAmountKopeks
integer | null
chargedAmountLabel
string | null
balanceKopeks
integer | null
balanceLabel
string | null