Purchases
Reactivate a cancelled purchase
Reactivates a purchase that was cancelled but has not yet reached its end date. Restores auto-renewal and clears cancellation fields.
post/v1/sdk/purchases/{purchaseRef}/reactivate
Path parameters
purchaseRefstring required
Example:pur_1A2B3C4D
Purchase reference or ID
Response
Purchase reactivated successfully
Example response
{
"purchase": {
"amount": 9900,
"currency": "GBP",
"customerEmail": "customer@example.com",
"customerRef": "cus_3C4D5E6F",
"exchangeRate": 1.3082,
"isRecurring": true,
"originalAmount": 10000,
"planSnapshot": {
"billingCycle": "monthly",
"creditsPerUnit": 1,
"currency": "USD",
"freeUnits": 100,
"limit": 5000,
"meterRef": "mtr_1A2B3C4D",
"name": "Pro Monthly",
"planType": "recurring",
"price": 2999,
"reference": "pln_1A2B3C4D"
},
"productName": "API Gateway Manager",
"productRef": "prd_1A2B3C4D",
"reference": "pur_1A2B3C4D",
"status": "active",
"usage": {
"periodEnd": "2025-11-01T00:00:00Z",
"periodStart": "2025-10-01T00:00:00Z",
"used": 150
}
}
}