openapi: 3.2.0 info: title: routefusion-api Graphql (41 Disregard) (COPY) API version: '1.0' servers: - url: https://sandbox.external.routefusion.com security: - {} tags: - name: Graphql (41 Disregard) (COPY) paths: /graphql (41 disregard) (COPY): post: summary: getTransferQuote description: The getTransferQuote mutation locks in a rate for a transfer for a limited amount of time. operationId: get-transfer-quote requestBody: content: application/json: schema: type: object properties: query: type: string default: '{}' responses: '200': description: '200' content: application/json: examples: Result: value: "{\n \"data\": {\n \"getTransferQuote\": {\n \"rate\": \"20.0872\",\n \"inverted_rate\": \"0.04978294635\",\n \"source_amount\": \"101.50\",\n \"destination_amount\": \"2008.72\",\n \"fee\": \"1.50\"\n }\n }\n}" schema: type: object properties: data: type: object properties: getTransferQuote: type: object properties: rate: type: string example: '20.0872' inverted_rate: type: string example: '0.04978294635' source_amount: type: string example: '101.50' destination_amount: type: string example: '2008.72' fee: type: string example: '1.50' '400': description: '400' content: application/json: examples: Result: value: '{}' schema: type: object properties: {} deprecated: false x-readme: code-samples: - language: node code: "// mutation getTransferQuote\n\nvar axios = require('axios');\nvar data = JSON.stringify({\n query: `mutation getTransferQuote ($transfer_id: UUID!) {\n getTransferQuote (transfer_id: $transfer_id) {\n rate\n inverted_rate\n source_amount\n destination_amount\n }\n}`,\n variables: {\"transfer_id\":\"18ea46e5-2c36-4862-9eac-adc44364df7b\"}\n});\n\nvar config = {\n method: 'post',\n url: 'https://sandbox.external.routefusion.com/graphql',\n headers: {\n 'Authorization': 'Bearer ',\n 'Content-Type': 'application/json'\n },\n data : data\n};\n\naxios(config)\n.then(function (response) {\n console.log(JSON.stringify(response.data));\n})\n.catch(function (error) {\n console.log(error);\n});" - language: curl code: '# mutation getTransferQuote curl --location --request POST ''https://sandbox.external.routefusion.com/graphql'' \ --header ''Authorization: Bearer