Users
Billing
Retrieve a user's billing subscription
Changed onRetrieves the billing subscription for the specified user. This includes subscription details, active plans, billing information, and payment status. The subscription contains subscription items which represent the individual plans the user is subscribed to.
get/users/{user_id}/billing/subscription
Request
- Base URL: https://api.clerk.com/v1
- URL: https://api.clerk.com/v1/users/{user_id}/billing/subscription
- Auth: HTTP bearer
Path parameters
user_idstring required
The ID of the user whose subscription to retrieve
Response
A commerce subscription.
Changes
- warning
added the new
payer-creditsenum value to the///response property for the response status
- warning
- info
added to the
/response propertyallOflist for the response status - info
added to the
//response propertyallOflist for the response status - info
removed from the
/response propertyallOflist for the response status - info
removed from the
//response propertyallOflist for the response status
- info