{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","properties":{"path":{"type":"object","properties":{"id":{"type":"string","minLength":2,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_-]+$"}},"required":["id"],"additionalProperties":false},"data":{"properties":{"payment":{"description":"The payment details to use to pay for the order change,\nif there is an amount to be paid.\n\nSome order changes may not need this. If the `change_total_amount` is zero or negative,\nthere is no need to pass a `payment` object.\n","properties":{"amount":{"description":"The amount of the payment. This should be the same as the `change_total_amount` of the order change.\n","type":"string","maxLength":16000},"currency":{"description":"The currency of the `change_total_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\n","type":"string","maxLength":16000},"three_d_secure_session_id":{"description":"The `id` of the 3DSecure Session ID. This is the authentication when paying by [card](/docs/api/v2/card).","type":"string","maxLength":16000},"type":{"description":"The type of payment you want to use for the order change.\nIf 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`.\nYou can pay using your Duffel account's balance by specifying `balance`. In [test mode](/docs/api/overview/test-mode), your balance is unlimited.\nOtherwise, you can pay by [card](docs/api/v2/card).\nIf you're not sure which of these options applies to you, get in touch with the Duffel support team at <help@duffel.com>.","enum":["arc_bsp_cash","balance","card"],"type":"string","maxLength":16000}},"required":["type","amount","currency"],"type":"object","maxProperties":100}},"type":"object","maxProperties":100},"deviceIp":{"type":"string","maxLength":45},"deviceUserAgent":{"type":"string","maxLength":1000}},"required":["path","data"],"additionalProperties":false},"name":"Flights: Confirm an order change","id":"duffel.api.air.order-changes.confirm","example":{"path":{"id":"resource_fixture"},"data":{"payment":{"type":"balance","three_d_secure_session_id":"3ds_0000AWr2XsTRIF1Vp34gh5","currency":"GBP","amount":"30.20"}}},"maxRequests":1,"summary":false}}