Skip to main content
A checkout is a payment intent, not a reservation.

1. Create the checkout

POST /checkouts prices the stay and returns:
The partner backend should pass only script_url, token and external_id to its browser.

2. Tokenize the card

Load script_url and initialize PaynoPain ProxyFields with the tokenizer token. Submit the card fields from the browser. Card data never reaches Buqipi or the partner backend.

3. Charge

The server revalidates price and availability, retrieves the tokenized card by external_id, and launches the payment. Possible states:
  • succeeded / completed: payment accepted and reservation created.
  • requires_action: open action.url for 3DS.
  • processing: the provider is still confirming; poll or call complete.
  • failed: no reservation was created.

4. Return from 3DS

Buqipi appends checkout_id and status=ok|ko to the partner return_url. The partner calls:
The reservation is created only when payment is confirmed.

Idempotency

  • external_ref is unique per API client and cannot belong to another booking.
  • Reusing Idempotency-Key with a different body returns buqipi.connect.idempotency_conflict.
  • A completed checkout returns its booking on retry.