Skip to content

Settle an order right after its card payment​

POST
/event-orders/{id}/confirm-payment

Called by checkout right after the card is confirmed, so the ticket shows without waiting for the Stripe webhook. The server reads the order's own PaymentIntent from Stripe (never one the caller names) and, when it succeeded, records the order paid through the same idempotent path as the webhook (the order paid once, its money split once per Fundly); a card authorized for an order that needs the hosts' approval makes it a request. The webhook that arrives afterwards changes nothing. Any other payment state, or Stripe being unreachable, leaves the order as it is: keep reading GET /event-orders/{id}. The buyer only: by account or the order link's token.

Authorizations​

or
BearerAuth

In the browser, authentication rides on the httpOnly session cookies set by /cognito/signin or the Google / Apple sign-in at /cognito/oauth/{provider}. For scripts and for Swagger UI testing, paste an API key (fh_live_…, created with POST /api-keys); a Cognito JWT is accepted too. Sign-in does not return a token in its body.

Type
HTTP (bearer)

Parameters​

Header Parameters

X-Order-Token

The order link's token, for a buyer without an account.

Type
string

Path Parameters

id*

The order's id.

Type
string
Required
Format
"uuid"

Responses​

The order as it is now.

application/json
JSON
"string"

Playground​

Server
Headers
Variables
Key
Value

Samples​

Powered by VitePress OpenAPI

Built with VitePress