Package com.inttegro

Class Client.SpecClient

java.lang.Object
com.inttegro.Client.SpecClient
Enclosing class:
Client

public static class Client.SpecClient extends Object
  • Constructor Details

    • SpecClient

      public SpecClient(Client client)
  • Method Details

    • countries

      Retrieves country specifications and payment capabilities (POST /spec/countries).

      Returns supported countries with their available payment methods, currencies, and regulatory requirements. This endpoint is public and does not require authentication. Use it to build dynamic checkout forms that adapt to the customer's country.

      Returns:
      CountrySpecifications with country specifications
      Throws:
      IOException - if network communication fails
      InterruptedException - if the request is interrupted
      ApiException - if the request fails (rare, as this is a public endpoint)