All URIs are relative to https://api.flipdish.co
| Method | HTTP request | Description |
|---|---|---|
| attachBankAccountToStore | POST /api/v1.0/{appId}/bankaccounts/{bankAccountId}/store/{storeId} | |
| createBankAccount | POST /api/v1.0/{appId}/bankaccounts | |
| deleteBankAccount | DELETE /api/v1.0/{appId}/bankaccounts/{bankAccountId} | |
| getBankAccountById | GET /api/v1.0/{appId}/bankaccounts/{bankAccountId} | |
| getBankAccounts | GET /api/v1.0/{appId}/bankaccounts | |
| getCountriesWithFieldDefinitions | GET /api/v1.0/{appId}/bankaccounts/countries-field-definitions | |
| getFieldDefinitions | GET /api/v1.0/{appId}/bankaccounts/field-definitions | |
| updateBankAccount | POST /api/v1.0/{appId}/bankaccounts/{bankAccountId} | |
| updateBankAccountState | POST /api/v1.0/{appId}/bankaccounts/{bankAccountId}/state/{state} |
attachBankAccountToStore(appId, bankAccountId, storeId)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.BankAccountApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
BankAccountApi apiInstance = new BankAccountApi();
String appId = "appId_example"; // String |
Integer bankAccountId = 56; // Integer |
Integer storeId = 56; // Integer |
try {
apiInstance.attachBankAccountToStore(appId, bankAccountId, storeId);
} catch (ApiException e) {
System.err.println("Exception when calling BankAccountApi#attachBankAccountToStore");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| bankAccountId | Integer | ||
| storeId | Integer |
null (empty response body)
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiResultBankAccountDetail createBankAccount(appId, account)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.BankAccountApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
BankAccountApi apiInstance = new BankAccountApi();
String appId = "appId_example"; // String |
BankAccountCreate account = new BankAccountCreate(); // BankAccountCreate |
try {
RestApiResultBankAccountDetail result = apiInstance.createBankAccount(appId, account);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling BankAccountApi#createBankAccount");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| account | BankAccountCreate |
RestApiResultBankAccountDetail
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml
deleteBankAccount(appId, bankAccountId)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.BankAccountApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
BankAccountApi apiInstance = new BankAccountApi();
String appId = "appId_example"; // String |
Integer bankAccountId = 56; // Integer |
try {
apiInstance.deleteBankAccount(appId, bankAccountId);
} catch (ApiException e) {
System.err.println("Exception when calling BankAccountApi#deleteBankAccount");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| bankAccountId | Integer |
null (empty response body)
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiResultBankAccountDetail getBankAccountById(bankAccountId, appId)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.BankAccountApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
BankAccountApi apiInstance = new BankAccountApi();
Integer bankAccountId = 56; // Integer |
String appId = "appId_example"; // String |
try {
RestApiResultBankAccountDetail result = apiInstance.getBankAccountById(bankAccountId, appId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling BankAccountApi#getBankAccountById");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| bankAccountId | Integer | ||
| appId | String |
RestApiResultBankAccountDetail
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiArrayResultBankAccountSummary getBankAccounts(appId)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.BankAccountApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
BankAccountApi apiInstance = new BankAccountApi();
String appId = "appId_example"; // String |
try {
RestApiArrayResultBankAccountSummary result = apiInstance.getBankAccounts(appId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling BankAccountApi#getBankAccounts");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String |
RestApiArrayResultBankAccountSummary
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiArrayResultCountryWithAccountFieldsDefinitions getCountriesWithFieldDefinitions(appId)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.BankAccountApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
BankAccountApi apiInstance = new BankAccountApi();
String appId = "appId_example"; // String |
try {
RestApiArrayResultCountryWithAccountFieldsDefinitions result = apiInstance.getCountriesWithFieldDefinitions(appId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling BankAccountApi#getCountriesWithFieldDefinitions");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String |
RestApiArrayResultCountryWithAccountFieldsDefinitions
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiResultAccountFieldsDefinitions getFieldDefinitions(appId)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.BankAccountApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
BankAccountApi apiInstance = new BankAccountApi();
String appId = "appId_example"; // String |
try {
RestApiResultAccountFieldsDefinitions result = apiInstance.getFieldDefinitions(appId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling BankAccountApi#getFieldDefinitions");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String |
RestApiResultAccountFieldsDefinitions
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
updateBankAccount(appId, bankAccountId, account)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.BankAccountApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
BankAccountApi apiInstance = new BankAccountApi();
String appId = "appId_example"; // String |
Integer bankAccountId = 56; // Integer |
BankAccountCreate account = new BankAccountCreate(); // BankAccountCreate |
try {
apiInstance.updateBankAccount(appId, bankAccountId, account);
} catch (ApiException e) {
System.err.println("Exception when calling BankAccountApi#updateBankAccount");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| bankAccountId | Integer | ||
| account | BankAccountCreate |
null (empty response body)
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml
updateBankAccountState(appId, bankAccountId, state, reason)
// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.BankAccountApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");
BankAccountApi apiInstance = new BankAccountApi();
String appId = "appId_example"; // String |
Integer bankAccountId = 56; // Integer |
String state = "state_example"; // String |
String reason = "reason_example"; // String |
try {
apiInstance.updateBankAccountState(appId, bankAccountId, state, reason);
} catch (ApiException e) {
System.err.println("Exception when calling BankAccountApi#updateBankAccountState");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| bankAccountId | Integer | ||
| state | String | ||
| reason | String |
null (empty response body)
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml