Integrating Stripe Payments with Reservations

Adding a Stripe payment token to a reservation creation request.

Guesty's Booking Engine supports the inclusion of a Stripe payment token with each reservation creation request. Please see the steps below to process a Stripe payment on a reservation.

Step 1: Connect a Stripe Account

For Guesty to process Stripe payments for bookings, a Stripe account must first be connected to your Guesty account. Learn more here.

Step 2: Create a Stripe Payment Token

From within the Stripe account that is connected to Guesty, create a payment token.

🚧

Note

Take care to create only the payment token in Stripe, and not the customer (guest).

Step 3: Create the Reservation

Run the Instant book or Create inquiry request, and include the Stripe payment token that you generated in the previous step to the payment object (shown below).

{
     "payment": {
          "token": "pm_1MWFdw2eZvKYlo2CvWcM1Btd"
     }
}

Result

The reservation will be created in Guesty with the credit card payment method attached. To automate the process of collecting guest payments and placing authorization holds on "confirmed" reservations, Guesty recommends configuring auto-payment rules.