Skip to content

Commit 4f485e9

Browse files
committed
fix: adds new type to booking payload to support paying with card
1 parent 3b5ba90 commit 4f485e9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Stays/Bookings/Bookings.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export interface StaysBookingPayload {
1313
email: string
1414
phone_number: string
1515
accommodation_special_requests?: string
16+
payment?: { card_id: string }
1617
}
1718

1819
export class Bookings extends Resource {

0 commit comments

Comments
 (0)