List capabilities for a country
curl --request GET \
--url https://api.platform.chipper.ai/v1/capabilities/{country} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.platform.chipper.ai/v1/capabilities/{country}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.platform.chipper.ai/v1/capabilities/{country}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.platform.chipper.ai/v1/capabilities/{country}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.platform.chipper.ai/v1/capabilities/{country}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.platform.chipper.ai/v1/capabilities/{country}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.platform.chipper.ai/v1/capabilities/{country}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"capabilities": {
"payouts": [
{
"country": {
"code": "GH",
"name": "Ghana",
"flag": "🇬🇭"
},
"currency": {
"code": "GHS",
"name": "Ghanaian Cedi"
},
"methods": [
{
"code": "gh_mtn",
"name": "MTN Mobile Money",
"type": "mobile_money",
"status": "operational",
"limits": {
"min": 1,
"max": 50000,
"currency": "GHS"
},
"estimatedSettlement": "0-5 minutes",
"fields": [
{
"key": "accountNumber",
"label": "Phone Number",
"type": "text",
"placeholder": "+233XXXXXXXXX",
"description": "<string>",
"group": "<string>",
"options": [
{
"label": "<string>",
"value": "<string>"
}
]
}
]
}
]
}
],
"collections": [
{
"country": {
"code": "GH",
"name": "Ghana",
"flag": "🇬🇭"
},
"currency": {
"code": "GHS",
"name": "Ghanaian Cedi"
},
"methods": [
{
"code": "gh_mtn",
"name": "MTN Mobile Money",
"type": "mobile_money",
"status": "operational",
"limits": {
"min": 1,
"max": 50000,
"currency": "GHS"
},
"estimatedSettlement": "0-5 minutes",
"fields": [
{
"key": "accountNumber",
"label": "Phone Number",
"type": "text",
"placeholder": "+233XXXXXXXXX",
"description": "<string>",
"group": "<string>",
"options": [
{
"label": "<string>",
"value": "<string>"
}
]
}
]
}
]
}
]
}
}{
"error": "unauthorized",
"message": "Invalid API key",
"requestId": "req_q7vei435zifs51ia0lqr"
}{
"error": "not_found",
"message": "Capabilities for country GH not found",
"requestId": "req_q7vei435zifs51ia0lqr"
}Capabilities
List capabilities for a country
Payout and collection methods available in one country. Use this to build a country-specific method picker without filtering the whole catalog client-side.
GET
/
v1
/
capabilities
/
{country}
List capabilities for a country
curl --request GET \
--url https://api.platform.chipper.ai/v1/capabilities/{country} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.platform.chipper.ai/v1/capabilities/{country}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.platform.chipper.ai/v1/capabilities/{country}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.platform.chipper.ai/v1/capabilities/{country}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.platform.chipper.ai/v1/capabilities/{country}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.platform.chipper.ai/v1/capabilities/{country}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.platform.chipper.ai/v1/capabilities/{country}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"capabilities": {
"payouts": [
{
"country": {
"code": "GH",
"name": "Ghana",
"flag": "🇬🇭"
},
"currency": {
"code": "GHS",
"name": "Ghanaian Cedi"
},
"methods": [
{
"code": "gh_mtn",
"name": "MTN Mobile Money",
"type": "mobile_money",
"status": "operational",
"limits": {
"min": 1,
"max": 50000,
"currency": "GHS"
},
"estimatedSettlement": "0-5 minutes",
"fields": [
{
"key": "accountNumber",
"label": "Phone Number",
"type": "text",
"placeholder": "+233XXXXXXXXX",
"description": "<string>",
"group": "<string>",
"options": [
{
"label": "<string>",
"value": "<string>"
}
]
}
]
}
]
}
],
"collections": [
{
"country": {
"code": "GH",
"name": "Ghana",
"flag": "🇬🇭"
},
"currency": {
"code": "GHS",
"name": "Ghanaian Cedi"
},
"methods": [
{
"code": "gh_mtn",
"name": "MTN Mobile Money",
"type": "mobile_money",
"status": "operational",
"limits": {
"min": 1,
"max": 50000,
"currency": "GHS"
},
"estimatedSettlement": "0-5 minutes",
"fields": [
{
"key": "accountNumber",
"label": "Phone Number",
"type": "text",
"placeholder": "+233XXXXXXXXX",
"description": "<string>",
"group": "<string>",
"options": [
{
"label": "<string>",
"value": "<string>"
}
]
}
]
}
]
}
]
}
}{
"error": "unauthorized",
"message": "Invalid API key",
"requestId": "req_q7vei435zifs51ia0lqr"
}{
"error": "not_found",
"message": "Capabilities for country GH not found",
"requestId": "req_q7vei435zifs51ia0lqr"
}⌘I