Skip to content

Spec

Discover the countries and capabilities Inttegro supports, including currencies, payment methods, payout schedules, account types, identity documents, and bank directories.

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 except banks, which is omitted for countries without a bank directory.

Properties

TypeScript SDK responseCountrySpecificationv15.0.0
  • #btAgingSpecsstring[]

    Balance transaction aging specifications available in this country. Common values: "twenty_four_hourly" (24 hours), "forty_eight_hourly" (48 hours), and "hundred_sixty_eight_hourly" (168 hours / 7 days).

  • #banksCountryBankSpecClick or tap to expand

    Country-specific bank reference data, when available. Ghana returns a countries[].banks.bankAccountType of "ghana_bank_account" , a countries[].banks.codeScheme of "sort_code", and an countries[].banks.items array of banks. Each bank includes countries[].banks.items[].id, countries[].banks.items[].name, optional countries[].banks.items[].swiftCode, countries[].banks.items[].sortCodePrefix, and a required countries[].banks.items[].branches array. Each branch contains countries[].banks.items[].branches[].id, countries[].banks.items[].branches[].name, and countries[].banks.items[].branches[].sortCode. countries[].banks.items[].swiftCode and countries[].banks.items[].sortCodePrefix are omitted when unavailable.

  • #countryCodestring

    ISO 3166-1 alpha-2 country code (for example, "gh" for Ghana or "ng" for Nigeria).

  • #countryNamestring

    Full country name in English (for example, "Ghana" or "Nigeria" ).

  • #currenciesstring[]

    Supported currency codes for this country, such as "ghs" and "usd". Use these when creating orders or configuring payouts.

  • #financialAccountTypesstring[]

    Machine-readable financial account type names available in this country, returned as strings.

  • #idDocumentTypesstring[]

    Machine-readable identification document type names accepted in this country, returned as strings.

  • #paymentMethodsstring[]

    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.

  • #payoutSchedulesstring[]

    Available payout schedules for this country, such as "weekly" and "manual". Use these when configuring payout settings.

List country specifications POST /spec/countries

Retrieve the current Inttegro capabilities for every supported country.

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

POST/spec/countries
cURLbash
curl https://api.inttegro.com/spec/countries \
-X POST \
-H "Content-Type: application/json"
TypeScripttypescript
import { InttegroClient } from '@inttegro/inttegro-sdk'

const inttegro = new InttegroClient({
  apiKey: process.env.INTTEGRO_API_KEY!,
})

const result = await inttegro.spec.countries()
Gogo
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
}
Pythonpython
import os

from inttegro import InttegroClient

client = InttegroClient(api_key=os.environ["INTTEGRO_API_KEY"])

result = client.spec.countries()
PHPphp
<?php

use Inttegro\Client;

$client = new Client($_ENV['INTTEGRO_API_KEY']);
$result = $client->spec->countries();
Rubyruby
require "inttegro"

client = Inttegro::Client.new(api_key: ENV.fetch("INTTEGRO_API_KEY"))
result = client.spec.countries
Javajava
import 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();
  }
}
C#csharp
using Inttegro;

using var inttegro = new InttegroClient(
    Environment.GetEnvironmentVariable("INTTEGRO_API_KEY")!
);
var result = await inttegro.Spec.CountriesAsync();
Responsejson
{
  "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"
              }
            ]
          }
        ]
      }
    }
  }
}

Type to search…

↑↓ navigate↵ selectEsc close