Skip to content
API reference menu
REST API / Payments

Payments

Start the deposit payment for the current guest booking.

API endpoint stable

Start a deposit payment

View as Markdown
POST/v1/public/bookings/current/deposit

A guest starts Stripe Checkout for the current booking with Authorization: Booking; an invalid capability returns 404 and payment conflicts return 409.

Parameters

Header

Authorizationstringrequired

Guest booking capability in the Booking authorization scheme.

X-Outdoor-Grid-Site-Keystring

Site key for a shop website server. Optional when the published shop host identifies the shop.

Body parameters

idempotency_keystring · uuidrequired

Unique UUID for a safe retry of this request.

Returns

A JSON response with checkout_url, expires_at.

Errors

404The Booking capability or current booking was not found.
409The booking or payment account cannot start this payment.
422A field or parameter failed validation.
Request
API_BASE="https://api.outdoorgrid.ai"
curl -X POST "$API_BASE/v1/public/bookings/current/deposit" \
  -H "Authorization: Booking $BOOKING_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "idempotency_key":
    "7a6f9780-7d6f-4c6f-8f6f-7e6f9dcc816f"
}'
Response
{
  "checkout_url": "https://example.com/bikes",
  "expires_at": "2026-07-18T09:00:00Z"
}
Object

The Payment object

The fields returned by this resource.

at_shop_without_rentalsbooleanrequired

A basket without rented sizes (tour seats, extras without sizes) may also choose at_shop

choicesstring[]required

Payment choices accepted for a basket under the shop's default rules; a product can narrow them.

deposit_min_minorintegerrequired

Deposit mode only: the least deposit of a booking

deposit_percentintegerrequired

Deposit mode only: the share of the total paid online, rounded up to whole units

modestringrequired

The shop's online mode

pay_at_shopdeposit
Response
{
  "at_shop_without_rentals": true,
  "choices": [
    "deposit"
  ],
  "deposit_min_minor": 4500,
  "deposit_percent": 2,
  "mode": "pay_at_shop"
}