Skip to main content

Purchase a course category

Endpoint URL

POST /api/v2/categories/:id/purchase

Purchase a course category

Provided the category ID in the endpoint's path and the user ID in the request's body a category can be purchased for this specific user. Optionally, you can specify the redirection url if the purchase is cancelled or succeeded and you can also provide a coupon key.

Request