Skip to main content
POST
Update Subscription Autopay Endpoint

Body

application/json
initData
string
required
subscriptionId
integer | null
enabled
boolean | null
daysBefore
integer | null

Response

Successful Response

success
boolean
default:true
subscriptionId
integer | null
autopay_enabled
boolean
default:false
autopay_days_before
integer | null
autopay_days_options
integer[]
autopay
MiniAppSubscriptionAutopay · object | null
autopay_settings
MiniAppSubscriptionAutopay · object | null