Public lookup used by the lifetime-deal success page. The
Stripe checkout session id is the entropy (opaque, single-use
by the buyer right after payment), so no auth is required.
GET
/billing/api/v1/lifetime-deals/code/{session_id}
Path Parameters
session_idstringrequired
Stripe Checkout Session id
Responses
200
OK
Response Fields:
activated_at(string)activated_by_org_id(string)batch_id(string)code(string)comment(string)created_at(string)duration_days(integer)expires_at(string)id(string)is_lifetime(boolean)plan_id(string)plan_name(string)revoked_at(string)revoked_reason(string)status(string)
Example:
{
"activated_at": "string",
"activated_by_org_id": "string",
"batch_id": "string",
"code": "string",
"comment": "string",
"created_at": "string",
"duration_days": 0,
"expires_at": "string",
"id": "string",
"is_lifetime": true,
"plan_id": "string",
"plan_name": "string",
"revoked_at": "string",
"revoked_reason": "string",
"status": "string"
}404
Not Found
Example:
{
"key": "value"
}