Skip to main content
PATCH
Cancel Subscription

Authorizations

Authorization
string
header
required

Payaza {{Public API Key in Base 64}}

Path Parameters

id
string
required

The ID of the subscription.

Body

application/json
reason
string
required

The reason for cancelling this subscription.

Example:

"Not interested"

Response

Request Successful

success
boolean

Indicates if the request was successful.

Example:

true

message
string

Descriptive message confirming the cancellation operation.

Example:

"Subscription cancelled"

data
object

The payload containing the deactivated subscription details.