Skip to content

Latest commit

 

History

History
209 lines (130 loc) · 6.31 KB

AccountInformationServicesApi.md

File metadata and controls

209 lines (130 loc) · 6.31 KB

\AccountInformationServicesApi

All URIs are relative to https://webform-sandbox.finapi.io

Method HTTP request Description
CreateBankConnectionUpdateTask Post /api/tasks/backgroundUpdate Update a bank connection
CreateForBankConnectionImport Post /api/webForms/bankConnectionImport Import a bank connection
CreateForBankConnectionUpdate Post /api/webForms/bankConnectionUpdate Update a bank connection (BETA - DEPRECATED)

CreateBankConnectionUpdateTask

Task CreateBankConnectionUpdateTask(ctx).BankConnectionUpdateTaskDetails(bankConnectionUpdateTaskDetails).Execute()

Update a bank connection

Example

package main

import (
    "context"
    "fmt"
    "os"
    openapiclient "./openapi"
)

func main() {
    bankConnectionUpdateTaskDetails := *openapiclient.NewBankConnectionUpdateTaskDetails(int64(101)) // BankConnectionUpdateTaskDetails | 

    configuration := openapiclient.NewConfiguration()
    apiClient := openapiclient.NewAPIClient(configuration)
    resp, r, err := apiClient.AccountInformationServicesApi.CreateBankConnectionUpdateTask(context.Background()).BankConnectionUpdateTaskDetails(bankConnectionUpdateTaskDetails).Execute()
    if err != nil {
        fmt.Fprintf(os.Stderr, "Error when calling `AccountInformationServicesApi.CreateBankConnectionUpdateTask``: %v\n", err)
        fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
    }
    // response from `CreateBankConnectionUpdateTask`: Task
    fmt.Fprintf(os.Stdout, "Response from `AccountInformationServicesApi.CreateBankConnectionUpdateTask`: %v\n", resp)
}

Path Parameters

Other Parameters

Other parameters are passed through a pointer to a apiCreateBankConnectionUpdateTaskRequest struct via the builder pattern

Name Type Description Notes
bankConnectionUpdateTaskDetails BankConnectionUpdateTaskDetails

Return type

Task

Authorization

BearerAccessToken

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

CreateForBankConnectionImport

WebForm CreateForBankConnectionImport(ctx).BankConnectionImportDetails(bankConnectionImportDetails).Execute()

Import a bank connection

Example

package main

import (
    "context"
    "fmt"
    "os"
    openapiclient "./openapi"
)

func main() {
    bankConnectionImportDetails := *openapiclient.NewBankConnectionImportDetails() // BankConnectionImportDetails | 

    configuration := openapiclient.NewConfiguration()
    apiClient := openapiclient.NewAPIClient(configuration)
    resp, r, err := apiClient.AccountInformationServicesApi.CreateForBankConnectionImport(context.Background()).BankConnectionImportDetails(bankConnectionImportDetails).Execute()
    if err != nil {
        fmt.Fprintf(os.Stderr, "Error when calling `AccountInformationServicesApi.CreateForBankConnectionImport``: %v\n", err)
        fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
    }
    // response from `CreateForBankConnectionImport`: WebForm
    fmt.Fprintf(os.Stdout, "Response from `AccountInformationServicesApi.CreateForBankConnectionImport`: %v\n", resp)
}

Path Parameters

Other Parameters

Other parameters are passed through a pointer to a apiCreateForBankConnectionImportRequest struct via the builder pattern

Name Type Description Notes
bankConnectionImportDetails BankConnectionImportDetails

Return type

WebForm

Authorization

BearerAccessToken

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

CreateForBankConnectionUpdate

WebForm CreateForBankConnectionUpdate(ctx).BankConnectionUpdateDetails(bankConnectionUpdateDetails).Execute()

Update a bank connection (BETA - DEPRECATED)

Example

package main

import (
    "context"
    "fmt"
    "os"
    openapiclient "./openapi"
)

func main() {
    bankConnectionUpdateDetails := *openapiclient.NewBankConnectionUpdateDetails(*openapiclient.NewUpdateBankDetails(int64(101))) // BankConnectionUpdateDetails | 

    configuration := openapiclient.NewConfiguration()
    apiClient := openapiclient.NewAPIClient(configuration)
    resp, r, err := apiClient.AccountInformationServicesApi.CreateForBankConnectionUpdate(context.Background()).BankConnectionUpdateDetails(bankConnectionUpdateDetails).Execute()
    if err != nil {
        fmt.Fprintf(os.Stderr, "Error when calling `AccountInformationServicesApi.CreateForBankConnectionUpdate``: %v\n", err)
        fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
    }
    // response from `CreateForBankConnectionUpdate`: WebForm
    fmt.Fprintf(os.Stdout, "Response from `AccountInformationServicesApi.CreateForBankConnectionUpdate`: %v\n", resp)
}

Path Parameters

Other Parameters

Other parameters are passed through a pointer to a apiCreateForBankConnectionUpdateRequest struct via the builder pattern

Name Type Description Notes
bankConnectionUpdateDetails BankConnectionUpdateDetails

Return type

WebForm

Authorization

BearerAccessToken

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]