Package com.inttegro
Class Client.SpecClient
java.lang.Object
com.inttegro.Client.SpecClient
- Enclosing class:
- Client
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves country specifications and payment capabilities (POST /spec/countries).
-
Constructor Details
-
SpecClient
-
-
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:
CountrySpecificationswith country specifications- Throws:
IOException- if network communication failsInterruptedException- if the request is interruptedApiException- if the request fails (rare, as this is a public endpoint)
-