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"
}

Last updated