List of enabled countries
GET
/enabled-countriesTo retrieve a list of enabled countries
Response
OK
codestring<iso-3166-1-alpha3>
ISO Country Code
namestring
Country name
API Reference › Local Currency Payouts API › discoveries
/enabled-countriesTo retrieve a list of enabled countries
OK
ISO Country Code
Country name
curl -X GET "https://api.uat.triple-a.io/api/fiat-payout/v1/enabled-countries" \
-H "Authorization: Bearer <token>"const response = await fetch(`https://api.uat.triple-a.io/api/fiat-payout/v1/enabled-countries`, {
method: 'GET',
headers: { 'Authorization': 'Bearer <token>' }
});
const data = await response.json();import requests
response = requests.request(
"GET",
"https://api.uat.triple-a.io/api/fiat-payout/v1/enabled-countries",
headers={ "Authorization": "Bearer <token>" },
)
data = response.json()<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://api.uat.triple-a.io/api/fiat-payout/v1/enabled-countries");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["Authorization: Bearer <token>"]);
$response = curl_exec($ch);
curl_close($ch);package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://api.uat.triple-a.io/api/fiat-payout/v1/enabled-countries", nil)
req.Header.Set("Authorization", "Bearer <token>")
resp, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
data, _ := io.ReadAll(resp.Body)
fmt.Println(string(data))
}HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.uat.triple-a.io/api/fiat-payout/v1/enabled-countries"))
.header("Authorization", "Bearer <token>")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());require "net/http"
require "uri"
uri = URI("https://api.uat.triple-a.io/api/fiat-payout/v1/enabled-countries")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
request = Net::HTTP::Get.new(uri)
request["Authorization"] = "Bearer <token>"
response = http.request(request)
puts response.body[
{
"code": "USA",
"name": "United States"
}
]curl -X GET "https://api.uat.triple-a.io/api/fiat-payout/v1/enabled-countries" \
-H "Authorization: Bearer <token>"const response = await fetch(`https://api.uat.triple-a.io/api/fiat-payout/v1/enabled-countries`, {
method: 'GET',
headers: { 'Authorization': 'Bearer <token>' }
});
const data = await response.json();import requests
response = requests.request(
"GET",
"https://api.uat.triple-a.io/api/fiat-payout/v1/enabled-countries",
headers={ "Authorization": "Bearer <token>" },
)
data = response.json()<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://api.uat.triple-a.io/api/fiat-payout/v1/enabled-countries");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["Authorization: Bearer <token>"]);
$response = curl_exec($ch);
curl_close($ch);package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://api.uat.triple-a.io/api/fiat-payout/v1/enabled-countries", nil)
req.Header.Set("Authorization", "Bearer <token>")
resp, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
data, _ := io.ReadAll(resp.Body)
fmt.Println(string(data))
}HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.uat.triple-a.io/api/fiat-payout/v1/enabled-countries"))
.header("Authorization", "Bearer <token>")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());require "net/http"
require "uri"
uri = URI("https://api.uat.triple-a.io/api/fiat-payout/v1/enabled-countries")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
request = Net::HTTP::Get.new(uri)
request["Authorization"] = "Bearer <token>"
response = http.request(request)
puts response.body