Skip to main content
POST
Cancel Subscription
This API is used to cancel an existing subscription.

Request Body

Responses

200 OK

400 Bad Request

Body

application/json
key
string
required

Merchant key, available in dashboard profile section

id
string
required

Subscription id provided by paytring.

hash
string
required

to be calculated by key sort of all non-object key values of this request

Response

200

status
boolean
default:true
Example:

true

subscription
object
request_id
string
Example:

"66ec2b68cb6f4"