Use the Spec API to discover which Inttegro capabilities are available in each country. It gives your integration the current currencies, payment methods, payout schedules, account types, identity documents, and bank choices for every supported market.
The country specification object
Each country specification describes the Inttegro capabilities currently configured for one country. The operation returns a collection keyed by lowercase ISO 3166-1 alpha-2 country code. All properties below are present exceptBanksbanksBanksbanksbanksbanksbanksbanks, which is omitted for countries without a bank directory.
Properties
CountrySpecificationv13.1.0Go SDK responseSpecv14.0.0Java SDK responseCountrySpecificationv11.1.0PHP SDK responseShared\CountrySpecificationv15.0.0Python SDK responseCountrySpecificationv15.0.0Ruby SDK responseShared::CountrySpecificationv13.0.0TypeScript SDK responseCountrySpecificationv15.0.0- #
BalanceTransactionAgingSpecsbt_aging_specsBtAgingSpecsbtAgingSpecsbtAgingSpecsbt_aging_specsbt_aging_specsbtAgingSpecsList<string>?array[]anyList<String>arraylist[str]T::Array[String]string[]Balance transaction aging specifications available in this country. Common values:
"twenty_four_hourly""twenty_four_hourly""twenty_four_hourly""twenty_four_hourly"'twenty_four_hourly''twenty_four_hourly''twenty_four_hourly'"twenty_four_hourly"(24 hours),"forty_eight_hourly""forty_eight_hourly""forty_eight_hourly""forty_eight_hourly"'forty_eight_hourly''forty_eight_hourly''forty_eight_hourly'"forty_eight_hourly"(48 hours), and"hundred_sixty_eight_hourly""hundred_sixty_eight_hourly""hundred_sixty_eight_hourly""hundred_sixty_eight_hourly"'hundred_sixty_eight_hourly''hundred_sixty_eight_hourly''hundred_sixty_eight_hourly'"hundred_sixty_eight_hourly"(168 hours / 7 days). #
BanksbanksBanksbanksbanksbanksbanksbanksCountryBankDirectory?objectmap[string]anyCountryBankDirectory?Shared\CountryBankDirectoryCountryBankDirectory | NoneT.nilable(Shared::CountryBankDirectory)CountryBankSpecClick or tap to expandCountry-specific bank reference data, when available. Ghana returns a
Countries[].Banks.BankAccountTypecountries[].banks.bank_account_typeCountries[].Banks.BankAccountTypecountries[].banks.bankAccountTypecountries[].banks.bankAccountTypecountries[].banks.bank_account_typecountries[].banks.bank_account_typecountries[].banks.bankAccountTypeof"ghana_bank_account""ghana_bank_account""ghana_bank_account""ghana_bank_account"'ghana_bank_account''ghana_bank_account''ghana_bank_account'"ghana_bank_account", aCountries[].Banks.CodeSchemecountries[].banks.code_schemeCountries[].Banks.CodeSchemecountries[].banks.codeSchemecountries[].banks.codeSchemecountries[].banks.code_schemecountries[].banks.code_schemecountries[].banks.codeSchemeof"sort_code""sort_code""sort_code""sort_code"'sort_code''sort_code''sort_code'"sort_code", and anCountries[].Banks.Itemscountries[].banks.itemsCountries[].Banks.Itemscountries[].banks.itemscountries[].banks.itemscountries[].banks.itemscountries[].banks.itemscountries[].banks.itemsarray of banks. Each bank includesCountries[].Banks.Items[].Idcountries[].banks.items[].idCountries[].Banks.Items[].IDcountries[].banks.items[].idcountries[].banks.items[].idcountries[].banks.items[].idcountries[].banks.items[].idcountries[].banks.items[].id,Countries[].Banks.Items[].Namecountries[].banks.items[].nameCountries[].Banks.Items[].Namecountries[].banks.items[].namecountries[].banks.items[].namecountries[].banks.items[].namecountries[].banks.items[].namecountries[].banks.items[].name, optionalCountries[].Banks.Items[].SwiftCodecountries[].banks.items[].swift_codeCountries[].Banks.Items[].SwiftCodecountries[].banks.items[].swiftCodecountries[].banks.items[].swiftCodecountries[].banks.items[].swift_codecountries[].banks.items[].swift_codecountries[].banks.items[].swiftCode,Countries[].Banks.Items[].SortCodePrefixcountries[].banks.items[].sort_code_prefixCountries[].Banks.Items[].SortCodePrefixcountries[].banks.items[].sortCodePrefixcountries[].banks.items[].sortCodePrefixcountries[].banks.items[].sort_code_prefixcountries[].banks.items[].sort_code_prefixcountries[].banks.items[].sortCodePrefix, and a requiredCountries[].Banks.Items[].Branchescountries[].banks.items[].branchesCountries[].Banks.Items[].Branchescountries[].banks.items[].branchescountries[].banks.items[].branchescountries[].banks.items[].branchescountries[].banks.items[].branchescountries[].banks.items[].branchesarray. Each branch containsCountries[].Banks.Items[].Branches[].Idcountries[].banks.items[].branches[].idCountries[].Banks.Items[].Branches[].IDcountries[].banks.items[].branches[].idcountries[].banks.items[].branches[].idcountries[].banks.items[].branches[].idcountries[].banks.items[].branches[].idcountries[].banks.items[].branches[].id,Countries[].Banks.Items[].Branches[].Namecountries[].banks.items[].branches[].nameCountries[].Banks.Items[].Branches[].Namecountries[].banks.items[].branches[].namecountries[].banks.items[].branches[].namecountries[].banks.items[].branches[].namecountries[].banks.items[].branches[].namecountries[].banks.items[].branches[].name, andCountries[].Banks.Items[].Branches[].SortCodecountries[].banks.items[].branches[].sort_codeCountries[].Banks.Items[].Branches[].SortCodecountries[].banks.items[].branches[].sortCodecountries[].banks.items[].branches[].sortCodecountries[].banks.items[].branches[].sort_codecountries[].banks.items[].branches[].sort_codecountries[].banks.items[].branches[].sortCode.Countries[].Banks.Items[].SwiftCodecountries[].banks.items[].swift_codeCountries[].Banks.Items[].SwiftCodecountries[].banks.items[].swiftCodecountries[].banks.items[].swiftCodecountries[].banks.items[].swift_codecountries[].banks.items[].swift_codecountries[].banks.items[].swiftCodeandCountries[].Banks.Items[].SortCodePrefixcountries[].banks.items[].sort_code_prefixCountries[].Banks.Items[].SortCodePrefixcountries[].banks.items[].sortCodePrefixcountries[].banks.items[].sortCodePrefixcountries[].banks.items[].sort_code_prefixcountries[].banks.items[].sort_code_prefixcountries[].banks.items[].sortCodePrefixare omitted when unavailable.- #
CountryCodecountry_codeCountryCodecountryCodecountryCodecountry_codecountry_codecountryCodestring?stringstringStringstringstrStringstringISO 3166-1 alpha-2 country code (for example,
"gh""gh""gh""gh"'gh''gh''gh'"gh"for Ghana or"ng""ng""ng""ng"'ng''ng''ng'"ng"for Nigeria). - #
CountryNamecountry_nameCountryNamecountryNamecountryNamecountry_namecountry_namecountryNamestring?stringstringStringstringstrStringstringFull country name in English (for example,
"Ghana""Ghana""Ghana""Ghana"'Ghana''Ghana''Ghana'"Ghana"or"Nigeria""Nigeria""Nigeria""Nigeria"'Nigeria''Nigeria''Nigeria'"Nigeria"). - #
CurrenciescurrenciesCurrenciescurrenciescurrenciescurrenciescurrenciescurrenciesList<string>?array[]anyList<String>arraylist[str]T::Array[String]string[]Supported currency codes for this country, such as
"ghs""ghs""ghs""ghs"'ghs''ghs''ghs'"ghs"and"usd""usd""usd""usd"'usd''usd''usd'"usd". Use these when creating orders or configuring payouts. - #
FinancialAccountTypesfinancial_account_typesFinancialAccountTypesfinancialAccountTypesfinancialAccountTypesfinancial_account_typesfinancial_account_typesfinancialAccountTypesList<string>?array[]anyList<String>arraylist[str]T::Array[String]string[]Machine-readable financial account type names available in this country, returned as strings.
- #
IdDocumentTypesid_document_typesIDDocumentTypesidDocumentTypesidDocumentTypesid_document_typesid_document_typesidDocumentTypesList<string>?array[]anyList<String>arraylist[str]T::Array[String]string[]Machine-readable identification document type names accepted in this country, returned as strings.
- #
LegalEntityTypeslegal_entity_typesLegalEntityTypeslegalEntityTypeslegalEntityTypeslegal_entity_typeslegal_entity_typeslegalEntityTypesList<string>?array[]anyList<String>arraylist[str]T::Array[String]string[]Machine-readable legal entity types that can operate in this country, returned as strings.
- #
PaymentMethodspayment_methodsPaymentMethodspaymentMethodspaymentMethodspayment_methodspayment_methodspaymentMethodsList<string>?array[]anyList<String>arraylist[str]T::Array[String]string[]Public payment method capability identifiers configured for the country. Match these identifiers against the payment methods your integration supports rather than converting them into customer-facing labels.
- #
PayoutSchedulespayout_schedulesPayoutSchedulespayoutSchedulespayoutSchedulespayout_schedulespayout_schedulespayoutSchedulesList<string>?array[]anyList<String>arraylist[str]T::Array[String]string[]Available payout schedules for this country, such as
"weekly""weekly""weekly""weekly"'weekly''weekly''weekly'"weekly"and"manual""manual""manual""manual"'manual''manual''manual'"manual". Use these when configuring payout settings.
List country specifications POST /spec/countries
This endpoint requires no authentication and can be called from client-side code.
Treat the values as capability identifiers, not display copy. Refresh them when starting a country-dependent flow and validate the final choice again when creating the corresponding resource; availability can change between the two requests.
Request body
No request body is required. Send an empty object or omit the body entirely.
Request
curl https://api.inttegro.com/spec/countries \
-X POST \
-H "Content-Type: application/json"import { InttegroClient } from '@inttegro/inttegro-sdk'
const inttegro = new InttegroClient({
apiKey: process.env.INTTEGRO_API_KEY!,
})
const result = await inttegro.spec.countries()package main
import (
"context"
"log"
"os"
inttegro "github.com/inttegro/inttegro-sdk-go/v14"
)
func main() {
ctx := context.Background()
client := inttegro.NewClient(os.Getenv("INTTEGRO_API_KEY"))
result, err := client.Spec.Countries(ctx)
if err != nil {
log.Fatal(err)
}
_ = result
}import os
from inttegro import InttegroClient
client = InttegroClient(api_key=os.environ["INTTEGRO_API_KEY"])
result = client.spec.countries()<?php
use Inttegro\Client;
$client = new Client($_ENV['INTTEGRO_API_KEY']);
$result = $client->spec->countries();require "inttegro"
client = Inttegro::Client.new(api_key: ENV.fetch("INTTEGRO_API_KEY"))
result = client.spec.countriesimport com.inttegro.Client;
public class Example {
public static void main(String[] args) throws Exception {
var client = new Client(System.getenv("INTTEGRO_API_KEY"));
var result = client.spec().countries();
}
}using Inttegro;
using var inttegro = new InttegroClient(
Environment.GetEnvironmentVariable("INTTEGRO_API_KEY")!
);
var result = await inttegro.Spec.CountriesAsync();{
"countries": {
"gh": {
"country_code": "gh",
"country_name": "Ghana",
"currencies": ["ghs", "usd"],
"payment_methods": ["mobile_money", "bank_account", "payment_card"],
"payout_schedules": ["weekly", "manual"],
"bt_aging_specs": [
"bt_aging_spec_immediate",
"bt_aging_spec_24_hourly",
"bt_aging_spec_48_hourly",
"bt_aging_spec_168_hourly"
],
"legal_entity_types": [
"company",
"government_entity",
"individual",
"non_profit",
"sole_prop"
],
"financial_account_types": [
"bank",
"dosh",
"wallet"
],
"id_document_types": [
"drivers_license",
"ghana_card",
"passport"
],
"banks": {
"bank_account_type": "ghana_bank_account",
"code_scheme": "sort_code",
"items": [
{
"id": "absa_gh_ltd",
"name": "ABSA (GH) LTD",
"swift_code": "BARCGHAC",
"sort_code_prefix": "03",
"branches": [
{
"id": "absa_gh_ltd_kasoa_branch",
"name": "ABSA (GH) LTD-KASOA BRANCH",
"sort_code": "030101"
}
]
}
]
}
}
}
}Related resources
- Set up a financial account - Show the account types available in a country
- Accept a payment - Offer payment methods available in the customer’s country
- Financial accounts - Create and manage financial accounts