Reserve for a guest
post/payments/reservations
Reserve for a guest. Paid online, the reservation is held for 35 minutes and the answer carries the address where the guest pays (a checkout on the business's own Stripe account, with the platform fee); it is booked when Stripe says it is paid. Paid on arrival, it is booked at once. An agent inside the owner's limits reserves; outside them, or with no limits set, it waits for the owner's approval.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
shop:write- Mcp
rivier_payments_reserve- Graphql
Mutation.shopReservationCreate- Sdk
shop.reservation.create- Cli
shop reservation create
Request bodyapplication/json, required
- offeringIdstring (uuid)required
- quantityintegerDefault: 1. At least 1. At most 500.
- slotIdstring (uuid)
- checkinstringPattern: ^\d{4}-\d{2}-\d{2}$.
- checkoutstringPattern: ^\d{4}-\d{2}-\d{2}$.
- guestobjectrequired
- namestringrequiredAt most 120 characters.
- emailstring (email)requiredAt most 200 characters.
- namestringrequired
- returnTostring (uri)At most 400 characters.
- idempotencyKeystringAt most 100 characters.
Responses
- 201application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring