Quote a membership cancellation
curl --request GET \
--url https://api.letsdothis.com/v0/membership-policies/{policyId}/cancellation-quote \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.letsdothis.com/v0/membership-policies/{policyId}/cancellation-quote', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.letsdothis.com/v0/membership-policies/{policyId}/cancellation-quote"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"cancellationEffectiveAt": "2023-11-07T05:31:56Z",
"memberMayCancelNow": true,
"coolingOff": {
"window": "<string>",
"endsAt": "2023-11-07T05:31:56Z"
},
"coolingOffRefundQuote": {
"refund": {
"mode": "<string>",
"amount": {
"value": 123,
"currencyCode": "<string>"
},
"paid": {
"value": 123,
"currencyCode": "<string>"
},
"daysLeft": 123,
"daysInPeriod": 123
},
"escalationReason": "<string>",
"nothingToRefund": true
},
"outstandingInvoices": {
"count": 123,
"amount": {
"value": 123,
"currencyCode": "<string>"
}
}
}{
"code": "MEMBERSHIP_RESOURCE_NOT_FOUND",
"statusCode": 404,
"message": "<string>"
}Memberships
Quote a membership cancellation
Returns when a period-end cancellation requested now would take effect, whether the member may cancel immediately, any open cooling-off window and refund quote, and what the membership still owes. These terms describe the member’s rules even when read with an organizer key. With a member token, only the primary member can read them.
GET
/
v0
/
membership-policies
/
{policyId}
/
cancellation-quote
Quote a membership cancellation
curl --request GET \
--url https://api.letsdothis.com/v0/membership-policies/{policyId}/cancellation-quote \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.letsdothis.com/v0/membership-policies/{policyId}/cancellation-quote', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.letsdothis.com/v0/membership-policies/{policyId}/cancellation-quote"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"cancellationEffectiveAt": "2023-11-07T05:31:56Z",
"memberMayCancelNow": true,
"coolingOff": {
"window": "<string>",
"endsAt": "2023-11-07T05:31:56Z"
},
"coolingOffRefundQuote": {
"refund": {
"mode": "<string>",
"amount": {
"value": 123,
"currencyCode": "<string>"
},
"paid": {
"value": 123,
"currencyCode": "<string>"
},
"daysLeft": 123,
"daysInPeriod": 123
},
"escalationReason": "<string>",
"nothingToRefund": true
},
"outstandingInvoices": {
"count": 123,
"amount": {
"value": 123,
"currencyCode": "<string>"
}
}
}{
"code": "MEMBERSHIP_RESOURCE_NOT_FOUND",
"statusCode": 404,
"message": "<string>"
}This endpoint is in beta: its request and response contract can still change while it’s being developed.
Authorizations
Path Parameters
Response
The cancellation terms and cooling-off refund quote currently available.
Was this page helpful?

