Skip to main content

FX Quote Flow

Request an FX quote from a counterparty, then respond with a quote offer. Covers both sides of the flow.

← All recipes
Sign the request
curl -X POST "https://signing.api.example.com/v1/sign" \
-H "Content-Type: application/json" \
-d '{"SignFor":"RTGS:G:BL12345678","Method":"POST","PathAndQuery":"/v2/quote/request","Message":"{\"Counterparties\":[\"RTGS:B:US20781688\"],\"QuoteRequest\":{\"QuoteReqId\":\"39054EA89BD9\",\"Symbol\":\"GBP/USD\",\"Side\":\"1\",\"OrderQty\":\"10000\",\"ValidUntilTime\":\"20240718-12:25:49.128\"}}"}'
Send the quote request
curl -X POST "https://api.example.com/v2/quote/request" \
-H "Content-Type: application/json" \
-H "rtgs-global-sig: {signature}" \
-d '{"Counterparties":["RTGS:B:US20781688"],"QuoteRequest":{"QuoteReqId":"39054EA89BD9","Symbol":"GBP/USD","Side":"1","OrderQty":"10000","ValidUntilTime":"20240718-12:25:49.128"}}'
Webhooks
quote.offer.received
{
"specversion": "1.0",
"type": "quote.offer.received",
"source": "rtgs.global",
"id": "2e6be282-de4e-0000-0000-000000000000",
"verificationmaterial": "{signature}",
"data_base64": "{base64-encoded-payload}"
}