Currencies

Currencies supported by SwitchApp

This endpoint retrieves all SwitchApp-supported currencies. Local currencies of a region are set as the primary currency by default.

get
Authorizations
Responses
200
Success
application/json
get
GET /v1/supported-services/currencies HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*
200

Success

{
  "status": "success",
  "message": "text",
  "data": {
    "currency_name": "text",
    "currency_symbol": "text",
    "currency": "text",
    "is_supported": true
  },
  "meta": {
    "page_meta": {
      "page_count": 1,
      "item_count": 1,
      "search": "text",
      "page": 1,
      "page_size": 1
    }
  },
  "errors": {
    "ANY_ADDITIONAL_PROPERTY": [
      "text"
    ]
  },
  "is_error": true
}

You can also retrieve the supported currencies for each country supported by SwitchApp.

get
Authorizations
Query parameters
countrystringOptional
Responses
200
Success
application/json
get
GET /v1/supported-services/currencies-by-country HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*
200

Success

{
  "status": "success",
  "message": "text",
  "data": {
    "currency_name": "text",
    "currency_symbol": "text",
    "currency": "text",
    "is_supported": true
  },
  "meta": {
    "page_meta": {
      "page_count": 1,
      "item_count": 1,
      "search": "text",
      "page": 1,
      "page_size": 1
    }
  },
  "errors": {
    "ANY_ADDITIONAL_PROPERTY": [
      "text"
    ]
  },
  "is_error": true
}

Last updated