Class: Atrium::VerificationApi

Inherits:
Object
  • Object
show all
Defined in:
lib/atrium-ruby/api/verification_api.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(api_client = ApiClient.default) ⇒ VerificationApi

Returns a new instance of VerificationApi.



15
16
17
# File 'lib/atrium-ruby/api/verification_api.rb', line 15

def initialize(api_client = ApiClient.default)
  @api_client = api_client
end

Instance Attribute Details

#api_clientObject

Returns the value of attribute api_client.



13
14
15
# File 'lib/atrium-ruby/api/verification_api.rb', line 13

def api_client
  @api_client
end

Instance Method Details

#list_account_numbers(member_guid, user_guid, opts = {}) ⇒ AccountNumbersResponseBody

Read account numbers Use this endpoint to check whether account and routing numbers are available for accounts associated with a particular member. It returns the account_numbers object, which contains account and routing number data for each account associated with the member.

Parameters:

  • member_guid

    The unique identifier for a `member`.

  • user_guid

    The unique identifier for a `user`.

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:



24
25
26
27
# File 'lib/atrium-ruby/api/verification_api.rb', line 24

def (member_guid, user_guid, opts = {})
  data, _status_code, _headers = (member_guid, user_guid, opts)
  data
end

#list_account_numbers_by_account(account_guid, user_guid, opts = {}) ⇒ AccountNumbersResponseBody

Read account numbers by account GUID Use this endpoint to check whether account and routing numbers are available for a specific account. It returns the account_numbers object, which contains account and routing number data.

Parameters:

  • account_guid

    The unique identifier for an `account`.

  • user_guid

    The unique identifier for a `user`.

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:



35
36
37
38
# File 'lib/atrium-ruby/api/verification_api.rb', line 35

def (, user_guid, opts = {})
  data, _status_code, _headers = (, user_guid, opts)
  data
end

#verify_member(member_guid, user_guid, opts = {}) ⇒ MemberResponseBody

Verify The verify endpoint begins a verification process for a member.

Parameters:

  • member_guid

    The unique identifier for a `member`.

  • user_guid

    The unique identifier for a `user`.

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:



46
47
48
49
# File 'lib/atrium-ruby/api/verification_api.rb', line 46

def verify_member(member_guid, user_guid, opts = {})
  data, _status_code, _headers = verify_member_with_http_info(member_guid, user_guid, opts)
  data
end