curl --request POST \
--url https://api.example.com/v1/customer-sessions/{sessionId}/purchases/{purchaseRef}/cancel-renewal \
--header 'Content-Type: application/json' \
--data '
{
"reason": "<string>"
}
'Cancels renewal of an active purchase using its reference ID. Validates that the purchase belongs to the customer in the session.
curl --request POST \
--url https://api.example.com/v1/customer-sessions/{sessionId}/purchases/{purchaseRef}/cancel-renewal \
--header 'Content-Type: application/json' \
--data '
{
"reason": "<string>"
}
'