curl --request POST \
--url https://api.example.com/v1/sdk/purchases/{purchaseRef}/cancel \
--header 'Content-Type: application/json' \
--data '
{
"reason": "<string>"
}
'Cancels an active purchase. For recurring purchases, cancellation takes effect at the end of the current billing period.
curl --request POST \
--url https://api.example.com/v1/sdk/purchases/{purchaseRef}/cancel \
--header 'Content-Type: application/json' \
--data '
{
"reason": "<string>"
}
'