From cd133d0a9724db6fb117f27c73c5b46f54989fe1 Mon Sep 17 00:00:00 2001 From: Andreja Kogovsek Date: Thu, 3 Oct 2024 15:00:09 +0100 Subject: [PATCH] feat: allow 3ds session ID for payments on bookings (#966) This adds ability to allow 3ds payments for bookings. --- src/Stays/Bookings/Bookings.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Stays/Bookings/Bookings.ts b/src/Stays/Bookings/Bookings.ts index bf0ac0b8..59efb3b5 100644 --- a/src/Stays/Bookings/Bookings.ts +++ b/src/Stays/Bookings/Bookings.ts @@ -13,7 +13,7 @@ export interface StaysBookingPayload { email: string phone_number: string accommodation_special_requests?: string - payment?: { card_id: string } + payment?: { card_id: string } | { three_d_secure_session_id: string } } export class Bookings extends Resource {