Skip to main content

Overview

Returns all currency pairs that your business has enabled, along with current exchange rates. Enable pairs in the Yala app under Settings > Developers > API settings. Use this endpoint to display available payout corridors to your users.

Request

Headers

Response

Response Fields

Error Responses

400 Bad Request - No Pairs Enabled

Solution: Log in to the Yala app and enable currency pairs under Settings > Developers > API settings before using the payout API.

401 Unauthorized

Solution: Verify your API key is correct.

Usage Example

Exchange Rate Behavior

Important: Exchange rates are real-time and may change between API calls.
  • Rates shown here are current at the time of request - The rate displayed in the rate field reflects the exchange rate at the moment you call this endpoint
  • Rates are not locked or guaranteed - If you view rates via this endpoint and then call POST /initiate later, the rate may have changed
  • Always check the actual rate used - The POST /initiate response includes an exchangeRate field showing the rate that was actually applied to your payout
  • Rate may differ - The rate in the /initiate response may differ from what you saw in /pairs if rates changed between calls
Best Practice: Display rates to users as “current rates” and inform them that the final rate will be confirmed in the payout response.

Notes

  • Rates are real-time and may change between calls
  • Only pairs enabled under Settings > Developers > API settings are returned
  • The rate field is automatically selected based on conversion direction (you don’t need to choose between buy/sell rates)