Api referencePaymentCheckout sessions
Create a checkout session
Create a checkout session
Create a checkout session
AuthorizationBearer <token>
In: header
Query Parameters
encryptedId?string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/v2/payment/checkout-sessions" \ -H "Content-Type: application/json" \ -d '{ "courseId": "string", "quantity": 1 }'{}