{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-product-guide/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Quotes","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"quotes","__idx":0},"children":["Quotes"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A quote locks in an exchange rate and fee breakdown for a cross-currency transfer. Quotes are valid for a fixed period from creation. Use the returned quote ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id"]}," when creating a payout to guarantee the quoted rate and fees."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /quotes"]}," endpoint prices both payouts and payins. This page focuses on the payout flow."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"how-quotes-work","__idx":1},"children":["How quotes work"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Request a quote"]}," — Provide the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["resource"]}," (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["payout"]},"), the currency pair, an amount, and a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["method"]},". Specify either the source amount or destination amount (not both)."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Review available options"]}," — For a payout, ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["local_transfer"]}," to an INR destination returns one quote per rail (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["upi"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["imps"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["neft"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["rtgs"]},"); ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["swift_transfer"]}," returns a single SWIFT quote. Each quote in the response carries its own ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["method.payment_rail"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Use the quote"]}," — Provide the quote ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id"]}," as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["quote_id"]}," in the relevant request: payins (payment links and orders) and payouts."]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"key-details","__idx":2},"children":["Key details"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Detail"},"children":["Detail"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Value"},"children":["Value"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Quote validity"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["A fixed period from creation"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Resource"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["payout"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["payin"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Amount specification"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Either ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["source_amount"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["destination_amount"]},", not both"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Amounts format"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["In cents"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Payment method"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bank_transfer"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pay_via_bank"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Subtype"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["local_transfer"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["swift_transfer"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Payment rails (derived)"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["upi"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["imps"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["neft"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["rtgs"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["swift"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"example-request","__idx":3},"children":["Example request"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"curl -X POST https://api.glomopay.com/api/v1/quotes \\\n  -H \"Authorization: Bearer <your_token>\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"resource\": \"payout\",\n    \"source_currency\": \"USD\",\n    \"destination_currency\": \"INR\",\n    \"source_amount\": 10000,\n    \"method\": {\n      \"payment_method\": \"bank_transfer\",\n      \"subtype\": \"swift_transfer\"\n    }\n  }'\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"example-response","__idx":4},"children":["Example response"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"quotes\": [\n    {\n      \"id\": \"quote_3m4n5o6p7q\",\n      \"resource\": \"payout\",\n      \"expires_at\": \"2026-06-12T08:16:50Z\",\n      \"method\": {\n        \"payment_method\": \"bank_transfer\",\n        \"subtype\": \"swift_transfer\",\n        \"payment_rail\": \"swift\"\n      },\n      \"source_currency\": \"USD\",\n      \"destination_currency\": \"INR\",\n      \"fx_rate\": 90.0,\n      \"source_amount\": 10000,\n      \"destination_amount\": 882000,\n      \"fees\": {\n        \"txn_fee\": {\n          \"currency\": \"USD\",\n          \"amount\": 100\n        },\n        \"fx_fee\": {\n          \"currency\": \"USD\",\n          \"amount\": 100\n        }\n      }\n    }\n  ]\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"fees-breakdown","__idx":5},"children":["Fees breakdown"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Each quote includes a detailed fee breakdown:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Transaction fee (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["txn_fee"]},")"]}," — Fixed fee charged per transaction."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["FX fee (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fx_fee"]},")"]}," — Fee applied on top of the exchange rate for currency conversion."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Referral fee (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["referral_fee"]},")"]}," — Payin only; present when a referral ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["price_id"]}," was applied."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["All fees are expressed in the smallest unit of the fee currency."]}]},"headings":[{"value":"Quotes","id":"quotes","depth":1},{"value":"How quotes work","id":"how-quotes-work","depth":2},{"value":"Key details","id":"key-details","depth":2},{"value":"Example request","id":"example-request","depth":2},{"value":"Example response","id":"example-response","depth":2},{"value":"Fees breakdown","id":"fees-breakdown","depth":2}],"frontmatter":{"title":"Quotes","seo":{"title":"Quotes"}},"lastModified":"2026-06-16T05:53:36.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/product-guide/quote","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}