type: object properties: type: type: string description: The type of the data property. enum: - order - cart - swap data: type: object description: The data of the result object. Its type depends on the type field. oneOf: - type: object allOf: - description: >- Cart was successfully authorized and order was placed successfully. - $ref: ./Order.yaml - type: object allOf: - description: Cart was successfully authorized but requires further actions. - $ref: ./Cart.yaml - type: object allOf: - description: >- When cart is used for a swap and it has been completed successfully. - $ref: ./Swap.yaml