lib/plaid/api/plaid_api.rb
# Simulate a bank transfer event in Sandbox
# Use the &#x60;/sandbox/bank_transfer/simulate&#x60; endpoint to simulate a bank transfer event in the Sandbox environment.  Note that while an event will be simulated and will appear when using endpoints such as &#x60;/bank_transfer/event/sync&#x60; or &#x60;/bank_transfer/event/list&#x60;, no transactions will actually take place and funds will not move between accounts, even within the Sandbox.
# @param sandbox_bank_transfer_simulate_request [SandboxBankTransferSimulateRequest] 
# @param [Hash] opts the optional parameters
# @return [Array<(SandboxBankTransferSimulateResponse, Integer, Hash)>] SandboxBankTransferSimulateResponse data, response status code and response headers
Simulate a bank transfer event in Sandbox
Use the `/sandbox/bank_transfer/simulate` endpoint to simulate a bank transfer event in the Sandbox environment.
Simulate a bank transfer event in Sandbox Use the ` / sandbox / bank_transfer / simulate ` endpoint to simulate a bank transfer event in the Sandbox environment .
def sandbox_bank_transfer_simulate_with_http_info(sandbox_bank_transfer_simulate_request, opts = {})
      if @api_client.config.debugging
        @api_client.config.logger.debug 'Calling API: PlaidApi.sandbox_bank_transfer_simulate ...'
      end
      if @api_client.config.client_side_validation && sandbox_bank_transfer_simulate_request.nil?
        fail ArgumentError, "Missing the required parameter 'sandbox_bank_transfer_simulate_request' when calling PlaidApi.sandbox_bank_transfer_simulate"
      end
      local_var_path = '/sandbox/bank_transfer/simulate'
      query_params = opts[:query_params] || {}
      header_params = opts[:header_params] || {}
      header_params['Accept'] = @api_client.select_header_accept(['application/json'])
      header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
      form_params = opts[:form_params] || {}
      post_body = opts[:debug_body] || @api_client.object_to_http_body(sandbox_bank_transfer_simulate_request)
      return_type = opts[:debug_return_type] || 'SandboxBankTransferSimulateResponse'
      auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret']
      new_options = opts.merge(
        :operation => :"PlaidApi.sandbox_bank_transfer_simulate",
        :header_params => header_params,
        :query_params => query_params,
        :form_params => form_params,
        :body => post_body,
        :auth_names => auth_names,
        :return_type => return_type
      )
      data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
      if @api_client.config.debugging
        @api_client.config.logger.debug "API called: PlaidApi#sandbox_bank_transfer_simulate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
      end
      return data, status_code, headers
    end
def sandbox_bank_transfer_simulate_with_http_info ( sandbox_bank_transfer_simulate_request , opts = { } ) if @api_client . config . debugging @api_client . config . logger . debug 'Calling API: PlaidApi.sandbox_bank_transfer_simulate ...' end if @api_client . config . client_side_validation && sandbox_bank_transfer_simulate_request . nil? fail ArgumentError , "Missing the required parameter 'sandbox_bank_transfer_simulate_request' when calling PlaidApi.sandbox_bank_transfer_simulate" end local_var_path = '/sandbox/bank_transfer/simulate' query_params = opts [ :query_params ] || { } header_params = opts [ :header_params ] || { } header_params [ 'Accept' ] = @api_client . select_header_accept ( [ 'application/json' ] ) header_params [ 'Content-Type' ] = @api_client . select_header_content_type ( [ 'application/json' ] ) form_params = opts [ :form_params ] || { } post_body = opts [ :debug_body ] || @api_client . object_to_http_body ( sandbox_bank_transfer_simulate_request ) return_type = opts [ :debug_return_type ] || 'SandboxBankTransferSimulateResponse' auth_names = opts [ :debug_auth_names ] || [ 'clientId' , 'plaidVersion' , 'secret' ] new_options = opts . merge ( :operation => :" PlaidApi.sandbox_bank_transfer_simulate " , :header_params => header_params , :query_params => query_params , :form_params => form_params , :body => post_body , :auth_names => auth_names , :return_type => return_type ) data , status_code , headers = @api_client . call_api ( :POST , local_var_path , new_options ) if @api_client . config . debugging @api_client . config . logger . debug "API called: PlaidApi#sandbox_bank_transfer_simulate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data , status_code , headers end
Simulate a bank transfer event in Sandbox
Use the &#x60;/sandbox/bank_transfer/simulate&#x60; endpoint to simulate a bank transfer event in the Sandbox environment.
Simulate a bank transfer event in Sandbox Use the &#x60 ; / sandbox / bank_transfer / simulate&#x60 ; endpoint to simulate a bank transfer event in the Sandbox environment .
# verify the required parameter 'sandbox_bank_transfer_simulate_request' is set # resource path # query parameters # header parameters # HTTP header 'Accept' (if needed) # HTTP header 'Content-Type' # form parameters # http body (model) # return_type # auth_names
SandboxBankTransferSimulateResponse data, response status code and response headers
SandboxBankTransferSimulateResponse data response status code and response headers
Array<(SandboxBankTransferSimulateResponse, Integer, Hash)>
sandbox_bank_transfer_simulate_request
opts
None
opts the optional parameters
opts the optional parameters