Class: Atrium::VerificationApi
- Inherits:
-
Object
- Object
- Atrium::VerificationApi
- Defined in:
- lib/atrium-ruby/api/verification_api.rb
Instance Attribute Summary collapse
-
#api_client ⇒ Object
Returns the value of attribute api_client.
Instance Method Summary collapse
-
#initialize(api_client = ApiClient.default) ⇒ VerificationApi
constructor
A new instance of VerificationApi.
-
#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.
-
#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.
-
#verify_member(member_guid, user_guid, opts = {}) ⇒ MemberResponseBody
Verify The verify endpoint begins a verification process for a member.
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_client ⇒ Object
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.
24 25 26 27 |
# File 'lib/atrium-ruby/api/verification_api.rb', line 24 def list_account_numbers(member_guid, user_guid, opts = {}) data, _status_code, _headers = list_account_numbers_with_http_info(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.
35 36 37 38 |
# File 'lib/atrium-ruby/api/verification_api.rb', line 35 def list_account_numbers_by_account(account_guid, user_guid, opts = {}) data, _status_code, _headers = list_account_numbers_by_account_with_http_info(account_guid, user_guid, opts) data end |
#verify_member(member_guid, user_guid, opts = {}) ⇒ MemberResponseBody
Verify The verify endpoint begins a verification process for a member.
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 |