Next Hour App
  • Introduction
    • Introduction
    • Key Features
    • Flutter
  • Installation
    • Flutter Installation
    • App Secret Key
  • project setup
    • App Deployment
      • Firebase
    • iOS Setup Instructions
    • Google Drive Key
    • OneSignal
    • Images
    • Reskinning
  • Publish your app
    • Requirements to Publish App
  • FAQ
    • Installation FAQ's
    • Access Denied
    • General Setting
    • Disclaimer
    • Regular & Extended Licenses
    • Privacy Policy
  • Troubleshoot
    • Troubleshoot
    • Changelogs
  • Source & credit
    • Source & Credit
  • Support
    • Support
  • conclution
    • Conclusion
  • our products
    • Next Hour Addons
    • Our Products
  • Api Document
    • Getting Started
  • Get secret key
  • Auth Api
    • Login
  • Home Page Api
  • Actor detail page
  • Payment Api
    • Payment Method List
    • Manual payment list
    • Subscribed with manual payment
    • Subscribed with free subscription
    • Subscription Stop and Resume
    • Invoice
  • Player Setting Api
    • Player Setting
    • Advertise
  • User Api
    • View User profile
    • Wishlist
    • Watch History
    • User Profile Update
    • Manage Profile
    • Notification
  • Coupon Api
  • Other Api
    • List of Contents
    • Menu
    • Slider
    • Package
    • List of all movies
    • List of all tvseries
    • List of all movies, tveries and top movie and tvseries
    • Recent Movies and Tvseries
    • List of menu by movies and tvseries
    • Language by movies and tvseries
Powered by GitBook
On this page
  • For Stop the subscription
  • api/stripeupdate
  • api/paypalupdate
  • For Resume the Subscription
  • api/stripeupdate
  1. Payment Api

Subscription Stop and Resume

Fire this API to allow subscription to stop and resume.

For Stop the subscription

  • Stop subscription of the stripe

api/stripeupdate

GET https://yourdomain.com/api/stripeupdate

This endpoint allows you to stop the subscription.

Path Parameters

Name
Type
Description

id*

string

subscription ID / payment ID / transaction ID

value*

integer

0

Query Parameters

Name
Type
Description

secret*

string

Client secret key will goes here which you get from admin panel.

Headers

Name
Type
Description

Authorization

string

Bearer { bearer_token without bracket }

Accept

string

application/json

{
   "0"
}
  • Stop subscription of paypal

api/paypalupdate

GET https://yourdomain.com/api/paypalupdate

This endpoint allows you to stop the subscription except stripe.

Path Parameters

Name
Type
Description

id*

string

subscription ID / payment ID / transaction ID

value*

integer

0

Query Parameters

Name
Type
Description

secret*

string

Client secret key will goes here which you get from admin panel.

Headers

Name
Type
Description

Authorization

string

Bearer { bearer_token without bracket }

Accept

string

application/json

{
  "0"
}

For Resume the Subscription

  • Resume subscription of the stripe

api/stripeupdate

GET https://yourdomain.com/api/stripeupdate

This endpoint allows you to resume the subscription.

Path Parameters

Name
Type
Description

id*

string

subscription ID / payment ID / transaction ID

value*

string

1

Query Parameters

Name
Type
Description

secret*

string

Client secret key will goes here which you get from admin panel.

Headers

Name
Type
Description

Authorization

string

Bearer { bearer_token without bracket }

Accept

string

application/json

{
    "1"
}
PreviousSubscribed with free subscriptionNextInvoice

Last updated 3 years ago