Skip to main content
POST
Checkout ticket upselling

Authorizations

X-Api-Key
string
header
required

Path Parameters

ticketId
string
required

Ticket id

Body

application/json
redirect_url
string
required

URL to redirect the user after the checkout.

Example:

"https://app.yourwebpage.com/checkout/internal-id/success"

error_url
string
required

URL to redirect the user if the checkout fails.

Example:

"https://app.yourwebpage.com/checkout/internal-id/error"

supplements
object[]
required
send_resources
boolean
default:false

Forwarded to payment.success webhook payload as send_resources

metadata
object

Client metadata merged into cm_payment_info and forwarded on payment.success webhooks

Response

OK

data
object

Result of an upselling checkout: the payment envelope plus the priced supplements and fee breakdown.

success
boolean
Example:

true