Payment link
Send the cardholder an Ophelia-hosted card page, in your branding. The card never reaches you.
Request a link
Set payment_collection to "link" on POST /v1/bookings and send no card. The booking comes back as requires_action with a next_action of type payment. Its url is the link to send the cardholder.
Nothing runs until the cardholder submits a card on that page. Then the booking carries on by itself, and the card is never returned in a response.
What the customer sees
A single-use card page at api.opheliaos.com/pay/…. This preview uses your published Checkout design.
Where it works
otp). The card holds the table; Ophelia never charges it.confirm: true on /continue.Resy slots that need a card can't be booked by link: send the card inline or use AgentCard. A Resy slot with terms.card_required: false needs no card, so leave payment_collection out.
The flow
- Create the booking with
"payment_collection": "link". A webhook,booking.requires_action, fires too. - Send the cardholder
next_action.url. - Once they submit the card, the booking moves to
processingand runs exactly as with an inline card. Read it withGET /v1/bookings/{id}or wait for the webhook. - Answer what comes next, usually an
otpon/continue, untilstatusisconfirmed.
Expiry
A link works once, for 15 minutes (next_action.expires_at). A booking still waiting on it after that is reported expired with error_code: "action_expired", and nothing was booked. Create a new booking with a new Idempotency-Key.
A submission the page rejects, such as a ticket booking without a billing address, does not use up the link. The cardholder can fix it and submit again.
Branding
The page shows your organization's published design: display name, logo, brand color and font. Set it under Checkoutin the dashboard. Drafts never reach the live page, and without a published design the page uses Ophelia's default styling.
Testing
On a practice venue in Ophelia Test City, the link opens a practice page with no card fields. Pressing its confirm button carries the booking on, the same as a submitted card.