Unsubscribe
POST/v1/subscription/cancel
Unsubscribe
Request
- application/json
Body
required
id string
non-empty
The id when creating subscription respond.
Responses
- 200
- default
OK
- application/json
- Response
- Example
Response
status enum
[UNKNOWN, PENDING, APPROVED, ACTIVE, SUSPENDED, CANCELLED, VOIDED, COMPLETED]
Indicate the status of this subscription.
{
"status": "UNKNOWN"
}
Error response structure
- application/json
- Response
- Example
Response
Array [
]
Array [
]
name string
message string
details
object[]
@type string
The type of the serialized message.
debug_id string
causes
object[]
cause string
solution string
{
"name": "string",
"message": "string",
"details": [
{
"@type": "string"
}
],
"debug_id": "string",
"causes": [
{
"cause": "string",
"solution": "string"
}
]
}
Loading...