Get booking details
Returns one event booking by ID, including customer and billing details, status, tax breakdown, the purchased tickets, and refund history when present.
/v1/bookings/:bookingIdAuthorization
api_key_auth API key authentication. Use "Bearer YOUR_API_KEY" format.
In: header
Path Parameters
The ID of the booking to retrieve. Use the list bookings endpoint first if you need to discover a booking ID by email, name, customer, event, or date range.
^[0-9a-fA-F]{24}$
Query Parameters
Set to false to return test-mode records created while a page was in test mode. Defaults to the mode of the API key. Test API keys can only read test data.
truefalseReturns
Booking retrieved successfully
- idstring
Unique record ID. Use this for pagination cursors.
- statusstring
Payment status.
paid: payment collected in full.partially_paid: some amount collected, but a balance remains.refunded: full refund issued.amountPaidstill shows the original amount, not the net amount after refund. UseamountRefundedfor the refund amount andlastRefundAtfor the refund date.partial_refund: partial refund issued. UseamountRefundedfor the refund amount andamountPaid - amountRefundedfor the net amount retained.lastRefundAt,lastRefundReason, andlastRefundReasonNotedescribe the most recent refund action.draft: checkout in progress and not yet submitted.draft_expired: checkout started but expired before completion.created: payment record created, but no action taken yet.pending: payment submitted and awaiting processing.unpaid: manual or invoice payment created, but not yet paid. This is expected for invoice-based checkouts and is not a failure state.failed: payment attempt was rejected. CheckpaymentErrorfor the most recent error message when present.canceled: payment was canceled.createdpendingunpaidpartially_paidpaidcanceledfailedpartial_refund - orderId?string, nullable
Human-readable order number.
- orderStatus?string, nullable
Order lifecycle status. Valid values are active, canceled.
activecanceled - customerEmail?string, nullable
Customer's email address (e.g.
andrew@example.com). Present on all records with a linked customer entity. Null on incomplete checkouts. Searchable viasearch - customerName?string, nullable
Customer full name. Searchable via
search. - customerId?string, nullable
Customer ID.
- sellerId?string, nullable
Seller ID.
- pageId?string, nullable
ID of the page the payment was made on. A sale made through your store carries an ID that is not a checkout page in the API.
- pageSlug?string, nullable
Page URL slug. This is a URL fragment, not a human-friendly title.
- clientIp?string, nullable
Customer IP address.
- currency?string, nullable
Three-letter currency code.
- amountnumber
Total amount billed for the record, in the smallest currency unit.
- amountPaid?number
Amount collected toward
amount, in the smallest currency unit. Refunded records retain their originalamountPaidvalue; useamountRefundedto determine the refunded portion. - amountDue?number
Outstanding amount still due, in the smallest currency unit.
- amountRefunded?number, nullable
Total amount refunded, in the smallest currency unit. Present on all records and
0when no refund has been issued. NOTE: For records created before 2026-01-22T06:43:28.000Z, some refunds may have incomplete metadata and showamountRefunded: 0. - amountUsd?number, nullable
The total amount in USD. Calculated using the exchange rate at the time of the transaction.
- amountExcludingTax?number, nullable
The total amount excluding tax.
- taxAmount?number, nullable
The total tax amount.
- taxSource?string, nullable
How tax was applied.
fixed_tax_ratewhen tax rates were applied directly to the record.stripe_taxwhen tax was calculated by Stripe based on the transaction details and Stripe Tax settings.fixed_tax_ratestripe_tax Fixed tax rates applied to this record. Populated when
taxSourceisfixed_tax_rate.- stripeTaxCalculationId?string, nullable
- stripeTaxTransactionId?string, nullable
- dynamicPrice?number, nullable
The dynamic price controlled by query params at checkout that overrides the default price configured on the page.
Array of fee objects.
What the customer chose to add to cover the processing fee, worked out on the total with tax. Not one of
fees.Billing details, including name, email, phone, and address.
Shipping details, including name, phone, and address. Often empty.
Submitted form field responses.
Coupon details when a coupon was applied.
amountOffis the fixed discount configured on the coupon,percentOffis the configured percentage discount, anddiscountis the total discount actually applied to this record.- livemode?boolean, nullable
Whether this is a real transaction.
- paymentError?string, nullable
Last payment-specific error message. This field is not guaranteed to be set and persists after a later successful payment, so check
statusbefore interpretingpaymentError. Payment method details, such as
gateway,method,brand,last4,country, andfunding. This may be absent when a payment method was never initiated.Payment option details.
typeisfullfor standard payments andmanualfor invoice or offline flows; whentypeismanual, astatus: unpaidrecord is expected and does not indicate a failure.- locale?string, nullable
Customer's browser locale.
- sessionId?string, nullable
Unique session ID.
- userAgent?string, nullable
Customer's browser user agent string.
- screenWidth?number, nullable
Customer's screen width in pixels.
- visitId?string, nullable
Unique visit ID to track a customer across multiple sessions.
- queryParameters?Record<string, string>, nullable
URL query parameters captured from the page link.
- stripePaymentIntentId?string, nullable
- stripeChargeId?string, nullable
- upsell?boolean, nullable
Whether this record is an upsell. Upsell records are included in results by default.
- upsellPageId?string, nullable
For an upsell record, the ID of the page the buyer paid on before accepting the upsell (the start of the funnel).
- isComplimentary?boolean, nullable
Whether this is a complimentary booking: issued by the merchant at no charge, recorded as
paidwithamount,amountPaidandamountDueof 0 while the ticket and add-on lines keep their face value. Always false on payments. - complimentaryDiscountAmount?number, nullable
On a complimentary booking, the discount that brought the total to 0, in the smallest currency unit. Equal to the pre-discount subtotal of the ticket and add-on lines. Absent otherwise.
- upsellChargeId?string, nullable
For an upsell record, the ID of the payment made on the page before the upsell.
- upsellSubscriptionId?string, nullable
For an upsell record, the ID of the subscription created on the page before the upsell.
- invoiceId?string, nullable
Generated invoice ID when an invoice exists. This confirms that an invoice was created, but not that the invoice document itself is available here.
- transactionIds?string[], nullable
- paidAt?string, nullable
When the payment was paid in full. For an invoice or cash payment this is when the merchant recorded the payment, which can be long after
createdAt. Empty until fully paid, including a deposit with a balance still due.date-time
- lastRefundAt?string, nullable
Timestamp of the most recent refund action.
date-time
- lastRefundReason?string, nullable
Reason code for the most recent refund action.
- lastRefundReasonNote?string, nullable
Free-text note for the most recent refund action. Refund reason fields reflect only the most recent refund action, not the full refund history.
- canceledAt?string
The date this was canceled.
- canceledBy?string
The userId that canceled this. If this is a booking, tickets were canceled in addition.
- canceledByName?string, nullable
Name of the user who voided this invoice, as it was at the time. Kept if the user is deleted later.
- canceledByApiKey?string, nullable
ID of the API key that canceled this, when it was canceled through the seller API. The key may have been deleted since;
canceledByApiKeyNamekeeps its name. - canceledByApiKeyName?string, nullable
Name of the API key that canceled this, as it was at the time. Kept when the key is deleted later.
- source?string, nullable
invoicewhen the payment was created from an invoice the merchant sent. Absent for other payments.checkoutinvoice - createdBy?string, nullable
ID of the user who created and sent the invoice from the dashboard. Only set on invoices created by hand.
- createdByName?string, nullable
Name of the user who created and sent the invoice, as it was at the time. Kept if the user is deleted later.
- createdByApiKey?string, nullable
ID of the API key that created and sent the invoice, when it was created through the seller API. The key may have been deleted since;
createdByApiKeyNamekeeps its name. - createdByApiKeyName?string, nullable
Name of the API key that created and sent the invoice, as it was at the time. Kept when the key is deleted later.
- canceledReason?string
The reason for the cancellation
- archivedAt?string
When the merchant archived this, hiding it from their default bookings list in the dashboard. Archiving changes nothing else: the payment, tickets and
orderStatusstay as they were. Absent unless archived. - archivedBy?string
The userId of the team member who archived this. Absent unless archived.
- isAbandoned?boolean, nullable
Whether the checkout flow was abandoned.
- recoveredAt?string, nullable
The date at which the customer recovered their checkout through cart abandonment.
date-time
- abandonmentStatus?string, nullable
'abandoned': checkout was started but not completed and not recovered yet. 'recovered': was abandoned but the customer returned and paid. Absent when the charge is not an abandoned cart.
abandonedrecovered - abandonedCartEmailStatus?string, nullable
The status of the abandonment email sent for this charge.
pending: No email has been sent. Stays as pending if isAbandoned is false.first_sent: The first abandonment email has been sent.second_sent: The second abandonment email has been sent.third_sent: The third abandonment email has been sent.skipped: The abandonment email processed was skipped.pendingfirst_sentsecond_sentthird_sentskipped - abandonedCartEmailSentAt?string, nullable
Timestamp of the most recent abandoned-cart recovery email, if applicable.
date-time
- createdAtstring
ISO 8601 timestamp when this record was created.
date-time
- updatedAtstring
ISO 8601 timestamp when this record was last updated.
date-time
- eventTitle?string, nullable
Human-readable event name. (e.g. "Future of AI Summit 2026", "Conference"). Present on all records. Use this instead of
pageSlugwhen presenting event information. Searchable viasearch - storeId?string
ID of the store the booking was made through. Absent for a booking made outside the store.
Array of ticket objects.
- attendeeStatus?string
Attendee details:
complete(every ticket has an attendee),missing(some tickets don't yet),flagged(one or more attendees flagged for the seller to review) oroptional(the customer isn't asked, so the seller adds attendees if they want to). Absent while a booking has no attendee details to track.completemissingflaggedoptional The attendees added so far, one per ticket, on events that collect attendee details. A ticket without an attendee has no entry.
- ticketFeesAmount?number, nullable
Booking fees actually charged on this booking, in the smallest currency unit. Starts from the sum of
tickets[].fee.totalAmount; an order-level coupon that applies to fees reaches them only after it has used up the ticket prices. 0 on a complimentary booking or when no ticket had a fee.
- idstring
Bad request - Invalid request parameters
- statusstring
Indicates the request failed.
error - typestring
Machine-readable error category.
- messagestring
Human-readable error message.
Optional validation details for invalid requests.
Unauthorized - Missing or invalid API key
- statusstring
Indicates the request failed.
error - typestring
Machine-readable error category.
- messagestring
Human-readable error message.
Optional validation details for invalid requests.
Forbidden - Insufficient permissions or validation error
- statusstring
Indicates the request failed.
error - typestring
Machine-readable error category.
- messagestring
Human-readable error message.
Optional validation details for invalid requests.
Booking not found
- statusstring
Indicates the request failed.
error - typestring
Machine-readable error category.
- messagestring
Human-readable error message.
Optional validation details for invalid requests.
Rate Limit Exceeded - Please try again later.
- messagestring
Human-readable error message.
Internal server error
- statusstring
Indicates the request failed.
error - typestring
Machine-readable error category.
- messagestring
Human-readable error message.
Optional validation details for invalid requests.
import { createCheckoutPageClient } from '@checkoutpage/sdk';const checkoutpage = createCheckoutPageClient({ apiKey: process.env.CHECKOUTPAGE_API_KEY!,});const response = await checkoutpage.bookings.get('6812fe6e9f39b6760576f01c');{
"data": {
"id": "65f4a1c2e4a9f3d2b1c0a150",
"orderId": "07846501",
"orderStatus": "active",
"status": "unpaid",
"livemode": true,
"customerId": "65f4a1c2e4a9f3d2b1c0a140",
"customerName": "Maya Chen",
"customerEmail": "maya@example.com",
"sellerId": "65f4a1c2e4a9f3d2b1c0a100",
"pageId": "65f4a1c2e4a9f3d2b1c0a110",
"pageSlug": "riverside-trust-spring-gala",
"eventTitle": "Riverside Trust spring gala",
"currency": "usd",
"amount": 12000,
"amountPaid": 0,
"amountDue": 12000,
"amountRefunded": 0,
"amountUsd": 12000,
"taxAmount": 0,
"taxBreakdown": [],
"stripeTaxCalculationId": null,
"dynamicPrice": 0,
"fees": [],
"ticketFeesAmount": 0,
"billing": {
"name": "Maya Chen",
"email": "maya@example.com"
},
"paymentMethod": {
"gateway": "manual",
"method": "manual"
},
"paymentOption": {
"type": "manual",
"manualType": "invoice"
},
"isComplimentary": false,
"locale": "en-US",
"upsell": false,
"transactionIds": [
"65f4a1c2e4a9f3d2b1c0a160"
],
"invoiceId": "65f4a1c2e4a9f3d2b1c0a170",
"isAbandoned": false,
"abandonedCartEmailStatus": "pending",
"tickets": [
{
"ticketTypeId": "65f4a1c2e4a9f3d2b1c0a122",
"name": "Standard",
"reference": "standard",
"ticketGroupId": "65f4a1c2e4a9f3d2b1c0a120",
"ticketGroupName": "Tickets",
"ticketGroupReference": "tickets",
"ticketGroupCapacity": 200,
"quantity": 2,
"price": 6000,
"originalPrice": 6000,
"pricing": "paid"
}
],
"fields": [
{
"fieldId": "65f4a1c2e4a9f3d2b1c0a111",
"label": "Name",
"value": "Maya Chen",
"element": "text",
"type": "name",
"reference": "customer_name"
},
{
"fieldId": "65f4a1c2e4a9f3d2b1c0a112",
"label": "Email address",
"value": "maya@example.com",
"element": "email",
"type": "email",
"reference": "customer_email"
}
],
"createdAt": "2027-02-03T10:15:00.000Z",
"updatedAt": "2027-02-03T10:15:00.000Z"
}
}{
"status": "error",
"type": "ValidationError",
"message": "Bad request - Invalid body: Field 'email' must be a valid email address",
"errors": [
{
"param": "email",
"message": "must be a valid email address"
}
]
}{
"status": "error",
"type": "error",
"message": "Missing or invalid API key"
}{
"status": "error",
"type": "error",
"message": "Insufficient permissions requires: BOOKINGS_WRITE"
}{
"status": "error",
"type": "error",
"message": "Booking not found"
}{
"message": "API key rate limit exceeded. Please try again later."
}{
"status": "error",
"type": "error",
"message": "Internal server error"
}