Get current rate
Returns the current indicative rate for a TOC currency pair.
The rate is not a firm quote — use POST /v1/toc/quotes to obtain a firm, priced quote.
Authentication
AuthorizationBearer
Token obtained via the login flow.
Query parameters
sellCurrency
Currency the client is selling (ISO 4217). Only ZAR is supported at present; unsupported values return 400.
buyCurrency
Currency the client receives (ISO 4217).
Response
Indicative rate for the requested pair.
sellCurrency
Currency the client sells (ISO 4217). Always ZAR.
buyCurrency
Currency the client receives (ISO 4217).
rate
Indicative rate. 1 sellCurrency = <rate> buyCurrency.
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error