module Flinks::API::Statement
Constants
- StatementRequestSchema
Public Instance Methods
statements(options: {})
click to toggle source
@see sandbox-api.flinks.io/Readme/#get-pdf-statements @param [Hash] options @return [Hash]
# File lib/flinks/api/statement.rb, line 19 def statements(options: {}) validate_request!(StatementRequestSchema, options) post("#{customer_id}/BankingServices/GetStatements", body: options) end
statements_async(request_id:)
click to toggle source
@see sandbox-api.flinks.io/Readme/#get-pdf-statements @param [String] request_id @return [Hash]
# File lib/flinks/api/statement.rb, line 27 def statements_async(request_id:) get("#{customer_id}/BankingServices/GetStatementsAsync/#{request_id}") end