Purchase a course
Endpoint URL
POST /api/v2/courses/:id/purchase
Purchase a course
Provided the course ID in the endpoint's path and the user ID in the request's body a course 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.