Preview ILS refund
Changed on<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>
Shows whether cancelling your workspace's subscription now refunds part of the current period under Israeli consumer-protection rules, and how much. Nothing changes.
The refund applies to plans billed in shekels, and to customers in Israel on the same plans in another currency. To take it, send ils_refund_consent: true to Cancel subscription. That cancels the subscription right away instead of at the end of the period.
When eligible is false, the response has no other fields. Only the workspace owner can call this.
The base rate limit is 20 requests per hour per user. See Rate limits for the multiplier your plan gets.
Request
- Base URLhttps://app.base44.com
- URLhttps://app.base44.com/api/billing/ils-refund-preview
- AuthHTTP bearer
Response
Whether cancelling now refunds part of the period, and how much.
Example response
{
"eligible": true,
"tier": "builder_ils",
"interval": "monthly",
"currency": "ils",
"refund_agorot": 4275,
"amount_paid_agorot": 9000,
"remaining_days": 15,
"total_days": 30,
"is_immediate_cancel": true
}Changes
- info
endpoint added
- info