1
0
Files
PayPal-PHP-Server-SDK/doc/models/cancel-subscription-request.md
Patrick Powers 1fc2cf1e07 2.0.0 Release (#58)
* Automated commit message

* Automated commit message

* add changelog

---------

Co-authored-by: PayPalServerSDKs <server-sdks@paypal.com>
2025-11-13 16:32:53 -06:00

24 lines
517 B
Markdown

# Cancel Subscription Request
The cancel subscription request details.
## Structure
`CancelSubscriptionRequest`
## Fields
| Name | Type | Tags | Description | Getter | Setter |
| --- | --- | --- | --- | --- | --- |
| `reason` | `string` | Required | The reason for the cancellation of a subscription.<br><br>**Constraints**: *Minimum Length*: `1`, *Maximum Length*: `128`, *Pattern*: `^.*$` | getReason(): string | setReason(string reason): void |
## Example (as JSON)
```json
{
"reason": "reason8"
}
```