SyncteraRubySdk::IncomingWiresApi

All URIs are relative to https://api.synctera.com/v0

Method HTTP request Description
get_incoming_wire GET /wires/incoming/wire_id Get incoming wire by id

get_incoming_wire

get_incoming_wire(wire_id)

Get incoming wire by id

Get an incoming wire by id

Examples

require 'time'
require 'synctera_ruby_sdk'
# setup authorization
SyncteraRubySdk.configure do |config|
  # Configure Bearer authorization (api_key): bearerAuth
  config.access_token = 'YOUR_BEARER_TOKEN'
end

api_instance = SyncteraRubySdk::IncomingWiresApi.new
wire_id = 'b01db9c7-78f2-4a99-8aca-1231d32f9b96' # String | The unique identifier of a wire transfer.

begin
  # Get incoming wire by id
  result = api_instance.get_incoming_wire(wire_id)
  p result
rescue SyncteraRubySdk::ApiError => e
  puts "Error when calling IncomingWiresApi->get_incoming_wire: #{e}"
end

Using the get_incoming_wire_with_http_info variant

This returns an Array which contains the response data, status code and headers.

, Integer, Hash)> get_incoming_wire_with_http_info(wire_id)

begin
  # Get incoming wire by id
  data, status_code, headers = api_instance.get_incoming_wire_with_http_info(wire_id)
  p status_code # => 2xx
  p headers # => { ... }
  p data # => <IncomingWire>
rescue SyncteraRubySdk::ApiError => e
  puts "Error when calling IncomingWiresApi->get_incoming_wire_with_http_info: #{e}"
end

Parameters

Name Type Description Notes
wire_id String The unique identifier of a wire transfer.

Return type

IncomingWire

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/problem+json