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, opts)
import Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.BankAccountApi();
let appId = "appId_example"; // String |
let bankAccountId = 56; // Number |
let storeId = 56; // Number |
let opts = {
'skipBankAccountUpdateWarningEmail': true // Boolean |
};
apiInstance.attachBankAccountToStore(appId, bankAccountId, storeId, opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| bankAccountId | Number | ||
| storeId | Number | ||
| skipBankAccountUpdateWarningEmail | Boolean | [optional] |
null (empty response body)
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiResultBankAccountDetail createBankAccount(appId, account)
import Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.BankAccountApi();
let appId = "appId_example"; // String |
let account = new Flipdish.BankAccountCreate(); // BankAccountCreate |
apiInstance.createBankAccount(appId, account, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| 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, Data
deleteBankAccount(appId, bankAccountId)
import Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.BankAccountApi();
let appId = "appId_example"; // String |
let bankAccountId = 56; // Number |
apiInstance.deleteBankAccount(appId, bankAccountId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| bankAccountId | Number |
null (empty response body)
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
RestApiResultBankAccountDetail getBankAccountById(bankAccountId, appId)
import Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.BankAccountApi();
let bankAccountId = 56; // Number |
let appId = "appId_example"; // String |
apiInstance.getBankAccountById(bankAccountId, appId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| bankAccountId | Number | ||
| appId | String |
RestApiResultBankAccountDetail
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data
RestApiArrayResultBankAccountSummary getBankAccounts(appId)
import Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.BankAccountApi();
let appId = "appId_example"; // String |
apiInstance.getBankAccounts(appId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String |
RestApiArrayResultBankAccountSummary
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data
RestApiArrayResultCountryWithAccountFieldsDefinitions getCountriesWithFieldDefinitions(appId)
import Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.BankAccountApi();
let appId = "appId_example"; // String |
apiInstance.getCountriesWithFieldDefinitions(appId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String |
RestApiArrayResultCountryWithAccountFieldsDefinitions
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data
RestApiResultAccountFieldsDefinitions getFieldDefinitions(appId)
import Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.BankAccountApi();
let appId = "appId_example"; // String |
apiInstance.getFieldDefinitions(appId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String |
RestApiResultAccountFieldsDefinitions
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data
updateBankAccount(appId, bankAccountId, account)
import Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.BankAccountApi();
let appId = "appId_example"; // String |
let bankAccountId = 56; // Number |
let account = new Flipdish.BankAccountCreate(); // BankAccountCreate |
apiInstance.updateBankAccount(appId, bankAccountId, account, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| bankAccountId | Number | ||
| 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 Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.BankAccountApi();
let appId = "appId_example"; // String |
let bankAccountId = 56; // Number |
let state = "state_example"; // String |
let reason = "reason_example"; // String |
apiInstance.updateBankAccountState(appId, bankAccountId, state, reason, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| bankAccountId | Number | ||
| 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