Skip to main content
POST
/
v1
/
customer-sessions
/
{sessionId}
/
purchases
/
{purchaseRef}
/
cancel-renewal
Cancel renewal of a purchase
curl --request POST \
  --url https://api.example.com/v1/customer-sessions/{sessionId}/purchases/{purchaseRef}/cancel-renewal \
  --header 'Content-Type: application/json' \
  --data '
{
  "reason": "<string>"
}
'

Path Parameters

sessionId
string
required

Customer session ID

Example:

"9a12833f942007f39e0ea3713e3a75fd"

purchaseRef
string
required

Purchase reference identifier

Example:

"sub_Q2P5R8JX"

Body

application/json

Cancellation details

reason
string

Response

Renewal cancelled successfully