You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* The amount of the payment. This should be the same as the change_total_amount of the order change.
107
-
*/
108
-
109
-
amount: string
110
-
/**
111
-
* The currency of the change_total_amount, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.
112
-
*/
113
-
currency: string
114
-
115
-
/**
116
-
* The type of payment you want to use for the Order Change.
117
-
* If you are an IATA agent with your own agreements with airlines, in some cases, you can pay using ARC/BSP cash by specifying arc_bsp_cash.
118
-
* Otherwise, you must pay using your Duffel account's balance by specifying balance.
119
-
* In test mode, your balance is unlimited.
120
-
* If you're not sure which of these options applies to you, get in touch with the Duffel support team at [[email protected]](mailto:[email protected]).
121
-
*/
122
-
type: PaymentType
105
+
/** The payment details to use to pay for the order change, if there is an amount to be paid.
106
+
* Some order changes may not need this.
107
+
* If the change_total_amount is zero or negative, there is no need to pass a payment object. */
108
+
payment?: {
109
+
/**
110
+
* The amount of the payment. This should be the same as the change_total_amount of the order change.
111
+
*/
112
+
113
+
amount: string
114
+
/**
115
+
* The currency of the change_total_amount, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.
116
+
*/
117
+
currency: string
118
+
119
+
/**
120
+
* The type of payment you want to use for the Order Change.
121
+
* If you are an IATA agent with your own agreements with airlines, in some cases, you can pay using ARC/BSP cash by specifying arc_bsp_cash.
122
+
* Otherwise, you must pay using your Duffel account's balance by specifying balance.
123
+
* In test mode, your balance is unlimited.
124
+
* If you're not sure which of these options applies to you, get in touch with the Duffel support team at [[email protected]](mailto:[email protected]).
125
+
*/
126
+
type: PaymentType|'card'
127
+
128
+
/**
129
+
* The id of the 3DSecure Session ID. This is the autentication when paying by card.
0 commit comments