Package api
Class VerificationsApi
java.lang.Object
api.VerificationsApi
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassclass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(CreateVerificationRequest createVerificationRequest) Perform a Verification Create a `verification` to verify an `Identity` or `Payment Instrument`.okhttp3.CallcreateVerificationAsync(CreateVerificationRequest createVerificationRequest, ApiCallback<Verification> _callback) Perform a Verification (asynchronously) Create a `verification` to verify an `Identity` or `Payment Instrument`.okhttp3.CallcreateVerificationCall(CreateVerificationRequest createVerificationRequest, ApiCallback _callback) Build call for createVerificationcreateVerificationWithHttpInfo(CreateVerificationRequest createVerificationRequest) Perform a Verification Create a `verification` to verify an `Identity` or `Payment Instrument`.Get a Verification Retrieve the details of a `Verification`.intokhttp3.CallgetVerificationAsync(String verificationId, ApiCallback<Verification> _callback) Get a Verification (asynchronously) Retrieve the details of a `Verification`.okhttp3.CallgetVerificationCall(String verificationId, ApiCallback _callback) Build call for getVerificationgetVerificationWithHttpInfo(String verificationId) Get a Verification Retrieve the details of a `Verification`.list(ListVerificationsQueryParams listVerificationsQueryParams) List Verifications Retrieve a list of `Verifications`.listByMerchantId(String merchantId, ListMerchantVerificationsQueryParams listMerchantVerificationsQueryParams) List Merchant Verifications Get a list of all the `Verifications` in the `Merchant` object.voidsetCustomBaseUrl(String customBaseUrl) voidsetFinixClient(FinixClient finixClient) voidsetHostIndex(int hostIndex)
-
Constructor Details
-
VerificationsApi
public VerificationsApi() -
VerificationsApi
-
-
Method Details
-
getFinixClient
-
setFinixClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
createVerificationCall
public okhttp3.Call createVerificationCall(CreateVerificationRequest createVerificationRequest, ApiCallback _callback) throws ApiException Build call for createVerification- Parameters:
createVerificationRequest- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 201 Single Verification object * finix-apiuser-role -
* date -
* x-request-id -
400 Error * finix-apiuser-role -
* date -
* x-request-id -
401 Authentication information is missing or invalid * finix-apiuser-role -
* date -
* x-request-id -
403 Forbidden * finix-apiuser-role -
* date -
* x-request-id -
406 Not Acceptable * finix-apiuser-role -
* date -
* x-request-id -
422 Invalid field * finix-apiuser-role -
* date -
* x-request-id -
-
create
Perform a Verification Create a `verification` to verify an `Identity` or `Payment Instrument`. Verifications can also be created directly on the resources you want to verify: - `POST /merchants/{id}/verifications` - `POST /payment_instruments/{id}/verifications`- Parameters:
createVerificationRequest- (optional)- Returns:
- Verification
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 201 Single Verification object * finix-apiuser-role -
* date -
* x-request-id -
400 Error * finix-apiuser-role -
* date -
* x-request-id -
401 Authentication information is missing or invalid * finix-apiuser-role -
* date -
* x-request-id -
403 Forbidden * finix-apiuser-role -
* date -
* x-request-id -
406 Not Acceptable * finix-apiuser-role -
* date -
* x-request-id -
422 Invalid field * finix-apiuser-role -
* date -
* x-request-id -
-
createVerificationWithHttpInfo
public ApiResponse<Verification> createVerificationWithHttpInfo(CreateVerificationRequest createVerificationRequest) throws ApiException Perform a Verification Create a `verification` to verify an `Identity` or `Payment Instrument`. Verifications can also be created directly on the resources you want to verify: - `POST /merchants/{id}/verifications` - `POST /payment_instruments/{id}/verifications`- Parameters:
createVerificationRequest- (optional)- Returns:
- ApiResponse<Verification>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 201 Single Verification object * finix-apiuser-role -
* date -
* x-request-id -
400 Error * finix-apiuser-role -
* date -
* x-request-id -
401 Authentication information is missing or invalid * finix-apiuser-role -
* date -
* x-request-id -
403 Forbidden * finix-apiuser-role -
* date -
* x-request-id -
406 Not Acceptable * finix-apiuser-role -
* date -
* x-request-id -
422 Invalid field * finix-apiuser-role -
* date -
* x-request-id -
-
createVerificationAsync
public okhttp3.Call createVerificationAsync(CreateVerificationRequest createVerificationRequest, ApiCallback<Verification> _callback) throws ApiException Perform a Verification (asynchronously) Create a `verification` to verify an `Identity` or `Payment Instrument`. Verifications can also be created directly on the resources you want to verify: - `POST /merchants/{id}/verifications` - `POST /payment_instruments/{id}/verifications`- Parameters:
createVerificationRequest- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 201 Single Verification object * finix-apiuser-role -
* date -
* x-request-id -
400 Error * finix-apiuser-role -
* date -
* x-request-id -
401 Authentication information is missing or invalid * finix-apiuser-role -
* date -
* x-request-id -
403 Forbidden * finix-apiuser-role -
* date -
* x-request-id -
406 Not Acceptable * finix-apiuser-role -
* date -
* x-request-id -
422 Invalid field * finix-apiuser-role -
* date -
* x-request-id -
-
getVerificationCall
public okhttp3.Call getVerificationCall(String verificationId, ApiCallback _callback) throws ApiException Build call for getVerification- Parameters:
verificationId- ID of `Verification` object. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 Single Verification object * finix-apiuser-role -
* date -
* x-request-id -
401 Authentication information is missing or invalid * finix-apiuser-role -
* date -
* x-request-id -
403 Forbidden * finix-apiuser-role -
* date -
* x-request-id -
404 Object does not exist * finix-apiuser-role -
* date -
* x-request-id -
406 Not Acceptable * finix-apiuser-role -
* date -
* x-request-id -
-
get
Get a Verification Retrieve the details of a `Verification`.- Parameters:
verificationId- ID of `Verification` object. (required)- Returns:
- Verification
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 Single Verification object * finix-apiuser-role -
* date -
* x-request-id -
401 Authentication information is missing or invalid * finix-apiuser-role -
* date -
* x-request-id -
403 Forbidden * finix-apiuser-role -
* date -
* x-request-id -
404 Object does not exist * finix-apiuser-role -
* date -
* x-request-id -
406 Not Acceptable * finix-apiuser-role -
* date -
* x-request-id -
-
getVerificationWithHttpInfo
public ApiResponse<Verification> getVerificationWithHttpInfo(String verificationId) throws ApiException Get a Verification Retrieve the details of a `Verification`.- Parameters:
verificationId- ID of `Verification` object. (required)- Returns:
- ApiResponse<Verification>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 Single Verification object * finix-apiuser-role -
* date -
* x-request-id -
401 Authentication information is missing or invalid * finix-apiuser-role -
* date -
* x-request-id -
403 Forbidden * finix-apiuser-role -
* date -
* x-request-id -
404 Object does not exist * finix-apiuser-role -
* date -
* x-request-id -
406 Not Acceptable * finix-apiuser-role -
* date -
* x-request-id -
-
getVerificationAsync
public okhttp3.Call getVerificationAsync(String verificationId, ApiCallback<Verification> _callback) throws ApiException Get a Verification (asynchronously) Retrieve the details of a `Verification`.- Parameters:
verificationId- ID of `Verification` object. (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 Single Verification object * finix-apiuser-role -
* date -
* x-request-id -
401 Authentication information is missing or invalid * finix-apiuser-role -
* date -
* x-request-id -
403 Forbidden * finix-apiuser-role -
* date -
* x-request-id -
404 Object does not exist * finix-apiuser-role -
* date -
* x-request-id -
406 Not Acceptable * finix-apiuser-role -
* date -
* x-request-id -
-
listByMerchantId
public VerificationsList listByMerchantId(String merchantId, ListMerchantVerificationsQueryParams listMerchantVerificationsQueryParams) throws ApiException List Merchant Verifications Get a list of all the `Verifications` in the `Merchant` object.- Parameters:
merchantId- ID of `Merchant` object. (required)- Returns:
- APIlistMerchantVerificationsRequest
- Throws:
ApiException- Http Response Details:
Status Code Description Response Headers 200 List of Verification objects * finix-apiuser-role -
* date -
* x-request-id -
401 Authentication information is missing or invalid * finix-apiuser-role -
* date -
* x-request-id -
403 Forbidden * finix-apiuser-role -
* date -
* x-request-id -
404 Object does not exist * finix-apiuser-role -
* date -
* x-request-id -
406 Not Acceptable * finix-apiuser-role -
* date -
* x-request-id -
-
list
public VerificationsList list(ListVerificationsQueryParams listVerificationsQueryParams) throws ApiException List Verifications Retrieve a list of `Verifications`.- Returns:
- APIlistVerificationsRequest
- Throws:
ApiException- Http Response Details:
Status Code Description Response Headers 200 List of Verification objects * finix-apiuser-role -
* date -
* x-request-id -
401 Authentication information is missing or invalid * finix-apiuser-role -
* date -
* x-request-id -
403 Forbidden * finix-apiuser-role -
* date -
* x-request-id -
406 Not Acceptable * finix-apiuser-role -
* date -
* x-request-id -
-