Skip to content

Commit a4e2d15

Browse files
author
Tim Rogers
authored
fix(orders): don't require payments when creating an order (#345)
1 parent 7d107eb commit a4e2d15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/booking/Orders/OrdersTypes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ export interface CreateOrder {
525525
/**
526526
* The payment details to use to pay for the order
527527
*/
528-
payments: OrderPayment[]
528+
payments?: OrderPayment[]
529529

530530
/**
531531
* The payment action you want to take for your order. You can only use pay_later with offers that contain requires_instant_payment: false.

0 commit comments

Comments
 (0)