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} |
void AttachBankAccountToStore (string appId, int? bankAccountId, int? storeId)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class AttachBankAccountToStoreExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new BankAccountApi();
var appId = appId_example; // string |
var bankAccountId = 56; // int? |
var storeId = 56; // int? |
try
{
apiInstance.AttachBankAccountToStore(appId, bankAccountId, storeId);
}
catch (Exception e)
{
Debug.Print("Exception when calling BankAccountApi.AttachBankAccountToStore: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | string | ||
| bankAccountId | int? | ||
| storeId | int? |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RestApiResultBankAccountDetail CreateBankAccount (string appId, BankAccountCreate account)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class CreateBankAccountExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new BankAccountApi();
var appId = appId_example; // string |
var account = new BankAccountCreate(); // BankAccountCreate |
try
{
RestApiResultBankAccountDetail result = apiInstance.CreateBankAccount(appId, account);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling BankAccountApi.CreateBankAccount: " + e.Message );
}
}
}
}| 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
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void DeleteBankAccount (string appId, int? bankAccountId)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class DeleteBankAccountExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new BankAccountApi();
var appId = appId_example; // string |
var bankAccountId = 56; // int? |
try
{
apiInstance.DeleteBankAccount(appId, bankAccountId);
}
catch (Exception e)
{
Debug.Print("Exception when calling BankAccountApi.DeleteBankAccount: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | string | ||
| bankAccountId | int? |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RestApiResultBankAccountDetail GetBankAccountById (int? bankAccountId, string appId)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class GetBankAccountByIdExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new BankAccountApi();
var bankAccountId = 56; // int? |
var appId = appId_example; // string |
try
{
RestApiResultBankAccountDetail result = apiInstance.GetBankAccountById(bankAccountId, appId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling BankAccountApi.GetBankAccountById: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| bankAccountId | int? | ||
| appId | string |
RestApiResultBankAccountDetail
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RestApiArrayResultBankAccountSummary GetBankAccounts (string appId)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class GetBankAccountsExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new BankAccountApi();
var appId = appId_example; // string |
try
{
RestApiArrayResultBankAccountSummary result = apiInstance.GetBankAccounts(appId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling BankAccountApi.GetBankAccounts: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | string |
RestApiArrayResultBankAccountSummary
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RestApiArrayResultCountryWithAccountFieldsDefinitions GetCountriesWithFieldDefinitions (string appId)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class GetCountriesWithFieldDefinitionsExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new BankAccountApi();
var appId = appId_example; // string |
try
{
RestApiArrayResultCountryWithAccountFieldsDefinitions result = apiInstance.GetCountriesWithFieldDefinitions(appId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling BankAccountApi.GetCountriesWithFieldDefinitions: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | string |
RestApiArrayResultCountryWithAccountFieldsDefinitions
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RestApiResultAccountFieldsDefinitions GetFieldDefinitions (string appId)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class GetFieldDefinitionsExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new BankAccountApi();
var appId = appId_example; // string |
try
{
RestApiResultAccountFieldsDefinitions result = apiInstance.GetFieldDefinitions(appId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling BankAccountApi.GetFieldDefinitions: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | string |
RestApiResultAccountFieldsDefinitions
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void UpdateBankAccount (string appId, int? bankAccountId, BankAccountCreate account)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class UpdateBankAccountExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new BankAccountApi();
var appId = appId_example; // string |
var bankAccountId = 56; // int? |
var account = new BankAccountCreate(); // BankAccountCreate |
try
{
apiInstance.UpdateBankAccount(appId, bankAccountId, account);
}
catch (Exception e)
{
Debug.Print("Exception when calling BankAccountApi.UpdateBankAccount: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | string | ||
| bankAccountId | int? | ||
| account | BankAccountCreate |
void (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
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void UpdateBankAccountState (string appId, int? bankAccountId, string state, string reason)
using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;
namespace Example
{
public class UpdateBankAccountStateExample
{
public void main()
{
// Configure OAuth2 access token for authorization: oauth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new BankAccountApi();
var appId = appId_example; // string |
var bankAccountId = 56; // int? |
var state = state_example; // string |
var reason = reason_example; // string |
try
{
apiInstance.UpdateBankAccountState(appId, bankAccountId, state, reason);
}
catch (Exception e)
{
Debug.Print("Exception when calling BankAccountApi.UpdateBankAccountState: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| appId | string | ||
| bankAccountId | int? | ||
| state | string | ||
| reason | string |
void (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
[Back to top] [Back to API list] [Back to Model list] [Back to README]