curl --location --request POST 'https://api.perfectworks.io/api/v0/payments/create-checkout-session' \
--header 'Content-Type: application/json' \
--data-raw '{
"productId": "prod_1234567890abcdef",
"quantity": 1,
"successUrl": "https://myapp.com/success?session_id={CHECKOUT_SESSION_ID}",
"cancelUrl": "https://myapp.com/cancel"
}'
{
"success": true,
"message": "Operation completed successfully",
"data": {
"id": "123",
"name": "Example"
}
}