Package com.adyen.service.openbanking
Class AccountVerificationApi
- java.lang.Object
-
- com.adyen.Service
-
- com.adyen.service.openbanking.AccountVerificationApi
-
public class AccountVerificationApi extends Service
-
-
Field Summary
Fields Modifier and Type Field Description static StringAPI_VERSIONprotected StringbaseURL
-
Constructor Summary
Constructors Constructor Description AccountVerificationApi(Client client)Account Verification constructor inpackage.AccountVerificationApi(Client client, String baseURL)Account Verification constructor inpackage.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountVerificationRoutesResponsecreateAccountVerificationRoutes(AccountVerificationRoutesRequest accountVerificationRoutesRequest)Create routes for account verificationAccountVerificationRoutesResponsecreateAccountVerificationRoutes(AccountVerificationRoutesRequest accountVerificationRoutesRequest, RequestOptions requestOptions)Create routes for account verificationAccountVerificationReportResponsegetAccountVerificationReport(String code)Get account verification reportAccountVerificationReportResponsegetAccountVerificationReport(String code, RequestOptions requestOptions)Get account verification report-
Methods inherited from class com.adyen.Service
createBaseURL, getClient, isApiKeyRequired, setApiKeyRequired, setClient
-
-
-
-
Field Detail
-
API_VERSION
public static final String API_VERSION
- See Also:
- Constant Field Values
-
baseURL
protected String baseURL
-
-
Constructor Detail
-
AccountVerificationApi
public AccountVerificationApi(Client client)
Account Verification constructor inpackage.- Parameters:
client-Client(required)
-
AccountVerificationApi
public AccountVerificationApi(Client client, String baseURL)
Account Verification constructor inpackage. Please use this constructor only if you would like to pass along your own url for routing or testing purposes. The latest API version is defined in this class as a constant.
-
-
Method Detail
-
createAccountVerificationRoutes
public AccountVerificationRoutesResponse createAccountVerificationRoutes(AccountVerificationRoutesRequest accountVerificationRoutesRequest) throws ApiException, IOException
Create routes for account verification- Parameters:
accountVerificationRoutesRequest-AccountVerificationRoutesRequest(required)accountVerificationRoutesRequest-AccountVerificationRoutesRequest(required)- Returns:
AccountVerificationRoutesResponse- Throws:
ApiException- if fails to make API callIOException
-
createAccountVerificationRoutes
public AccountVerificationRoutesResponse createAccountVerificationRoutes(AccountVerificationRoutesRequest accountVerificationRoutesRequest, RequestOptions requestOptions) throws ApiException, IOException
Create routes for account verification- Parameters:
accountVerificationRoutesRequest-AccountVerificationRoutesRequest(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
AccountVerificationRoutesResponse- Throws:
ApiException- if fails to make API callIOException
-
getAccountVerificationReport
public AccountVerificationReportResponse getAccountVerificationReport(String code) throws ApiException, IOException
Get account verification report- Parameters:
code-StringThe unique code you receive after a successful open banking flow that is included as a query parameter in the `redirectUrl` callback. (required)- Returns:
AccountVerificationReportResponse- Throws:
ApiException- if fails to make API callIOException
-
getAccountVerificationReport
public AccountVerificationReportResponse getAccountVerificationReport(String code, RequestOptions requestOptions) throws ApiException, IOException
Get account verification report- Parameters:
code-StringThe unique code you receive after a successful open banking flow that is included as a query parameter in the `redirectUrl` callback. (required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
AccountVerificationReportResponse- Throws:
ApiException- if fails to make API callIOException
-
-