Patent Publication Number: US-2021173674-A1

Title: Distributed Terminals Network Management, Systems, Interfaces and Workflows

Description:
CROSS REFERENCE TO RELATED APPLICATIONS 
     This application claims the benefit of each of U.S. Provisional Application Ser. No. 62/945,577 filed on Dec. 9, 2019, U.S. Provisional Application Ser. No. 62/972,025 filed Feb. 9, 2020, U.S. Provisional Application Ser. No. 63/056,163 filed Jul. 24, 2020, U.S. Provisional Application Ser. No. 63/056,513 filed Jul. 24, 2020, U.S. Provisional Application Ser. No. 63/057,381 filed Jul. 28, 2020, U.S. Provisional Application Ser. No. 63/058,422 filed Jul. 29, 2020, U.S. Provisional Application Ser. No. 63/060,428 filed Aug. 3, 2020, U.S. Provisional Application Ser. No. 63/063,804 filed Aug. 10, 2020, U.S. Provisional Application Ser. No. 63/073,590 filed Sep. 2, 2020, and U.S. Provisional Application Ser. No. 63/077,408 filed Sep. 11, 2020, the contents of each of listed U.S. Provisional application expressly incorporated by reference herein and each in entirety. 
    
    
     TECHNICAL FIELD 
     This invention relates generally to terminals, and more specifically, to security and management of a distributed network of terminals using methods such as, for example, operator controls/graphical user interfaces (GUIs), biometric authentication and decentralized learning. Terminals may, in one example, be hardware terminals such as clients, vending machine networks, or kiosk networks. 
     BACKGROUND 
     Distributed terminal networks are becoming more prevalent. Accordingly, there is a growing need for efficient and secure distributed terminal systems, such as to protect against emerging security risks. Current systems and methods do not possess a structure or configuration that provides as quick or robust security as provided herein. For example, current systems and methods do not leverage a combination of security factor payloads constructed by piecemeal request and response as described herein. Current systems and methods are therefore not as quick or adaptive. For example, current systems and methods do not provide a hardware-service configuration and workflow that allows for quick and robust deployment of security features, reinstatement and storage of machine states, etc. Further, current systems and methods are not easily updated and new advancements in security are not easily leveraged or implemented in current systems and methods. 
     SUMMARY 
     Embodiments include a method, system, and computer program product for controlling operations at distributed terminals. In accordance with one or more embodiments, a computer implemented method may include a graphical user interface (GUI) and operator console management system for a distributed terminal network. In some embodiments, the terminals may be hardware terminals, kiosks, or clients. In some embodiments, a security analysis may be performed, and security scores may be determined, for visitors requesting operations at terminals based on an operator configuration. Security scores may be determined by a provider, in communication with the operator terminals, based on aggregation of a plurality of factors, wherein each factor may be weighted. The factors may incorporate operator settings or preferences. In one embodiment, the factors include one or more facial recognition factors. The one or more facial recognition factors may be used for biometric authentication. The provider may use the security scores to determine user privileges or permissions for the operations. The provider may deliver instructions or messages to the terminals based on the determinations. 
     Additional features and advantages are realized through the techniques of the present invention. Other embodiments and aspects of the invention are described in detail herein and are considered a part of the claimed invention. For a better understanding of the invention with advantages and features, refer to the description and to the drawings. 
     Some examples of the advantages of the presented technology include speed, efficiency, and security over present systems. In one example, by carrying out given security protocols by a software service provider in the presented technology, modifications to the protocols to adapt to emerging needs can be rapidly implemented and deployed to some or all of the distributed network. In another example, the presented technology allows for operator tailoring of security preferences and protocols. 
    
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         FIG. 1  is a diagram of a general network environment that can be used with terminals, hardware terminals, kiosks, nodes, or clients. 
         FIG. 2A  is a diagram of a general network environment that can be used with terminals, hardware terminals, kiosks, nodes, or clients, serviced by a software service vendor. 
         FIG. 2B . is a diagram of a network architecture environment that can be used with terminals, hardware terminals, kiosks, nodes, or clients, serviced by, for example, a software service vendor. 
         FIG. 2C  is a diagram of a network architecture environment that can be used with terminals, hardware terminals, kiosks, nodes, or clients, serviced by, for example, more than one software service vendor. 
         FIG. 3  is a diagram of a hardware terminal. 
         FIG. 4A  is another diagram of a hardware terminal. 
         FIG. 4B  is a diagram illustrating GUI options/selections on a multi-use terminal. 
         FIG. 4C  is a decision tree showing various workflows triggered based on user selections. 
         FIG. 4D  shows a logic diagram relating workflows and toggling between workflows. 
         FIG. 5  is a flowchart showing a general transfer process 
         FIG. 6  is a flowchart showing a detailed view of a input process 
         FIG. 7  is a flowchart showing a detailed view of a output process 
         FIG. 8  is a flowchart showing a general view of a score analysis process 
         FIG. 9A  is a flowchart showing an input process. 
         FIG. 9B  is a flowchart showing an output process. 
         FIG. 9C  is a flowchart showing an input process connected with a terminal machine state. 
         FIG. 9D  is a flowchart showing an output process connected with a terminal machine state. 
         FIG. 9E  is a diagram showing a map comprising terminals near a customer&#39;s location. 
         FIG. 9F . shows an example distributed network terminal environment. 
         FIG. 9G  is a diagram illustrating an example GUI enabling terminal configuration. 
         FIG. 10  is a diagram showing a decentralized learning network. 
     
    
    
     DETAILED DESCRIPTION 
     Distributed terminal networks are becoming more prevalent. Accordingly, there is a growing need for efficient and secure distributed terminal systems, such as to protect against emerging security risks. 
     Acronyms 
     API—Application Programming Interface 
     CNN—Convolutional Neural Network 
     FL—Federated Learning 
     HTTP/HTTPS—Hyper Text Transfer Protocol/Hyper Text Transfer Protocol Secure 
     KYT—Know-Your-Transaction 
     ML—Machine Learning 
     P2P—Peer-to-Peer 
     POS—Point-of-Sale 
     REST—Representational State Transfer 
     TLS/SSL—Transport Layer Security/Secure Sockets Layer 
     VPC—Virtual Private Cloud 
     VPN—Virtual Private Network 
     Terminology 
     Application Programming Interface 
     API technologies provide routines, protocols, and tools for building software applications and specifies how software components should interact. 
     Cloud Computing 
     Cloud computing is a model that promotes ubiquitous, on-demand network access to shared computing. 
     Fog computing 
     Horizontal system level architecture that distributes computing, storage, control and networking functions closer to the users along a cloud-to-thing continuum. 
     Public Keys and Private Keys 
     Public and private keys are created in pairs for each entity involved in a transmission and encrypt and decrypt information during the initial part of the transmission so that only the sender and recipient of the transmission can decrypt and read the information. Public key is available to everyone while the private key is known only to the creator of the keys. 
     Point-of-Sale 
     A point-of-sale (POS) may be any interface, device, node, or location that allows for a transaction to occur. For example, a POS may be a device, such as a mobile phone, computer, ATM kiosk or terminal. 
     Infrastructure 
     In one embodiment, a cloud network of points-of-sale, nodes, devices, or terminals may be provided. Each POS may be capable of providing, interacting with, or transacting funds, such as fiat or cash, and virtual currency. 
     A virtual currency POS or terminal may be a hardware terminal that allows for the purchase, sale, or exchange of funds or fiat currency for cryptocurrency. An operator may purchase and/or provide POS or terminals at selected locations to allow customer access. The virtual currency POS may be additionally capable of transactions that do not require or use virtual currency. 
     In one embodiment, member POS or terminals in a cloud network may interact with software services provided by a vendor, for example. The terminals may include special software and/or hardware capabilities to allow interaction with the vendor services. Additionally, the POS or terminals may include special software and/or hardware capabilities to allow virtual currency transactions. 
     A POS or terminal may or may not be configured to possess a static IP address. A static IP address may be whitelisted, for example, by software services of the vendor to perform particular actions, make particular requests, etc. The vendor may partially, or entirely, block IP addresses that are not whitelisted, or known, etc. The vendor may provide full, limited, or restricted privileges to IP addresses that are whitelisted, or known, etc. In one example, SSH privileges for vendor servers and the like may be blocked or restricted for all IP addresses except a selected set of known IP addresses. 
     POS or terminal peripherals may be controlled, for example, via javascript using ActiveX controls, or using compiled code to transmit messages directly over serial hardware connections. 
     Software Services 
     Described in this disclosure are various software services. 
     A software service may be delivered, or provided by, a third party service, or vendor. The third party service, for example, may be a software service of a vendor. The software service may be hosted at a vendor-owned location, a third party location, or a proxy location, for example. 
     Software services may utilize any combination of the below components, for example. 
     Transport Layer Security/Secure Sockets Layer (TLS/SSL) 
     Transport Layer Security/Secure Sockets Layer (TLS/SSL) connections make use of public and private keys among parties when establishing a connection and secure almost all transmissions over the internet or computer networks, including emails, web browsing, logins, and financial transactions, ensuring that all data that passes between a web server and a browser remains private and secure. 
     X.509 certificates 
     X.509 certificates are digital certificates administered by certificate authorities that use the X.509 PKI standard to verify that a public key belongs to the user, computer, or service identity in the certificate and are used worldwide across public and private sectors. 
     X.509 attribute certificates 
     X.509 attribute certificates can encode attributes (such as name, date of birth, address, and unique identifier number), are attached cryptographically to the X.509 certificate, and are administered by attribute certificate authorities. 
     Hyper Text Transfer Protocol 
     It will be understood that the terms HTTP and HTTPS will be used interchangeably and that use of either term includes either alternative. 
     Representational State Transfer 
     Representational state transfer (REST) is a software architectural style that defines a set of constraints to be used for creating Web services. Web services that conform to the REST architectural style, called RESTful Web services, provide interoperability between computer systems on the Internet. 
     Virtual Private Networks 
     One element of a software service may be a Virtual Private Network (VPN). A VPN may establish a secure and private tunnel from a network, terminal, or device, for example to another network element such as a vendor service, for example. 
     Security Groups 
     One element of a software service may be a security group. A security group, rules may be defined that dictate the allowed inbound and/or outbound traffic to a server, for example. For example, a security rule may specify to allow SSH access, from a particular IP address, on a particular port or port range, and using a particular protocol, such as TCP. 
     Virtual Private Cloud 
     One element of a software service may be a Virtual Private Cloud (VPC). A VPC allows isolation of shared cloud resources, for example. In one method, private IP subnets may be assigned to a VPC user that is accompanied by a VPN function or access that secures, by means of authentication and encryption, the user&#39;s VPC resources. 
     Queues 
     One element of a software service may be a processing queue. For example, the queue may be processed in a first-in-first-out (FIFO) or last-in-first-out (LIFO) order. The queue may collect several processes to be carried out. 
     Server Architecture 
     A software service may be hosted on elastic server architecture, in one example. In an elastic architecture, computing resources may be automatically increased or decreased to meet computing needs. Computing thresholds may be preset or configured. When a threshold is exceeded for example, additional computing resources may be allocated. 
     Serverless Architecture 
     In another example, a software service may be hosted using serverless architecture. In a serverless architecture, computing resources are allocated as necessary on a per-request basis. After the request is processed, the computing resources are unallocated, or returned. 
     Data Structures 
     Various data structures may be used in conjunction with the software services. For example, various data structures may be used alone, or in combination, to store customer data/metadata, transaction data, etc. 
     Some example data structures include arrays, stacks, queues, linked lists, trees, graphs, tries, and hash tables. 
     Software Services 
     A third party vendor or provider may provide virtual currency processing software services. Software may be installed on terminals or via backend/cloud servers, or both. 
     Other Terminology 
     Herein a “plurality” refers to “one or more” of an element and does not impose any requirement for more than one element. 
     A virtual asset is a digital representation of value that can be digitally traded, or transferred, and can be used for payment or investment purposes. 
     It will be understood that cryptocurrency can refer to any virtual or digital currency/asset, and vice versa. Examples of virtual currencies include, but are not limited to, Bitcoin, Litecoin, Ethereum, and Bitcoin Cash, and Ripple. 
     Additionally, funds transfers between individuals or entities often rely on banks or agents as third parties to orchestrate the transfer. This requires the entities to hold accounts with the banks or otherwise do business with the agents. 
     Virtual currencies and/or cryptocurrencies have been introduced in recent years. One advantage of the use of virtual currency is that many third parties may be eliminated. This allows for elimination of some third party service fees, for example. 
     Virtual currency does not require a holding bank. Therefore, it is possible for a software provider to orchestrate the transfer of virtual currencies between two other parties via messaging instructions. Therefore, the software provider is not required to handle, possess, or act as the custodian of actual funds. 
     Various services may be pipelined, and executed in conjunction, in a non-blocking manner, for example. 
       FIG. 1  is a diagram of a general network environment that can be used with terminals or points-of-sale capable of virtual currency transactions. A terminal,  101   a  or  101   b , for example, may be in communication through a network  102  with a backend service,  103   a  or  103   b , hosted by a vendor, for example. The terminal may send requests  104  through the network  102  to the service  103   a  or  103   b . The service may determine a response  105  using information and data from a datastore  106 , for example. The response  105  may be sent to the terminal instructing certain actions, for example. The backend service may be in further communication with third party services,  107   a  or  107   b , for example. 
     The terminals or points-of-sale may be hardware terminals capable of any transaction. For example, the terminals may be one or a combination of, for example, ATMs, virtual currency ATMs such as Bitcoin ATMs, product terminals capable of vending or dispensing a product. In one example the product may be a  Cannabis  or  Cannabis -containing product, tobacco or tobacco-containing product. In some examples, the products may be regulated in some form. For example, the legal age of purchase of the product may be 18 years or greater in a sale location. In one example, a terminal may be a dispensing product that can accept cash or virtual currency for the purchase. 
       FIG. 2A  is a diagram of a general network environment that can be used with terminals or points-of-sale capable of virtual currency transactions serviced by a software service vendor. Various terminals ( 201   a ,  201   b ,  201   c ) may be operated or serviced by an operator  202 , for example. Various other terminals ( 203   a ,  203   b ,  203   c ) may be operated or serviced by another operator  204 , for example. The terminals may be in communication through a network with one or more software services provided by one or more vendors  205 , for example. The vendor may provide various software services ( 206   a - 206   g ). The software services may be hosted together, or separately, for example. The software services may reference or use data from one or more datastores ( 207   a - 207   d ), for example. 
       FIG. 2B . is a diagram of a network architecture environment that can be used with client nodes, terminals or points-of-sale capable of virtual currency transactions serviced by, for example, a software service vendor. 
     A client node, terminal, or point-of-sale  230  may access the software services of a vendor through a secure connection such as a VPN  232   a . The terminal/point-of-sale and the VPN may each possess a static IP address or a dynamic IP address. The software service assets may be secured, for example behind a firewall or within a VPC  233 . Connections to some or all of the services or microservices in the VPC may be configured to allow or disallow traffic from particular IP addresses or IP address ranges. For example, some services in the VPC may only allow inbound traffic from the IP address of the VPN service  232   a.    
     The software services may be core software services and may include any number of microservices ( 221   a - 221   d ). Services and microservices may be segregated on different servers or may be devised in a shared server tenancy architecture. Each service or microservice may be balanced between one or more servers ( 234   a - 234   d ) via a load balancer  235  and may access one or more corresponding databases  236 . Each service or microservice, for example  221   a , may also be in communication with other services or microservices, for example  221   b - 221   d , that are part of the system or VPC. Each service or microservice server may be devised in an elastic infrastructure with access to storage infrastructure such as database infrastructure  236 . For example, a service or microservice server resource may automatically scale up, or allocated, upon increased demand for server resources beyond a certain threshold. Similarly, for example, a service or microservice server resource may automatically scale down, or unallocated, upon decreased demand for server resources at a certain threshold. 
     The servers for services and microservices may be segregated, or allocated, into different availability zones or failover regions. 
     The software services may prepare and process requests and responses to and from third party services ( 237   a - 237   c ). 
     An administrator  231  may access the software services through a secure connection such as a VPN  232   b . The administrator machine(s) and the VPN may each possess a static IP address or a dynamic IP address. The software service assets may be secured, for example behind a firewall or within a VPC  233 . Connections to some or all of the services or microservices in the VPC may be configured to allow or disallow traffic from particular IP addresses or IP address ranges. For example, some services in the VPC may only allow inbound traffic from the IP address of the VPN service  232   b.    
       FIG. 2C  is a diagram of a network architecture environment that can be used with terminals, hardware terminals, kiosks, nodes, or clients, serviced by, for example, more than one software service vendor or provider. 
     In some embodiments, more than one software service or other service provider ( 241   a ,  241   b ) may provide software or other services to operators ( 243   a ,  243   b ) and terminals hosted or managed by those operators ( 244   a ,  244   b  hosted/managed by  243   a ; and  244   c ,  244   d  hosted/managed by  243   b ). Thus, a split multi-service and multi-hosting environment is devised. 
     It will be understood that more than two software service providers may provide services as above in other embodiments without departing from the scope of this disclosure. 
     The software service providers may provide different roles and/or services. Depending on the selection, action, or operation requested by a customer at a terminal, for example, a particular software service by a particular provider may be triggered, called, or summoned. For example, a particular type of operation or request at a terminal may be routed to a particular service provider. Thus, in some examples, a particular request or operation may make use of one service provider while another request or operation may make use of another service provider. For example, a customer may visit a terminal and request a virtual currency transaction, for which the associated requests/operations may be routed using a particular channel to a particular software service provider. The channel may be pre-configured via, for example, instructions included at the terminal in one or more files for handling virtual currency transaction requests/operations. One example channel may be a browser or application capable of sending/receiving HTTP/HTTPS requests/responses. It will be understood that any network connection or communication channel may be used to communicate with a software service provider. 
     Each software service provider may be contacted in one or more of various network methods. In one embodiment, a first software service provider is contacted using a network connection such as internet connections, ethernet network connections, wireless network connections such as satellite or cellular network connection using, for example, 3G/4G LTE data connections, or Wi-Fi connections. 
     Terminals ( 244   a - 244   d ) may then be outfitted with software or software portions as described herein, wherein the software or software portions orchestrate request routing to the appropriate software service provider to handle a particular type of request. 
     In one example embodiment, a first software service provider may be utilized to provide handling and/or processing of some or all of a virtual currency transaction. Similarly, a second software service provider may be utilized to provide handling and/or processing of some or all of a transaction that does not utilize virtual currency, such as an ATM cash deposit to, or withdrawal from, bank transaction, or a check deposit or cashing bank transaction. It will be understood that, in other embodiments, the first and second software service providers may be the same entity wherein different requests as above may be routed to different processing software portions of the same software service provider. 
     Continuing with the example embodiment above, a customer may visit a terminal  244   a  of a first operator  243   a , for example. The terminal may be a combination terminal as described herein, which is capable of providing ATM cash transactions, for example, that do not utilize virtual currency, and also capable of providing virtual currency transactions. As such, a customer may be presented with two options, for example, as two buttons in a GUI, for example. The two options may correspond to each of the two different types of transactions described above. Each option or button may trigger a different software portion to be executed. 
     In the above, ATM cash transactions, for example, may require the use of, or communication with, bank networks  245 . A software service provider may be an ATM host processor  241   b  that handles this communication with the bank networks  245  and/or the customer&#39;s associated bank account. For example, the software service provider, in this instance, may contact the customer&#39;s bank based on the customer&#39;s debit or EMV card. The software service provider may establish communication with the customer&#39;s bank to determine, for example, authentication factors, funds availability, etc. Based on messages received from the bank network and/or the customer&#39;s bank, a transaction may be authorized or not authorized. The software service provider, in this instance, may then deliver a message to the terminal communicating whether the transaction is, or is not, authorized, or possible based on funds, etc. In one example, communication with such a software service provider may be pre-configured or configured at a terminal by identifying an IP address of the software service provider. Network connection or communication with the software service provider then may be established, for example, using SSL and/or TLS connections. 
     Similarly, in the above, virtual currency transactions, for example, may not require the use of, or communication with, bank networks. Instead, a virtual currency transaction may require, for example, an communication with an API accessing and/or handling virtual currency wallet transactions  246 . In such a case, a software service provider  241   a  may provide such an access/handling service. 
     The software service provider  241   a  may, as described herein, perform security verification steps such as authentication, background checks, and AML/KYC checks. The software service provider may, as described herein, also determine funds availability in a customer&#39;s or operator&#39;s virtual currency wallet, for example. The software service provider, in this instance, may then deliver a message to the terminal communicating whether the transaction is, or is not, authorized, or possible based on funds, etc. 
     In some embodiments or cases, sufficient funds may not be available in a customer&#39;s or operator&#39;s virtual currency wallet, for example. In one example, if a customer has requested the purchase of a virtual currency or cryptocurrency in exchange for cash deposited, and funds are not available in a virtual currency wallet associated with the terminal or operator, a request may be made by the terminal, the operator, a software service provider, etc., to purchase cryptocurrency or virtual currency from an exchange to meet or fulfill the customer&#39;s request. The purchase may, for example, be used to replenish or fund the associated operator&#39;s virtual currency wallet for example. In another example, a purchase to meet or fulfill the customer&#39;s request may be executed from a third party, such as a liquidity provider that possesses cryptocurrency or virtual currency funds. In some embodiments, for any transaction, blockchain network confirmations, for example a selected number of confirmations, may be used to determine or verify that cryptocurrency funds are available in a virtual currency wallet such as one belonging to a user, customer, operator, software service provider, etc. In some embodiments, one or more redemption codes may be provided, on a receipt, for example, that may be used at a terminal to retrieve funds, for example cash funds. 
     In one example, communication with such a software service provider may be pre-configured or configured at a terminal by identifying an IP address or URL/API endpoint of the software service provider. Network connection or communication with the software service provider then may be established, for example, using SSL and/or TLS connections through a browser application on the terminal, for example. 
       FIG. 3  is a diagram illustrating an example embodiment of a hardware terminal point-of-sale used in  FIG. 1 . More specifically, a hardware terminal may include camera  301 , screen  302 , barcode or QR code reader  303 , keypad  304 , bill acceptor  305 , card reader  306 , and bill dispenser  307 . 
       FIG. 4A  is another diagram illustrating another example embodiment of a hardware terminal point-of-sale used in  FIG. 1 . More specifically, the hardware terminal may include one or more of each of a camera  401 , screen  402 , card reader  403 , keypad  404 , fingerprint reader  405 , bill dispenser  406 , card reader  407 , bill acceptor  408 , bill validator, electronic cash vault, thermal or other printer, processor, and a memory. 
     Each terminal may be capable of one-way exchange transactions between virtual currency and fiat currency, two-way exchange transactions between virtual currency and fiat currency, transactions utilizing virtual currency, fiat currency transactions, and/or transactions that do not utilize virtual currency. 
     For example, transactions that do not or need not utilize virtual currency may include check deposits, check cashing, cash withdrawal from bank accounts, cash deposit to bank accounts, domestic or international money transfers, bill payment, etc. 
     In the above examples, the memory, for example, may store at least one application, wherein the at least one application is an internet browser application, for example, and/or a set of one or more files. The set of one or more application files may include, for example,
         transaction processing instructions for processing virtual currency transactions, the transaction processing instructions comprising, at least instructions to determine or calculate transaction limits, parameters, and/or fees, and/or instructions to encode an output;   transaction processing instructions for processing fiat currency transactions or other transactions that do not utilize or require virtual currency, for example, the transaction processing instructions comprising, at least instructions to determine or calculate transaction limits, parameters, and/or fees, and/or instructions to encode an output;   image processing instructions for processing image data, the image processing instructions comprising, at least instructions to determine or calculate facial geometry parameters, and/or instructions to encode image or video data;   keypad entry processing instructions for processing keypad entry data;   barcode or QR code processing instructions for processing barcode or QR code entry data; and/or   fingerprint processing instructions for processing fingerprint entry data;       

     The above instructions carry out the processes that are described further herein. 
       FIG. 4B  is a diagram illustrating GUI options/selections on a multi-use terminal. 
     A terminal may display using, for example, a GUI or screen  411 , such as a touch screen as described herein, to display multiple options  412  and  413  to a user, visitor, or customer, for example. 
     The options  412  and  413 , for example, may trigger different functionalities of the terminal. The different functionalities may utilize different software, for example, or different parts of a software. 
     In one example, one option  412  may be for cash or fiat ATM transactions that do not utilize virtual currency. This may require communication with and/or the use of bank networks. 
     In another example, one option  413  may be for virtual currency transactions that utilize virtual currency. This may not require communication with and/or the use of bank networks. Instead, for example, this may be accomplished through communication with and/or use of virtual currency APIs and/or software services such as wallet APIs, for example. Therefore, different workflows may be triggered by the user selections. 
       FIG. 4C  is a decision tree showing various workflows triggered based on user selections. 
     As shown previously, a terminal may display  421  using, for example, a GUI or screen, such as a touch screen as described herein, to display multiple options and to a user, visitor, or customer, for example. 
     In one example, a user may select  422  for cash or fiat ATM transactions that do not utilize virtual currency. This may require communication with and/or the use of bank networks and trigger processes for doing so  423 . 
     In another example, a user may select  424  for virtual currency transactions that utilize virtual currency. This may not require communication with and/or the use of bank networks, and, instead, for example, this may be accomplished through communication with and/or use of virtual currency APIs and/or software services such as wallet APIs, for example, and trigger processes for doing so  423 . 
       FIG. 4D  shows a logic diagram relating workflows and toggling between workflows. 
     In one example, a user may select for cash or fiat ATM transactions that do not utilize virtual currency. This may require communication with and/or the use of bank networks and trigger processes for doing so, such as in the cash transaction process ( 431   a - 431   e ). 
     In another example, a user may select for virtual currency transactions that utilize virtual currency. This may not require communication with and/or the use of bank networks, and, instead, for example, this may be accomplished through communication with and/or use of virtual currency APIs and/or software services such as wallet APIs, such as in the virtual currency transaction process ( 432   a - 432   e ). 
     During any of the steps in the workflow process in  431   a - 431   e , a user may abort, switch, or toggle  431   f  to a different workflow process associated with a different option or terminal use. For example, a user may wish to switch at any point from a cash or fiat ATM transaction that does not utilize virtual currency to a transaction that does utilize a virtual currency. The user will then be exited from the workflow process for the cash transaction in  431   a - 431   e  and guided or forwarded to a virtual currency transaction workflow process ( 432   a - 432   e ). This will trigger the software functionality associated with virtual currency transactions. Similarly, at any point, a user may wish to abort, switch, or toggle  432   f  from the virtual currency transaction workflow to execute a cash or fiat ATM transaction that does not utilize virtual currency. The user will then be guided or forwarded to the cash transaction workflow process such as shown in  431   a - 431   e.    
     In one embodiment, when a cash ATM transaction is requested, bank networks need to be used. However, when a virtual currency transaction is requested, bank networks need not be used, or are not used. Instead, virtual currency transactions may use wallets and services to record and/or execute transactions using the blockchain and allowing the transfer of virtual currency. 
     Therefore, the virtual currency transactions can be accomplished using, for example, a browser interfacing with a software/web service provider. Since the ATM may include a browser application, the virtual currency transactions may be executed using the ATM&#39;s browser application and/or HTTP/HTTPS requests, prepared by the browser, for example. 
     Since the browser application may already be included with the ATM registered software, new software need not be registered again, which is a time-consuming process. Further, the software updates may be easily implemented and deployed to ATMs/terminals. Further still, this allows both the cash transaction and virtual transactions to leverage the same terminal/ATM peripherals. For example, receipts may be printed for either transaction type using the same printer, or cash may be dispensed for either transaction type using the same cash dispenser. 
     In one embodiment, cash or fiat ATM transactions that do not utilize virtual currency may be executed using a particular application, program, or portion of software, while virtual currency transactions utilize another particular application, program, or portion of software. These particular applications, programs, or portions of software may be independent, co-localized, and/or combined. Each application, program, or portion of software may, in one example, share the use of terminal or ATM peripherals, or hardware elements, such as cash dispensers, receipt printers, etc. 
     Thus, it is necessary that the particular application, program, or portion of software associated with the selected workflow or process control the hardware or peripherals during the period during which they are selected and/or in use. 
     In one embodiment, a terminal or device such as an ATM may be initialized to a default state. In one example the default state may be for performing cash or fiat ATM transactions that do not utilize virtual currency. Another example state may be for performing transactions that do utilize virtual currency. For the purposes of this example, the former can be referred to as an “ATM context” and the latter can be referred to as a “BTM context.” Therefore, the particular application, program, or portion of software associated with the ATM context will be delegated control, priority, primacy, or authority of the hardware and/or peripherals, and their events, in one default state example. 
     During the initialization then, communication between the particular application, program, or portion of software associated with the ATM context and the hardware and/or peripherals, and their events, may be established. During the initialization, communication between the particular application, program, or portion of software associated with the BTM context may also be established, but, for example, may defer authority to the particular application, program, or portion of software associated with the ATM context. That is, the BTM context may be subordinate to the ATM context. In another embodiment, communication between the particular application, program, or portion of software associated with the BTM context may not be established during initialization. 
     A listener may be used to determine when events occur at hardware and/or peripherals of the terminal. During an ATM context state, these events will be referred to and/or handled by the particular application, program, or portion of software associated with the ATM context. 
     Upon a user event, such as a selection on a touchscreen, to switch the use or option at the terminal, or a particular pre-defined event, such as the end of a cash or fiat transaction, the context of the terminal may be changed. For example, an ATM context may be changed to a BTM context, to permit virtual currency transaction functionalities. 
     Therefore, the particular application, program, or portion of software associated with the BTM context will be delegated control, priority, primacy, or authority of the hardware and/or peripherals, and their events. 
     Communication between the particular application, program, or portion of software associated with the BTM context and the hardware and/or peripherals, and their events, may also be established, if not already established during initialization. 
     A listener may be used to determine when events occur at hardware and/or peripherals of the terminal. During a BTM context state, these events will be referred to and/or handled by the particular application, program, or portion of software associated with the BTM context. 
       FIG. 5  is a flowchart showing a general funds transfer process using virtual currency. A user/customer visits a terminal and/or point of sale (POS) which received/accepts a deposit  501 . The POS may execute steps to confirm the deposit  502 . For example, the POS may count the funds that have been received and user selections providing specifics, configurations, and/or settings for the transaction. The settings may include, for example, user&#39;s phone number, recipient&#39;s phone number, amount of time to make the funds available to the recipient for withdrawal before expiration, etc. The user selections may be stored in a database, for example  503 . 
     Once the deposit is confirmed and completed, a hold period  504  may begin. The funds are kept in or at the POS and remain in possession of the POS operator. During the hold period, it may be the case that no withdrawal request is made before the expiration of  505 , for example, a user-selected expiration as set forth above. Alternatively, a withdrawal request may be received before the expiration  506 . The withdrawal request may be at any terminal and/or point-of-sale that is part of a system or network of terminals and/or points-of-sale, for example. Therefore, the withdrawal request may be made in any country. The country may be the same or different from the deposit POS country. 
     A withdrawal request triggers the funds transfer and disbursement processes. 
     The withdrawal terminal and/or POS and location will be identified  507 . For example, the country  516  of the withdrawal POS may be different from a country  517  of the deposit POS. Therefore, an exchange rate may be associated with the withdrawal POS that is different than an exchange rate associated with the deposit POS. 
     The withdrawal request may be authenticated  513 . For example, the withdrawing user may provide and confirm ownership of a phone number that is associated with a deposit. Upon authenticating a withdrawal request, available funds may be calculated and disbursed  514 . 
     Calculation of the disbursement funds may include several variables. For example, exchange rates at the originating country and resulting country may be taken into account. Additionally, service fees of the operators and vendors may be taken into account. 
     A funds transfer process may leverage or utilize a virtual currency. 
     An exchange rate at an originating country may be calculated along with operator and/or vendor fees  508 . The funds calculated may be exchanged for virtual currency in a virtual currency wallet  509 . The virtual currency wallet may be a wallet associated with the deposit POS or the operator of the deposit POS, for example. 
     The virtual currency may then be transferred to a virtual currency wallet associated with the target/withdrawal POS or operator of the withdrawal POS  510 . The transfer may occur across a country-line  515 , for example. 
     An exchange rate of the country of the withdrawal POS may be calculated along with operator and/or vendor fees  511 . 
     The virtual currency in the target virtual currency wallet may be exchanged for funds at the target POS  512 . 
     Example Embodiments 
     Various embodiments are described for example purposes. The embodiments, or elements of the embodiments, may be used or practiced in combination with one another. 
     Funds Deposit A customer may, for example, deposit U.S. dollars at a terminal in the United States in exchange for a cryptocurrency such as Bitcoin to be deposited into the customer&#39;s cryptocurrency wallet. 
     Funds Withdrawal 
     In another example, a customer may withdraw U.S. dollars at a terminal in the United States in exchange for a cryptocurrency such as Bitcoin to be withdrawn from the customer&#39;s cryptocurrency wallet. 
     Domestic Funds Transfer 
     In another example, a customer may wish to deposit U.S. dollars at a terminal in the United States to send funds to another customer at another terminal in another location in the United States for withdrawal. 
     A third party or provider may facilitate the transfer. The third party may be a software service, for example. 
     In one example, the third party may instruct to accept funds received at the deposit terminal. The third party or provider may then instruct the transfer of cryptocurrency from a virtual currency wallet associated with the deposit terminal to a virtual currency wallet associated with a withdrawal terminal. The third party or provider may then instruct the remittance of funds at the withdrawal terminal. 
     International Funds Transfer 
     In another example, a customer may wish to deposit U.S. dollars at a terminal in the United States to send funds to another customer in another location outside of the United States for withdrawal. 
     A third party or provider may facilitate the transfer. The third party may be a software service, for example. 
     In one example, the third party may instruct to accept funds received at the deposit terminal in, for example, the United States, where the funds are U.S. dollars. The third party or provider may then instruct the transfer of an amount of cryptocurrency based on the local exchange rate from a virtual currency wallet associated with the deposit terminal to a virtual currency wallet associated with a withdrawal terminal where the withdrawal terminal is in another country, for example, Mexico. The third party or provider may then instruct the remittance of funds at the withdrawal terminal based on the local exchange rate. 
     A customer may visit a terminal in one country. One embodiment of the deposit process is described further below. 
       FIG. 6  is a flowchart showing a detailed view of the deposit process. 
     During processing of a deposit at a POS, a customer/user may be authenticated  601 . For example, a user may provide/scan an ID document such as a driver&#39;s license, provide and verify a phone number/PIN, etc. A phone may be verified, for example, by a PIN sent to the phone number by SMS after the phone number is entered at a terminal, for example. The user may be prompted to enter/verify the phone number by entering the received PIN. 
     Other data or metadata may be gathered and used for verification/authentication  602 , such as biometric verification. For example, a camera at a terminal or POS may provide image or video data of the user&#39;s face. This may trigger a facial recognition process, a KYC/AML (Know Your Customer/Anti-Money Laundering) process, and/or a trust/risk analysis process  607 . These processes may be carried out in conjunction in a non-blocking manner, or sequentially. These processes may be executed at the POS, at a proxy, and/or as a backend process. These processes may be provided by the vendor, operator, and/or a third party, and in any combination thereof. 
     The customer/user may make various selections  603  associated with a deposit providing specifics, configurations, and/or settings for the transaction. The settings may include, for example, user&#39;s phone number, recipient&#39;s phone number, creation of a redemption code, amount of time to make the funds available to the recipient for withdrawal before expiration, etc. 
     The customer/user may then deposit funds at the terminal or POS  604 . The POS may execute steps to confirm the deposit is complete  605 . For example, the POS may count the funds that have been received and user selections providing specifics, configurations, and/or settings for the transaction. 
     After the deposit is completed, the POS may provide a receipt and/or notification  606 . Once the deposit is confirmed and completed, the funds are kept in or at the POS and remain in possession of the POS operator. After the expiration of the holding period, the funds may begin to incur holding fees, for example. 
       FIG. 7  is a flowchart showing a detailed view of the withdrawal process. 
     A withdrawal request may be received during a hold period. The withdrawal request may be at any terminal and/or point-of-sale that is part of a system or network of terminals and/or points-of-sale, for example. Therefore, the withdrawal request may be made in any country. The country may be the same or different from the deposit POS country. 
     In one embodiment, the customer may deposit virtual currency to the vendor and the funds are converted to funds during the holding period to avoid or minimize realization of exchange rate fluctuations or volatility. 
     In another embodiment, the customer may deposit virtual currency to the vendor and the funds are not converted to funds during the holding period. 
     A withdrawal request triggers the funds transfer and disbursement processes. 
     The withdrawal terminal and/or POS and location will be identified as set forth above. The withdrawal request may be authenticated as set forth above. For example, the withdrawing user may provide and confirm ownership of a phone number that is associated with a deposit. The customer may be identified  701  and a withdrawal request may be sent to a vendor  702 . The request may include specifications associated with the customer, etc.  703 . 
     Other data or metadata may be gathered and used for verification/authentication, such as biometric verification. For example, a camera at a terminal or POS may provide image or video data of the withdrawing user&#39;s face. This may trigger a facial recognition process, a KYC/AML (Know Your Customer/Anti-Money Laundering) process, and/or a trust/risk analysis process. These processes may be carried out in conjunction in a non-blocking manner, or sequentially. These processes may be executed at the POS, at a proxy, and/or as a backend process. These processes may be provided by the vendor, operator, and/or a third party, and in any combination thereof. 
     If the specifications and withdrawal are not cleared during a decision process by the vendor service  704 , for example, the withdrawal may be denied  710 . 
     If the specifications and withdrawal are cleared during a decision process by the vendor service  704 , for example, the withdrawal may be permitted, and a virtual currency exchange process ( 709 ,  711 ) may be initiated, and a funds disbursement process ( 705 ,  706 ,  707 ,  708 ) may be initiated. 
     Upon authentication or permission of a withdrawal request, funds may be calculated and disbursed. A withdrawal limit may be determined  705  based on factors such as the amount deposited, operator and vendor fees  706 , exchange rate parameters  706 , etc. A response from the vendor service may be sent to the operator  707  including, for example, the calculation of limits of funds allowed for withdrawal. In response, the terminal or POS may permit a withdrawal  708 . 
     Trust/Risk Analysis Service 
     A trust and/or risk analysis may be carried out, optionally, for example, for the authentication/verification of a depositing or withdrawing user. The analysis may be carried out in parallel with the customer&#39;s deposit, or may be carried out before allowing a particular step of the customer&#39;s deposit to be completed, for example. For example, the analysis may be required to be completed before accepting funds or a deposit from the user. Alternatively, for example, funds or a deposit may be accepted while the analysis is performed. 
     In another example, a trust and/or risk analysis may be carried out in parallel with a customer&#39;s withdrawal, or may be carried out before allowing a particular step of the customer&#39;s withdrawal to be completed, for example. For example, the analysis may be required to be completed before dispensing funds or funds to the user. Alternatively, for example, funds or funds may be dispensed while the analysis is performed. 
     In one example, the data and metadata for trust/risk analysis processing may be delivered to a third party service provider, or vendor. The third party service, for example, may be a software service of a vendor, as set forth above. The software service may be hosted at a vendor-owned location, a third party location, or a proxy location, for example. The data and/or metadata may be sent to a processing queue of the software service. For example, the queue may be processed in a first-in-first-out (FIFO) or last-in-first-out (LIFO) order. The queue may collect several processes to be carried out. The processes may, for example, be similar trust/risk analysis processes from various POS locations, or different processes. 
     The service may be hosted on elastic server architecture, in one example, as set forth above. In another example, the service may be hosted using serverless architecture, as set forth above. 
     Various actions may be taken in response to the outcome of the analysis. 
     One advantage of the use of cryptocurrency is the ability to eliminate third parties or additional parties. However, one disadvantage associated with this is that cryptocurrency transactions by bad actors are more easily enabled. It is useful and necessary then to establish whether a user is trustworthy. 
     A trust score may be computed, established, stored, and/or updated for a user. The trust score may be used to increase or decrease, for example, user capabilities or privileges at a point of sale node or terminal. For example, in one embodiment, a trust score exceeding a threshold score may allow or unlock for the user a higher transaction limit privilege. 
     In one embodiment, when a trust score does not exceed a certain minimum threshold, additional actions or inputs may be required of a user at a point of sale node or terminal. For example, a user may be required or requested to provide additional identification, scan an ATM card, or provide a biometric input if a trust score does not exceed a certain minimum threshold. It will be recognized that any input or requirement that can affect a trust score may be required or requested. 
     In one embodiment, when a trust score does not exceed a certain minimum threshold, a user transaction or other request may be denied. 
     A trust score may incorporate, or take into account, any number of factors, wherein each factor may be assigned a weight. A weighted factor, for example the product of a factor and a respective weight, may provide a trust factor. A trust score may be a sum of various trust factors. It will be understood that any of a trust score, factor, or weight, may be positive, zero, or negative. 
     One factor may be a facial verification or recognition factor. 
     In one embodiment, a user&#39;s facial image data or video data, for example, may be gathered at a point of sale node or terminal, or any other computing device, such as a user&#39;s mobile device. One or more parameters of the image or video data may be stored. The entire image or video data may be stored. 
     In one embodiment, facial recognition may be performed based on a video sequence or one or more video frames of a user&#39;s face gathered at a node or terminal, or any other computing device, such as a user&#39;s mobile device, for example. 
     In one embodiment, facial recognition may be performed based on an image of a user&#39;s face gathered at a node or terminal, or any other computing device, such as a user&#39;s mobile device, for example. 
     The facial data may be processed on the client side at the node or terminal, at a proxy, on the server side, or any combination of such locations thereof, wherein various steps or portions of processing may be performed at each location. 
     Facial verification or recognition 
     It will be understood that any facial recognition algorithm, or combinations or hybrids thereof, might be used. 
     In one embodiment, a facial verification method may be used to compare a user&#39;s face with one or more datasets. A dataset may be, for example, a training dataset, a model dataset, a stored dataset of previous or known users, or a stored criminal or blacklist dataset. 
     One or more datasets may be selected as training datasets and/or models and one or more cost functions may be defined. In one example, a cost function may be a Kullback-Leibler divergence, or difference, from a selected dataset or model. An optimization problem may be defined. 
     One factor may be a user geolocation factor. 
     A geolocation factor may be gathered as associated with a user. In one example, a user may share a mobile device geolocation with a service. A request for geolocation may be sent to a user mobile device, for example. 
     In one embodiment, a user geolocation may be compared with a point of sale location. A factor may be determined based on the proximity of the two geolocations. 
     One factor may be a point of sale geolocation factor. 
     A geolocation factor may be gathered as associated with a point of sale. In one example, an IP address that is connected with, or used by, a point of sale may be associated with a geolocation. 
     In one embodiment, a point of sale geolocation may be compared with a user geolocation. A factor may be determined based on the proximity of the two geolocations. 
     One factor may be an ATM card verification factor. 
     An ATM card may be issued to a user of a cryptocurrency terminal. The card may include a chip, barcode, account number, and/or magnetic strip. The ATM card may be read by a cryptocurrency terminal for verification. A factor may be associated with a ATM-verified user. 
     One factor may be an age of account factor. 
     An account age may be determined. For example, a creation may be determined. A factor may be associated with the account age. 
     One factor may be a previous incident factor. 
     A list of incidents may be associated with an account and stored. An incident may be a suspicious event that has been flagged. For example, an incident may include exceeding a threshold number of failed logins within a certain window of time, of a time period of a predefined length. 
     A factor may be associated with each incident. Alternatively, a factor may be associated with a threshold number of incidents. 
     One factor may be a metadata factor. 
     One factor may be a PIN verification factor. 
     One factor may be a mobile device PIN verification factor. 
     One factor may be a biometric factor, such as a fingerprint, finger scan, or palm scan. 
     One factor may be a distance from a last transaction location probability factor. 
     One factor may be a credit card verification factor. 
     One factor may be an ID card verification factor. 
     One factor may be a QR code verification factor. 
     One factor may be a mobile device bluetooth verification factor. 
     One factor may be a security pattern verification factor. 
     One factor may be a geographic criminal activity factor. 
     One factor may be a transaction anomaly factor. 
     Transaction data for a user or group of users may produce a probability distribution. For example, transaction amounts may follow a normal, or Gaussian, distribution for a particular location, or across many locations, wherein a particular mean transaction amount is determined. 
     Thus, a transaction amount may deviate from a mean by some portion or multiple of a standard deviation. Larger deviations may be more anomalous then. 
     In one embodiment, a larger standard deviation may be associated with a particular factor, which may be a negative factor. Addition of a negative factor in a trust score may penalize the trust score. 
     One factor may be a transaction location anomaly factor. 
     Transaction location data for a user or group of users may produce a probability distribution. For example, transaction locations may follow a normal, or Gaussian, distribution for a particular location, or across many locations, wherein a particular mean transaction location is determined. 
     Thus, a transaction location may deviate from a mean by some portion or multiple of a standard deviation. Larger deviations may be more anomalous then. 
     In one embodiment, a larger standard deviation may be associated with a particular factor, which may be a negative factor. Addition of a negative factor in a trust score may penalize the trust score. 
     Calculation of Trust Score or Risk Score Thus, a trust score may be calculated by including one or more weighted factors. In one example, a trust score (TS) based on a factor (f 1 ) at a weight (w 1 ), and a factor (f 2 ) at a weight (w 2 ): 
     
       
      
       TS=w 
       1 
       f 
       1 
       +w 
       2 
       f 
       2  
      
     
     Thus, for many (x) factors, a trust score may be calculated: 
     
       
         
           
             TS 
             = 
             
               
                 
                   w 
                   1 
                 
                  
                 
                   f 
                   1 
                 
               
               + 
               
                 
                   w 
                   2 
                 
                  
                 
                   f 
                   2 
                 
                  
                 
                   
                     … 
                      
                     w 
                   
                   x 
                 
                  
                 
                   f 
                   x 
                 
               
             
           
         
       
       
         
           or 
         
       
       
         
           
             TS 
             = 
             
               
                 ∑ 
                 1 
                 x 
               
                
               
                   
               
                
               
                 
                   w 
                   x 
                 
                  
                 
                   f 
                   x 
                 
               
             
           
         
       
     
     Trust Score Distribution 
     Trust scores amongst a certain set, subset, portion, or group of users may form a probability distribution. For example, trust scores may follow a normal, or Gaussian, distribution for a group of users, wherein a particular mean trust score is determined. 
     Thus, a user&#39;s computed or determined trust score may deviate from a mean by some portion or multiple of a standard deviation. Larger deviations may be more anomalous then. 
     In one embodiment, a larger standard deviation may be associated with a less trustworthy user. A threshold standard deviation or portion of a standard deviation may be defined. A comparison or relationship between a user&#39;s trust score and a threshold standard deviation from a mean trust score may be established. User privileges at a point of sale, or in or for a user account, may be determined according to whether the user&#39;s trust score exceeds the threshold. 
     Updating for Trust or Risk 
     It will be understood that information or metadata about users may increase over time. For example, a new user may complete a cryptocurrency transaction with certain characteristics such as location, time, transaction amount, etc., and, over time, that user will complete additional transactions with their own characteristics—some characteristics may be the same, or similar, to those characteristics of the earlier transactions. These transaction data or characteristics may be stored. 
     Thus, the information or metadata surrounding the user increases over time as additional data surrounding transactions are aggregated. 
     A running, or aggregate, trust score may be associated with a user. Thus, a prior, or posterior, trust score may exist for a user prior to a transaction. After a transaction the prior trust score may be updated. 
       FIG. 8  is a flowchart showing a general view of a risk analysis process. 
     A user may initiate a transaction request  801 . Upon doing so, a user may provide, or be prompted to provide credentials for a virtual currency wallet  802 . For example, a user may enter a wallet address manually, or scan a barcode, QR code, or other address representation at a point of sale. The point of sale may be a terminal, for example. After the user provides the address, the terminal may wait for a response  803  from a vendor or third party service. The service may be a risk analysis service, for example, that provides a risk score for a given address. After the risk score is received  804 , the terminal may allow the transaction to proceed or move forward  805 . 
     After the user enters a wallet address, the address and/or user data may be forwarded a vendor or third party service  806 . As set forth above, the service may be a risk analysis service, for example, that provides a risk score for a given address. The service may perform a risk analysis  807  and calculate a risk score  808 . The risk score may be provided, in response, back to the point of sale. 
       FIG. 9A  is a flowchart showing a customer funds deposit process. 
     A customer may visit a point of sale  901 , which may be, for example, a hardware terminal such as an automated teller machine capable of one or both of cash and virtual currency transactions. The point of sale may display selection options such as “Deposit” and “Withdrawal”, current prices of various virtual currencies and/or customer selections such as transaction ranges  902 . For example, ranges for a cash to virtual currency (such as Bitcoin, for example) deposit transactions may be displayed. In one example, a range of $0-$500 may be displayed, wherein a user can opt to deposit up to $500 cash into a virtual currency wallet. The customer may select a range  903 . The customer may be prompted to enter a phone number, for example his/her mobile phone number  904 . 
     A determination may be made as to whether the phone number entered is associated with an existing account or known user  905 . For example, a database may be queried for the entered phone number. If no account is found, a user may be prompted to create an account  906 . If an account is found, an SMS verification code may be sent to the entered phone number  907 . In another embodiment, the SMS code may be sent before the database is queried. After the user entered the SMS code, if the entered code matches the code that was sent, the transaction may be allowed to continue. If the entered code does not match, the transaction may be denied, for example. The user may be allowed to request a new code. The requests may be limited, for example, to  5  attempts before the account is locked. 
     Once an account is identified, a KYC/AML (“know-your-customer” or “anti-money laundering”) verification analysis may be performed  908 . In one example, a user account may include any combination of identification document data such as an associated name, date of birth, address, social security number, driver&#39;s license number, passport number, and/or any other data from an identification document associated with the account. 
     The data may be forwarded, by a core service provider or vendor, to a service provider. The service provider may be a software service provider that may be a third party software service provider. 
     For example, data may be forwarded from the core service provider or vendor to a third party software service provider in the form of an HTTP request to an API endpoint, for example, a URL, of the third party software service provider, and responses may be returned. HTTP methods used may include, for example GET, HEAD, POST, PUT, PATCH, DELETE, CONNECT, OPTIONS and TRACE. The HTTP requests and/or responses may include application/json content type, wherein data may be JSON encoded data. Additionally HTTP status codes may be used to indicate success and failure. 
     An HTTP request to an API endpoint may require authentication. For example, the API may conform to a Representational State Transfer (REST) style. For example, an API key, token, access key, and/or secret key may be provided by the third party software service to the core service provider or vendor. Keys may be included in HTTP headers, for example, for every HTTP request. Keys may be in the form of a string, such as a base64 encoded string, for example. Similarly, a timestamp may be included in HTTP headers for HTTP requests to an API endpoint. A Hash-based Message Authentication Code may be computed using a hash function, for example, a SHA256 hash function. 
     An HTTP request to an API endpoint may include a payload. The request and payload may be formatted as any HTTP request. For example, a request may be made using various programming languages or combinations of programming languages, such as CURL, Ruby, Python, Node, PHP, Java, and/or JSON. 
     The payload may include any combination of identification document data such as an associated name, date of birth, address, social security number, driver&#39;s license number, passport number, and/or any other data from an identification document associated with the account. The payload may be formatted in HTML, XML, JSON, or another format. 
     The service provider may return, to the core service provider or vendor, a result that may include one or more flags, states, parameters, metrics, or scores associated with the account. For example, 0, 1, or 2 may be returned to indicate no match, partial match, or match. The result may be stored in association with the account, and the date and/or time of the request and/or retrieval of the result may be also stored. The result may include a payload formatted in HTML, XML, JSON, or another format. 
     As an example a JSON response payload can include elements such as whether an ID element, such as address, name, and/or date of birth are verified, partially verified, or not verified, and/or elements such as associated risk scores calculated for each element, or a combination of elements: 
     For example, such a payload could include: 
     
       
         
           
               
               
               
             
               
                   
                   
               
             
            
               
                   
                   
                 { 
               
               
                   
                   
                  “address”: “1”, 
               
               
                   
                   
                  “address_risk”: “high”, 
               
               
                   
                   
                  “identification”: “0”, 
               
               
                   
                   
                  “date_of_birth”: “2” 
               
               
                   
                   
                 } 
               
               
                   
                   
               
            
           
         
       
     
     In one example, a request for a verification may be made to a third party service provider, wherein a verification or risk score is based on the specifics of fund contributors to a queried address. A risk score may be, for example, a numeral ranging from 0 to 10, wherein 0 or 1 correspond to little, low, or no risk, and 9 or 10 correspond to high risk. In another example, a risk score may be a floating point value such as 0.001 or 4.58. 
     In another example, a request for a risk score may be made to a third party service provider, wherein the risk score is based on the specifics of recipients of funds from a queried address. 
     In another embodiment, it may be determined, by a core service provider or vendor, that a risk analysis has been performed on the account within a certain timeframe. For example, it may be determined that a risk analysis has been performed within the last week. Based on such a determination, the request to the service provider may be skipped. For example, if a risk analysis for the account was requested within the previous week and the associated account was cleared, trusted, and/or otherwise determined to be low risk, based on a query of the aforementioned stored results and/or date/time, then a risk analysis may be skipped. 
     After the phone number is verified, the customer may be allowed to select a virtual currency from a set of virtual currency  909 . For example, the customer may select “Bitcoin” from a set comprising “Bitcoin”, “Litecoin”, “Ethereum”, etc. 
     After selection, a virtual currency wallet address may be gathered  910 . For example, a user may scan a QR code for a virtual currency wallet shown on a mobile device. In other examples, a user may manually enter a virtual currency wallet address, or a virtual currency wallet address may be created. 
     The virtual currency wallet address may be used to perform a risk analysis  911 . 
     A KYC/AML (“know-your-customer” or “anti-money laundering”) verification analysis may also be performed  908 . In one example, a user account may include any combination of identification document data such as an associated name, date of birth, address, social security number, driver&#39;s license number, passport number, and/or any other data from an identification document associated with the account. 
     The data may be forwarded, by a core service provider or vendor, to a service provider. The service provider may be a software service provider that may be a third party software service provider. 
     For example, data may be forwarded from the core service provider or vendor to a third party software service provider in the form of an HTTP request to an API endpoint, for example, a URL, of the third party software service provider, and responses may be returned. HTTP methods used may include, for example GET, HEAD, POST, PUT, PATCH, DELETE, CONNECT, OPTIONS and TRACE. The HTTP requests and/or responses may include application/json content type, wherein data may be JSON encoded data. Additionally HTTP status codes may be used to indicate success and failure. 
     An HTTP request to an API endpoint may require authentication. For example, the API may conform to a Representational State Transfer (REST) style. For example, an API key, token, access key, and/or secret key may be provided by the third party software service to the core service provider or vendor. Keys may be included in HTTP headers, for example, for every HTTP request. Keys may be in the form of a string, such as a base64 encoded string, for example. Similarly, a timestamp may be included in HTTP headers for HTTP requests to an API endpoint. A Hash-based Message Authentication Code may be computed using a hash function, for example, a SHA256 hash function. 
     An HTTP request to an API endpoint may include a payload. The request and payload may be formatted as any HTTP request. For example, a request may be made using various programming languages or combinations of programming languages, such as CURL, Ruby, Python, Node, PHP, Java, and/or JSON. 
     The payload may include elements such as a type of analysis performed, an asset type, an address or transaction hash, a type of analysis, and a customer reference or ID. 
     As an example a JSON request payload can include: 
     
       
         
           
               
               
               
             
               
                   
                   
               
             
            
               
                   
                   
                 { 
               
               
                   
                   
                  “type”: “transaction”, 
               
               
                   
                   
                  “asset”: “LTC”, 
               
               
                   
                   
                  “hash”: “dvf35gh......ebrvryh6”, 
               
               
                   
                   
                  “address”: “khbKJB98y.......jbaAYGAB83”, 
               
               
                   
                   
                  “type”: “source”, 
               
               
                   
                   
                  “customer_id”: “3234” 
               
               
                   
                   
                 } 
               
               
                   
                   
               
            
           
         
       
     
     The service provider may return, to the core service provider or vendor, a result that may include one or more flags, states, parameters, metrics, or scores associated with the account. The result may be stored in association with the account, and the date and/or time of the request and/or retrieval of the result may be also stored. 
     As an example JSON response payload can include: 
     
       
         
           
               
               
               
             
               
                   
                   
               
             
            
               
                   
                   
                 { 
               
               
                   
                   
                  “id”: 4542, 
               
               
                   
                   
                  “date”: “2018-05-04”, 
               
               
                   
                   
                  “risk_score”: “10.54” 
               
               
                   
                   
                 } 
               
               
                   
                   
               
            
           
         
       
     
     In one example, a request for a verification may be made to a third party service provider, wherein a verification or risk score is based on the specifics of fund contributors to a queried address. A risk score may be, for example, a numeral ranging from 0 to 10, wherein 0 or 1 correspond to little, low, or no risk, and 9 or 10 correspond to high risk. 
     In another example, a risk score may be a floating point value such as 0.001 or 4.58. 
     In another example, a request for a risk score may be made to a third party service provider, wherein the risk score is based on the specifics of recipients of funds from a queried address. 
       FIG. 9B  is a flowchart showing a customer funds withdrawal process. 
     A customer may visit a point of sale  921 , which may be, for example, a hardware terminal such as an automated teller machine capable of one or both of cash and virtual currency transactions. The point of sale may display selection options such as “Deposit” and “Withdrawal”, current prices of various virtual currencies and/or customer selections such as transaction ranges  922 . The customer may select “Withdrawal”  923 . The customer may be prompted to enter a phone number, for example his/her mobile phone number  924 . 
     A determination may be made as to whether the phone number entered is associated with an existing account or known user  925 . For example, a database may be queried for the entered phone number. If no account is found, a user may be prompted to create an account  926 . If an account is found, an SMS verification code may be sent to the entered phone number  927 . In another embodiment, the SMS code may be sent before the database is queried. After the user entered the SMS code, if the entered code matches the code that was sent, the transaction may be allowed to continue. If the entered code does not match, the transaction may be denied, for example. The user may be allowed to request a new code. The requests may be limited, for example, to  5  attempts before the account is locked. 
     Once an account is identified, a KYC/AML (“know-your-customer” or “anti-money laundering”) verification analysis may be performed  928 . In one example, a user account may include any combination of identification document data such as an associated name, date of birth, address, social security number, driver&#39;s license number, passport number, and/or any other data from an identification document associated with the account. 
     The data may be forwarded, by a core service provider or vendor, to a service provider. The service provider may be a software service provider that may be a third party software service provider. 
     For example, data may be forwarded from the core service provider or vendor to a third party software service provider in the form of an HTTP request to an API endpoint, for example, a URL, of the third party software service provider, and responses may be returned. HTTP methods used may include, for example GET, HEAD, POST, PUT, PATCH, DELETE, CONNECT, OPTIONS and TRACE. The HTTP requests and/or responses may include application/json content type, wherein data may be JSON encoded data. Additionally HTTP status codes may be used to indicate success and failure. 
     An HTTP request to an API endpoint may require authentication. For example, the API may conform to a Representational State Transfer (REST) style. For example, an API key, token, access key, and/or secret key may be provided by the third party software service to the core service provider or vendor. Keys may be included in HTTP headers, for example, for every HTTP request. Keys may be in the form of a string, such as a base64 encoded string, for example. Similarly, a timestamp may be included in HTTP headers for HTTP requests to an API endpoint. A Hash-based Message Authentication Code may be computed using a hash function, for example, a SHA256 hash function. 
     An HTTP request to an API endpoint may include a payload. The request and payload may be formatted as any HTTP request. For example, a request may be made using various programming languages or combinations of programming languages, such as CURL, Ruby, Python, Node, PHP, Java, and/or JSON. 
     The payload may include any combination of identification document data such as an associated name, date of birth, address, social security number, driver&#39;s license number, passport number, and/or any other data from an identification document associated with the account. 
     The service provider may return, to the core service provider or vendor, a result that may include one or more flags, states, parameters, metrics, or scores associated with the account. For example, 0, 1, or 2 may be returned to indicate no match, partial match, or match. The result may be stored in association with the account, and the date and/or time of the request and/or retrieval of the result may be also stored. The result may include a payload formatted in HTML, XML, JSON, or another format. 
     For example, such a payload could include: 
     
       
         
           
               
             
               
                   
               
             
            
               
                 { 
               
               
                  “address”: “1”, 
               
               
                  “address_risk”: “high”, 
               
               
                  “identification”: “0”, 
               
               
                  “date_of_birth”: “2” 
               
               
                 } 
               
               
                   
               
            
           
         
       
     
     In one example, a request for a verification may be made to a third party service provider, wherein a verification or risk score is based on the specifics of fund contributors to a queried address. A risk score may be, for example, a numeral ranging from 0 to 10, wherein 0 or 1 correspond to little, low, or no risk, and 9 or 10 correspond to high risk. In another example, a risk score may be a floating point value such as 0.001 or 4.58. 
     In another example, a request for a risk score may be made to a third party service provider, wherein the risk score is based on the specifics of recipients of funds from a queried address. 
     In another embodiment, it may be determined, by a core service provider or vendor, that a risk analysis has been performed on the account within a certain timeframe. For example, it may be determined that a risk analysis has been performed within the last week. Based on such a determination, the request to the service provider may be skipped. For example, if a risk analysis for the account was requested within the previous week and the associated account was cleared, trusted, and/or otherwise determined to be low risk, based on a query of the aforementioned stored results and/or date/time, then a risk analysis may be skipped. 
     After the phone number is verified, the customer may be allowed to select a virtual currency from a set of virtual currency  929 . For example, the customer may select “Bitcoin” from a set comprising “Bitcoin”, “Litecoin”, “Ethereum”, etc. 
     For example, ranges for a cash to virtual currency (such as Bitcoin, for example) withdrawal transactions may be displayed. The customer may select a range  930 . In one example, a range of $0-$50 may be displayed, wherein a user can opt to withdraw up to $50 cash from a virtual currency wallet. 
     After selection, a virtual currency wallet address may be displayed, for example as a QR code  931 . The wallet address may represent a wallet address associated with the operator of the point of sale. A user may scan the QR code for the virtual currency wallet shown  932  to send funds from his/her virtual currency wallet. Once the funds have been sent to the operator or point of sale virtual currency wallet, corresponding cash funds may be dispensed  933 . The cash funds may calculated be less any fees, for example. 
     The virtual currency wallet transaction or sender address may be used to perform a KYC/AML (“know-your-customer” or “anti-money laundering”) risk analysis  934 . 
     The data may be forwarded, by a core service provider or vendor, to a service provider. The service provider may be a software service provider that may be a third party software service provider. 
     For example, data may be forwarded from the core service provider or vendor to a third party software service provider in the form of an HTTP request to an API endpoint, for example, a URL, of the third party software service provider, and responses may be returned. HTTP methods used may include, for example GET, HEAD, POST, PUT, PATCH, DELETE, CONNECT, OPTIONS and TRACE. The HTTP requests and/or responses may include application/json content type, wherein data may be JSON encoded data. Additionally HTTP status codes may be used to indicate success and failure. 
     An HTTP request to an API endpoint may require authentication. For example, the API may conform to a Representational State Transfer (REST) style. For example, an API key, token, access key, and/or secret key may be provided by the third party software service to the core service provider or vendor. Keys may be included in HTTP headers, for example, for every HTTP request. Keys may be in the form of a string, such as a base64 encoded string, for example. Similarly, a timestamp may be included in HTTP headers for HTTP requests to an API endpoint. A Hash-based Message Authentication Code may be computed using a hash function, for example, a SHA256 hash function. 
     An HTTP request to an API endpoint may include a payload. The request and payload may be formatted as any HTTP request. For example, a request may be made using various programming languages or combinations of programming languages, such as CURL, Ruby, Python, Node, PHP, Java, and/or JSON. 
     The payload may include elements such as a type of analysis performed, an asset type, an address or transaction hash, a type of analysis, and a customer reference or ID. 
     As an example a JSON request payload can include: 
     
       
         
           
               
               
               
             
               
                   
                   
               
             
            
               
                   
                   
                 { 
               
               
                   
                   
                  “type”: “transaction”, 
               
               
                   
                   
                  “asset”: “LTC”, 
               
               
                   
                   
                  “hash”: “dvf35gh.....ebrvryh6”, 
               
               
                   
                   
                  “address”: “khbKJB98y.......baAYGAB83”, 
               
               
                   
                   
                  “type”: “source”, 
               
               
                   
                   
                  “customer_id”: “3234” 
               
               
                   
                   
                 } 
               
               
                   
                   
               
            
           
         
       
     
     The service provider may return, to the core service provider or vendor, a result that may include one or more flags, states, parameters, metrics, or scores associated with the account. The result may be stored in association with the account, and the date and/or time of the request and/or retrieval of the result may be also stored. 
     As an example JSON response payload can include: 
     
       
         
           
               
               
               
             
               
                   
                   
               
             
            
               
                   
                   
                 { 
               
               
                   
                   
                  “id”: 4542, 
               
               
                   
                   
                  “date”: “2018-05-04”, 
               
               
                   
                   
                  “risk_score”: “10.54” 
               
               
                   
                   
                 } 
               
               
                   
                   
               
            
           
         
       
     
     In one example, a request for a verification may be made to a third party service provider, wherein a verification or risk score is based on the specifics of fund contributors to a queried address. A risk score may be, for example, a numeral ranging from 0 to 10, wherein 0 or 1 correspond to little, low, or no risk, and 9 or 10 correspond to high risk. 
     In another example, a risk score may be a floating point value such as 0.001 or 4.58. 
     In another example, a request for a risk score may be made to a third party service provider, wherein the risk score is based on the specifics of recipients of funds from a queried address. 
     The virtual currency wallet address and transaction details may be stored by a software service provider. In one example, this risk analysis may be performed after the withdrawal. In one example, if the account is deemed high risk, the account may be flagged or placed in a “hold” or “pending approval” state, or similar. 
     Customer Transaction/Request Interview 
     In one embodiment, a progressive, interactive interview is presented to the customer via a terminal or point of sale display, using, for example, a series of one or more graphical user interfaces (GUIs) in a browser element. 
     During the presentation of the GUIs in the interview, data may be stored at the terminal or point of sale, at least temporarily reflecting customer selections. In one example, cookies may be stored in association with the customer/transaction in a user session, using, for example, JavaScript. 
     The cookies may then be utilized to prepare or produce a payload for transmission, for example, a JSON encoded data element. In another embodiment, such a payload/JSON encoded data element may be prepared without the use of cookies. 
     The JSON encoded data element may comprise multiple elements reflecting the customer selections and/or request along with information such as identifying information of the terminal or point of sale at which the request is being prepared and timestamps. Additionally, API keys and/or API secret keys may be included with the payload data element. 
     In some embodiments, as the customer makes the selections a stored machine state is updated. This can be maintained in various network locations, for example, near the edge or at a central server location. Caches at the client terminal or point of sale, or in the network path or at the central server may be used to store a machine state, for example. 
     There may be a time period set at which the state or session times out. For example, after 1 minute of inactivity or lack of state changes, the session or state is cleared, logged off and/or ended, etc. 
     In an example embodiment, a customer approaches a terminal or point of sale. The customer may select a transaction type, for example, “Buy Virtual Currency,” and selects type of virtual currency, for example, “Bitcoin,” in a GUI display of the terminal or point of sale. 
     The machine state stored in a database, datastore, or internet of things model, for example. The machine state may be incrementally updated with each secure request associated with a user selection, to build a string or payload, for example. Each request may be filtered at the service provider side, where security measures may be in place. For example, code injection requests may be logged along with the origin. Further, the origin may be blocked from making further requests until the request is reviewed and cleared. 
     This reduces what may be stored locally and allows machine state to be maintained, even when, for example, connection is lost. 
     The request specifications may be aggregated into a complete payload to make a complete request. On submission, for example, via a command from the user to make or submit the request, the complete aggregate payload may be used to deliver a complete request to the vendor or software service provider. 
       FIG. 9C  is a flowchart showing a customer funds deposit and virtual currency purchase process connected with a virtual currency machine state. 
     An example sequence is provided. It will be understood that the given steps are optional and/or may be rearranged. A user or customer may visit a terminal which may be a virtual currency terminal, for example. 
     The customer may be presented with a series of user interfaces in an interview to allow for ascertaining the customer&#39;s specifications for a transaction request. The customer interview corresponds to  955 - 959 , for example. A machine state corresponds to  954   a - 954   d , for example. The machine state may be stored in any location between the client and the cloud service. For example, the machine state may be stored or cached locally at the terminal, near the edge or fog layer, or at a central server. 
     During the customer interview, queries/requests ( 952   a - 952   e ) and updates ( 953   a - 953   e ) may be made between the terminal and a software service. The queries and updates may handle and/or update a machine state ( 954   a - 954   d ) associated with the terminal. It will be understood that data elements  954   a - 954   d  could include other parameters. Additionally, such data elements could include, for example, API keys and/or secret keys. 
     In one embodiment, a customer may select to purchase a virtual currency  955  in exchange for cash via a cash deposit at the terminal. An initial state for the terminal may be empty or null, for example. The initial state may be requested  952   a  before or during the customer&#39;s initial selection  955 , for example and communicated from a software service provider via a secure session via a VPN. The query may be communicated from the software service provider as an encrypted payload that is decrypted at the terminal. For example, a JSON data element may be created or prepared by the software service provider. The data element may be encrypted and delivered to the terminal. 
     After the customer&#39;s selection to buy virtual currency, an update for the terminal machine state may be communicated to a software service provider via a secure session via a VPN. The update may include the delta or changes to the initial or current machine state. The update may be communicated to the software service provider as an encrypted payload. For example, a JSON data element may be created or prepared at the terminal. The data element may be encrypted and delivered to the software service provider  953   a . The software service provider may decrypt the payload to reveal a decrypted payload  954   a  and update the machine state for the terminal, for example by updating a database or datastore. 
     The current machine state may be queried or requested  952   b  before or during the customer&#39;s next selection  956 , for example and communicated from a software service provider via a secure session via a VPN. The query may be communicated from the software service provider as an encrypted payload that is decrypted at the terminal. For example, a JSON data element may be created or prepared by the software service provider. The data element may be encrypted and delivered to the terminal. 
     The customer may select a virtual currency  956  to buy in exchange for cash via a cash deposit at the terminal. 
     After the customer&#39;s selection to buy “Bitcoin”  956 , for example, an update for the terminal machine state may be communicated to a software service provider via a secure session via a VPN. The update may include the delta or changes to the initial or current machine state. The update may be communicated to the software service provider as an encrypted payload  953   b . For example, a JSON data element may be created or prepared at the terminal. The data element may be encrypted and delivered to the software service provider. The software service provider may decrypt the payload  953   b  and update the machine state for the terminal, for example by updating a database or datastore. 
     The current machine state may be queried or requested  952   c  before or during the customer&#39;s next selection  957 , for example, and communicated from a software service provider via a secure session via a VPN. The query may be communicated from the software service provider as an encrypted payload that is decrypted at the terminal. For example, a JSON data element may be created or prepared by the software service provider. The data element may be encrypted and delivered to the terminal. 
     The customer may select a virtual currency amount  957  to buy 1 Bitcoin (BTC). 
     After the customer&#39;s selection to buy “1 BTC,” for example, an update for the terminal machine state may be communicated to a software service provider via a secure session via a VPN. The update may include the delta or changes to the initial or current machine state. The update may be communicated to the software service provider as an encrypted payload  953   c . For example, a JSON data element may be created or prepared at the terminal. The data element may be encrypted and delivered to the software service provider. The software service provider may decrypt the payload to reveal a decrypted payload  954   c  and update the machine state for the terminal, for example by updating a database or datastore. 
     The current machine state may be queried or requested  952   d  before or during the customer&#39;s next selection or action  958 , for example, and communicated from a software service provider via a secure session via a VPN. The query may be communicated from the software service provider as an encrypted payload that is decrypted at the terminal. For example, a JSON data element may be created or prepared by the software service provider. The data element may be encrypted and delivered to the terminal. 
     The customer may enter a virtual currency wallet address  958 . 
     After the customer&#39;s entry, for example, an update for the terminal machine state may be communicated to a software service provider via a secure session via a VPN. The update may include the delta or changes to the initial or current machine state. The update may be communicated to the software service provider as an encrypted payload  953   d . For example, a JSON data element may be created or prepared at the terminal. The data element may be encrypted and delivered to the software service provider. The software service provider may decrypt the payload to reveal a decrypted payload  954   d  and update the machine state for the terminal, for example by updating a database or datastore. 
     The current machine state may be queried or requested  952   e  before or during the customer&#39;s next selection or action  959 , for example, and communicated from a software service provider via a secure session via a VPN. The query may be communicated from the software service provider as an encrypted payload that is decrypted at the terminal. For example, a JSON data element may be created or prepared by the software service provider. The data element may be encrypted and delivered to the terminal. 
     The customer may deposit cash  959 . 
     After the customer&#39;s action, for example, an update for the terminal machine state may be communicated to a software service provider via a secure session via a VPN. The update may include the delta or changes to the initial or current machine state. The update may be communicated to the software service provider as an encrypted payload  953   e . For example, a JSON data element may be created or prepared at the terminal. The data element may be encrypted and delivered to the software service provider. The software service provider may decrypt the payload to reveal a decrypted payload and update the machine state for the terminal, for example by updating a database or datastore. 
       FIG. 9D  is a flowchart showing a customer funds withdrawal and virtual currency sale process connected with a virtual currency machine state. 
     An example sequence is provided. It will be understood that the given steps are optional and/or may be rearranged. A user or customer may visit a terminal which may be a virtual currency terminal, for example. 
     The customer may be presented with a series of user interfaces in an interview to allow for ascertaining the customer&#39;s specifications for a transaction request. The customer interview corresponds to  965 - 969 , for example. A machine state corresponds to  964   a - 964   d , for example. The machine state may be stored in any location between the client and the cloud service. For example, the machine state may be stored or cached locally at the terminal, near the edge or fog layer, or at a central server. 
     During the customer interview, queries/requests ( 962   a - 962   e ) and updates ( 963   a - 963   e ) may be made between the terminal and a software service. The queries and updates may handle and/or update a machine state ( 964   a - 964   d ) associated with the terminal. It will be understood that data elements  964   a - 964   d  could include other parameters. Additionally, such data elements could include, for example, API keys and/or secret keys. 
     In one embodiment, a customer may select to sell a virtual currency  965  in exchange for cash via a cash withdrawal at the terminal. An initial state for the terminal may be empty or null, for example. The initial state may be requested  962   a  before or during the customer&#39;s initial selection  965 , for example and communicated from a software service provider via a secure session via a VPN. The query may be communicated from the software service provider as an encrypted payload that is decrypted at the terminal. For example, a JSON data element may be created or prepared by the software service provider. The data element may be encrypted and delivered to the terminal. 
     After the customer&#39;s selection to sell virtual currency, an update for the terminal machine state may be communicated to a software service provider via a secure session via a VPN. The update may include the delta or changes to the initial or current machine state. The update may be communicated to the software service provider as an encrypted payload. For example, a JSON data element may be created or prepared at the terminal. The data element may be encrypted and delivered to the software service provider  963   a . The software service provider may decrypt the payload to reveal a decrypted payload  964   a  and update the machine state for the terminal, for example by updating a database or datastore. 
     The current machine state may be queried or requested  962   b  before or during the customer&#39;s next selection  966 , for example and communicated from a software service provider via a secure session via a VPN. The query may be communicated from the software service provider as an encrypted payload that is decrypted at the terminal. For example, a JSON data element may be created or prepared by the software service provider. The data element may be encrypted and delivered to the terminal. 
     The customer may select a virtual currency  966  to sell in exchange for cash via a cash withdrawal at the terminal. 
     After the customer&#39;s selection to sell “Bitcoin”  966 , for example, an update for the terminal machine state may be communicated to a software service provider via a secure session via a VPN. The update may include the delta or changes to the initial or current machine state. The update may be communicated to the software service provider as an encrypted payload  963   b . For example, a JSON data element may be created or prepared at the terminal. The data element may be encrypted and delivered to the software service provider. The software service provider may decrypt the payload  963   b  and update the machine state for the terminal, for example by updating a database or datastore. 
     The current machine state may be queried or requested  962   c  before or during the customer&#39;s next selection  967 , for example, and communicated from a software service provider via a secure session via a VPN. The query may be communicated from the software service provider as an encrypted payload that is decrypted at the terminal. For example, a JSON data element may be created or prepared by the software service provider. The data element may be encrypted and delivered to the terminal. 
     The customer may select a virtual currency amount  967  to sell 1 Bitcoin (BTC). 
     After the customer&#39;s selection to sell “1 BTC,” for example, an update for the terminal machine state may be communicated to a software service provider via a secure session via a VPN. The update may include the delta or changes to the initial or current machine state. The update may be communicated to the software service provider as an encrypted payload  963   c . For example, a JSON data element may be created or prepared at the terminal. The data element may be encrypted and delivered to the software service provider. The software service provider may decrypt the payload to reveal a decrypted payload  964   c  and update the machine state for the terminal, for example by updating a database or datastore. 
     The current machine state may be queried or requested  962   d  before or during the customer&#39;s next selection or action  968 , for example, and communicated from a software service provider via a secure session via a VPN. The query may be communicated from the software service provider as an encrypted payload that is decrypted at the terminal. For example, a JSON data element may be created or prepared by the software service provider. The data element may be encrypted and delivered to the terminal. 
     The customer may enter a virtual currency wallet address  968 . 
     After the customer&#39;s entry, for example, an update for the terminal machine state may be communicated to a software service provider via a secure session via a VPN. The update may include the delta or changes to the initial or current machine state. The update may be communicated to the software service provider as an encrypted payload  963   d . For example, a JSON data element may be created or prepared at the terminal. The data element may be encrypted and delivered to the software service provider. The software service provider may decrypt the payload to reveal a decrypted payload  964   d  and update the machine state for the terminal, for example by updating a database or datastore. 
     The current machine state may be queried or requested  962   e  before or during the customer&#39;s next selection or action  969 , for example, and communicated from a software service provider via a secure session via a VPN. The query may be communicated from the software service provider as an encrypted payload that is decrypted at the terminal. For example, a JSON data element may be created or prepared by the software service provider. The data element may be encrypted and delivered to the terminal. 
     The customer may withdraw cash  969 . 
     After the customer&#39;s action, for example, an update for the terminal machine state may be communicated to a software service provider via a secure session via a VPN. The update may include the delta or changes to the initial or current machine state. The update may be communicated to the software service provider as an encrypted payload  963   e . For example, a JSON data element may be created or prepared at the terminal. The data element may be encrypted and delivered to the software service provider. The software service provider may decrypt the payload to reveal a decrypted payload and update the machine state for the terminal, for example by updating a database or datastore. 
     User Defined Security Protocols 
     In one embodiment, an operator or vendor is allowed to select various settings to customize a security protocol. Any individual setting, or combination of settings, may be used together to provide a factor or various factors.
         a. One setting may be a minimum purchase amount setting.   b. One setting may be a maximum purchase setting.   c. One setting may be a customer identification requirement. A customer identification requirement may be comprised of one or more of the following, for example:
           i. SMS Verification   ii. Fingerprint   iii. Part of a social security number, for example, the last four digits   iv. Photo ID   v. Face photo   vi. Barcode or Magnetic Stripe Scan of government ID   vii. First name   viii. Last name   ix. Address   x. Date of Birth   xi. A third party trust or risk score   xii. A bank card   
           d. A 24-hour customer volume limit   e. A minimum customer age       

     Linking/Monitoring “Shared” Profiles 
     When a customer or user submits an ID, the data on the ID is compared with all other customers in the owner-operator&#39;s customer database. If the ID data matches any other customers other than the current customer at the machine, the system or software may flag the customer as having submitted a duplicate ID. The customer&#39;s account is then placed in the ‘pending review’ state for manual review by the owner-operator, and the system or software may alert the owner-operator via a text message and email notification of the behavior. 
     Owner-operators may ‘link’ different customers or users together with a common unique identifier “UUID”. For example, when two or more customer profiles are ‘linked’ through a unique identifier, the customers&#39; available purchasing power for buying and selling on the owner-operator&#39;s machines is inclusive of the daily volume done across all the linked profiles. 
     Linked Profiles Example: 
     Customer A has a $500 purchasing power based on their verification tier. 
     Customer A and Customer B are linked to a custom unique identifier. 
     Customer B has already transacted $200 for the day. 
     When Customer A visits an owner-operator&#39;s machine, they will only be able to buy $300. 
     Freezing “UUID” Accounts/Profiles 
     Owner-operator may also automatically freeze transactions for customers who have been “linked” together as a UUID because it is suspected they are sharing financial information. Such a feature permits the owner-operator to have complete control over who is using their terminals or kiosks, by freezing transactions associated with specific customers, whereby no virtual currency will be sent thus allowing for additional due diligence to be gathered before allowing a transaction to be completed. 
     Detecting “Shared” Virtual Currency Wallets 
     The system and method also may allow the ability to detect when a customer&#39;s virtual currency wallet address has been shared between multiple customers. When a customer enters a virtual currency wallet address to where they desire their virtual currency to be sent, the software automatically cross-references this address across all of the owner-operator&#39;s transactions. If the address has already been used by a different customer whose profile is not already linked to the current customer through a common unique identifier, the current customer&#39;s account may then placed in the ‘pending review’ state for manual review by the owner-operator, and the software alerts the owner-operator via a text message and email notification of the shared wallet address. 
     Detecting Contradictory Account Information 
     The system and method may allow the ability to detect and flag when there is a mismatch between information submitted by a customer at different verification tiers. For instance, if a customer scans an ID that includes the name “Bob Smith” but then later submits a registration application with the name of “Johnny Appleseed” their account may be placed in the ‘pending review’ state for manual review by the owner-operator, and the system or software may alert the owner-operator via a text message and email notification of the customer identification mismatch. 
     Customer Volume Limits 
     The system and method may allow the ability to manually set the volume limits for a given customer, regardless of where they may otherwise stand based on the information they&#39;ve submitted and the owner-operator&#39;s requirements. This allows owner-operators to effectively scale a customer&#39;s purchasing power up or down based on perceived risk or enhanced due-diligence. 
     Crypto Wallet Address Volume Limits 
     The system and method may allow a terminal or kiosk owner-operator to set volume limits for a specific virtual currency wallet address in the event that a customer (or customers) is/are using said wallet to avoid normal KYC/AML detection. 
     Ownership Pledge of Crypto Wallet 
     The system and method may require a terminal or kiosk customers to accept personal ownership of the wallet that they are using when transacting on the kiosk, which acts as a pre-emptive safeguard against unlawful money transmission, in addition to helping flag and prevent possible scam-related transactions where users are, under duress, told to send money to third parties. 
     Automatic Account Freeze—Age 
     The system and method may permit a terminal or kiosk owner-operator to implement a standard procedure to freeze all new customer accounts depending on the customer&#39;s age. For example, an owner-operator can set a rule for all his/her kiosks that all new customers under 18 who register an account will be frozen until reviewed and then approved by owner-operator. 
     Blacklisting Customers/Accounts 
     The system and method may allow the ability to “blacklist” virtual currency wallet addresses and ID cards. This provides additional alerting to the owner-operator, as they receive an additional text message and email notification in the event that any customer enters a wallet address or scans an ID card that has been blacklisted by the owner-operator. Any customer submitting a blacklisted datapoint is automatically placed in the ‘pending review’ state for manual review by the owner-operator. 
     “Hours of Operation” Controls 
     The system and method may allow the ability for owner-operators to specify hours of operation for their terminals or kiosks. This ensures that the owner-operator is only providing exchange services through their kiosks between a set opening and closing time schedule. The kiosk becomes unavailable between the hours after closing and before opening time and customers are not able to transact. 
     Face Detection 
     A face detection process may occur at a client terminal. For example a hardware camera may be used to gather user image or video data. A user&#39;s face may be detected within the data, for example, by selecting image frames or frames within a video containing a detected face. 
     In one embodiment, some or all of a face detection may occur at a client terminal. For example, a face may be identified and localized in an image or video data of a user. Coordinates of facial features may be determined and bounding boxes may be defined for each feature or combination of features. Facial attributes and landmarks may be detected, and distances between features or landmarks may be determined. The scale and orientation of a detected face may be determined. A confidence score may be determined which provides a confidence level estimate of the face detection prediction or determination. A confidence score may be used to determine a next process. 
     In one embodiment, parts of such image or video data, or processed or preprocessed data, may be forwarded to a core service provider or vendor, or further to a service provider, and face detection as above may be carried out by the service. For example a base64 encoded image or full image file may be communicated to the server from a client terminal. The service provider may be a software service provider that may be a third party software service provider. 
     For example, data may be forwarded from the core service provider or vendor to a third party software service provider in the form of an HTTP request to an API endpoint, for example, a URL, of the third party software service provider, and responses may be returned. HTTP methods used may include, for example GET, HEAD, POST, PUT, PATCH, DELETE, CONNECT, OPTIONS and TRACE. The HTTP requests and/or responses may include application/json content type, wherein data may be JSON encoded data. Additionally HTTP status codes may be used to indicate success and failure. 
     An HTTP request to an API endpoint may require authentication. For example, the API may conform to a Representational State Transfer (REST) style. For example, an API key, token, access key, and/or secret key may be provided by the third party software service to the core service provider or vendor. Keys may be included in HTTP headers, for example, for every HTTP request. Keys may be in the form of a string, such as a base64 encoded string, for example. Similarly, a timestamp may be included in HTTP headers for HTTP requests to an API endpoint. A Hash-based Message Authentication Code may be computed using a hash function, for example, a SHA256 hash function. 
     An HTTP request to an API endpoint may include a payload. The request and payload may be formatted as any HTTP request. For example, a request may be made using various programming languages or combinations of programming languages, such as CURL, Ruby, Python, Node, PHP, Java, and/or JSON. 
     The payload may include, for example, a base64 encoded image version or a full image file. 
     The service provider may return, to the core service provider or vendor, a result that may include one or more flags, states, parameters, metrics, or scores associated with the request. For example, 0, 1, or 2 may be returned to indicate no match, partial match, or match. The result may be stored in association with the account, and the date and/or time of the request and/or retrieval of the result may be also stored. The result may include a payload formatted in HTML, XML, JSON, or another format. 
     For example, such a payload could include: 
     
       
         
           
               
               
               
             
               
                   
                   
               
             
            
               
                   
                   
                 { 
               
               
                   
                   
                  “Base64Image”: { 
               
               
                   
                   
                   “ImageBytes”: “iVBORwoKGgoAAAANSUhEUgA.....” 
               
               
                   
                   
                  } 
               
               
                   
                   
                 } 
               
               
                   
                   
               
            
           
         
       
     
     Machine Learning ML 
     A server side model may be trained using user data, such as image or video data. Image or video data may be forwarded to the server from a client terminal. 
     In one embodiment, parts of such data, or processed or preprocessed data may be forwarded to the server, for example a base64 encoded image or full image file may be communicated to the server from a client terminal. A decentralized learning model may be carried out on a client terminal device or server-side. 
     An application on the terminal device may download a machine learning model, for example, in compressed form. Such a model may also be pre-installed on a client terminal. Such a model may be pre-trained on a selected dataset, for example, currently known users, or known criminals etc. Known users, for example, may be those for which image, video, or face data already exists, associated with an account, and/or has been verified. Changes to the model, for example, addition of new user data, on a server may be downloaded to a terminal. This allows for less dependency on online connectivity. For example, preprocessing and training of the model may be carried out at a terminal without needing to send data to a server, reducing overhead for the client and server. For example, a server machine learning model may be retrained simply using delta values calculated at the client and sent to the server. This is additionally advantageous since the system can function offline. Round-trip to server and processing time is also reduced, creating a lower latency for the end user. 
     Computation, storage, networking, decision making, and data management resources and applications may be placed or allocated at a server of, for example, a cloud service provider, or nearer the edge. For example, resources may be allocated network elements, such as servers, cloudlets, or caches, closer to the end user at a client device may be utilized. In one example, fog computing may place resources closer to end users to reduce latency, for example. 
     Some examples of the advantages of the presented technology include speed, efficiency, and security over present systems. In one example, by performing more CPU intensive processes closer to the edge or at the endpoint, transmission of data requiring heavier bandwidth, such as image or video, may be reduced or eliminated, in some cases. In another example, privacy may be more preserved when such data items need not be transmitted through the network. 
     Therefore, placing resources and performing computations closer to the end user has advantages for processes such as facial recognition in terminal devices such as reducing latency and creating more relevancy for end users and/or providing relevant data for computations. For example, a terminal device may be perform a facial recognition process for an end user, however, since the end user must be physically present at the geographic location of the device or terminal, the likelihood of the user revisiting the same device, or nearby devices, is increased. Therefore, maintaining data associated with the user&#39;s facial recognition process closer to the geographic endpoint where it is performed provides a more relevant dataset and reduces the need for central server round trips, for example. Computational load is also decreased for each request. That is, rather than one large shared dataset, many datasets are effectively created and localized or hyper-localized. 
     In one embodiment, a hierarchy of computational resources is provided. For example, a central server or software service may be provided as a first, top, or core layer, such as in a cloud layer. At least a second layer may be provided between the first layer and an edge layer of devices or terminal. The second layer may contain computational resources such as servers, proxies, or caches between the top layer elements and a subset of edge elements. Each of the network elements of the second layer may be then more closely associated with particular edge devices, wherein the edge elements may be with closer proximity to each other. Thus, the second elements may be more closely associated with particular geographic locales. 
     In one embodiment, various important or relevant features represented as numerical vectors are extracted from an image or video of a customer at the terminal or device. 
     Extracted features may be compared to, for example, features of training images, which may be various images of the same face, for example, in a database. For such a comparison, the database is queried in order to determine the nearest-neighbor feature for some or all of each feature extracted at the terminal or device. An approximation nearest-neighbor search may be executed. 
     The closest feature matched data may be selected, which may be geometrically verified. Accordingly, a threshold value may be determined above which a match is considered to be found. If it is determined that a match is not found at the terminal or device, a request may be forwarded to a cloud server, for example. The request may include the extracted features and/or image gathered. 
     A model present at the terminal or device may be retrained using the features or feature data gathered. 
     In one embodiment, a geographic location of a device may be determined. From the geographic location, a subset of the model may be selected as the most relevant. The subset may be compared with the image to check for a hit. If there is not hit, a broader subset of the model, or the whole model, may be selected for comparison. 
     In one embodiment, various models may be stored, and a particular model may be selected according to one or more metrics. For example, a geographic location of a device may be used to determine a particular model. This model may be delivered, installed, and/or updated on terminals or devices in geographic locale. For example, a particular model may be used for terminals or devices with an IP address in the United States, or in a region of the United States such as a southwest region. 
     Models may be blended models, including selected model sets, for example, criminal data sets plus geographic user data sets. 
       FIG. 10  is a diagram showing a decentralized learning network. 
     Various network client devices ( 1002   a - 1002   g ), such as mobile phones ( 1002   a ,  1002   f ) or hardware terminals ( 1002   b - 1002   e ,  1002   g ) as previously described may be connected through a cloud network  1001 . The cloud network may include services provided by a software service provider. 
     In a decentralized learning network, client devices  1002   a - 1002   g  may each house or store local data and machine learning models. Changes to the local models may be calculated and updated, and the updates may be communicated to the service provider. The service provider may update a global model according to the updates received. Thereafter, the new global model or global updates may be distributed to the client devices. The process may be then repeated. 
     Nodes Management 
     In one embodiment, a vendor or software service provider may provide software services for terminals operated by one or more operators. Each operator may own or operate one or more terminals. 
     The terminals may be, for example, virtual currency transaction terminals, as above. 
     The vendor or software service provider may provide account management tools to the operators, for example, the cloud-hosted account management websites or portals. 
     Messaging Service A messaging service may be provided by a service provider. The service may be delivered via cloud services. It will be understood that cloud services may refer to software services and the like at any layer, including services closer to the edge, for example, such as in a fog computing environment, and in other examples, centralized services further from the edge. 
     The service provider, or core service provider, may make determinations regarding transaction requests. One advantage of such an environment is that it allows for centralized updating of the services and/or deployment of updates. 
     Another advantage of this environment is scalability. In one example, cloud computing resources may be easily replicated and added or removed to meet demand, tailoring costs more precisely to meet demand. 
     Fee Settlement 
     In a virtual currency transaction in such an environment, several parties may be owed fees, such as licensing fees or service fees, during a transaction. The current system allows for the easy and organized settlement of such fees. For example, a central vendor may be owed a fee, a terminal or point of sale operator may be owed a fee, etc. 
     In a virtual currency transaction, such fees may be settled using any currency, for example fiat or a virtual currency. 
     In the current system, the operator terminals or points of sale may be associated with a virtual currency wallet address. 
     In one example, a transaction such as a purchase or sale of virtual currency in exchange for fiat currency may be carried out at a virtual currency terminal. In the example, a vendor may charge a fee of 1% of the transaction amount while the terminal owner and/or operator may have set a fee of 10% of the transaction amount. 
     Thus, in one example, when a transaction occurs for USD $100, a vendor may be owed a fee of USD $1.00. A virtual currency exchange may be queried at the time of the transaction to determine, for example, the exchange rate for the virtual currency. In one example, Bitcoin may be the virtual currency. If a virtual currency exchange is queried and it is determined that the exchange rate for Bitcoin is $10,000, then a $1.00 fee would be equal to $1.00/$10,000.00 Bitcoin, or 0.0001 Bitcoin, for example. This fee value may be stored in a database or datastore, for example. The fee may be charged immediately, or at a later point in time. 
     In one embodiment, the fee may be charged by a software service provider or vendor making a request to withdraw funds from the terminal operator&#39;s virtual currency wallet and deposit the funds into the vendor&#39;s virtual currency wallet. 
     Similarly, in one example, when a transaction occurs, a terminal&#39;s operator or owner may be owed a fee. The fee may be set or determined by the operator, using access to an account and through consoles as presented previously. The fees may be communicated to a core software service provider or vendor and updated in a database or datastore. The updated fees are used in the fee determinations and distributions. 
     In one example, a transaction such as a purchase or sale of virtual currency in exchange for fiat currency may be carried out at a virtual currency terminal. In the example, a vendor may charge a fee of 1% of the transaction amount while the terminal owner and/or operator may have set a fee of 10% of the transaction amount. 
     Thus, in one example, when a transaction occurs for USD $100, an operator may be owed a fee of USD $10.00. A virtual currency exchange may be queried at the time of the transaction to determine, for example, the exchange rate for the virtual currency. In one example, Bitcoin may be the virtual currency. If a virtual currency exchange is queried and it is determined that the exchange rate for Bitcoin is $10,000, then a $100.00 transaction amount would be equal to $100.00/$10,000.00 Bitcoin, or 0.01 Bitcoin, for example. Similarly, if a virtual currency exchange is queried and it is determined that the exchange rate for Bitcoin is $10,000, then a $10.00 fee amount would be equal to $10.00/$10,000.00 Bitcoin, or 0.001 Bitcoin, for example. Therefore, to purchase 0.01 Bitcoin, a customer may be required to deposit USD $110.00 at the given time. 
     In one embodiment, the operator fee may simply remain in the terminal as cash as profits. For the previous example, $10.00 remains in the terminal as cash profit. 
     In another example, a customer may request a cash withdrawal, in the example above wherein 1 Bitcoin is priced at $10,000 and the operator fee is 10%, then the customer may send 1 Bitcoin to the operator wallet address in exchange for withdrawing $9,000 USD in cash. The operator may dispose of the 0.1 Bitcoin profit in any manner, such as by selling for cash, keeping the virtual currency, or a combination of the two. 
     State Projection and Transaction Locking/Limiting 
     In one embodiment, network terminals may track and communicate inventory levels within. In one example an ATM may be capable of tracking the notes currently present in the machine. For example, an atomic count of the number of each $1, $5, $10, $20, $50, $100, etc. bills may be continuously tracked and updated. 
     In one embodiment, this can be accomplished by tracking initial stocking of each type of bill and subsequent transactions wherein bills are dispensed. For example, if 50 units of $20 bills are stocked, initially, and a transaction releasing one unit $20 bill is executed, then the machine may track or communicate the delta or change. 
     In one embodiment, the software service provider may keep track of each atomic bill unit present in each machine or terminal in a network of machines or terminals in a database or data store, for example. When changes are made during each transaction, the database count may be updated. Therefore, terminals may send a payload to the software service provider identifying the bill units that were used to execute the transactions. In another embodiment, the details of the transaction may be scripted by the software service provider, wherein the details and bill denominations to be used are determined by the software service provider. In this case, the software service provider communicates a payload to the respective terminal or machine, wherein the payload includes the bill denominations to be used for the transaction. Such a payload may be, for example, a JSON payload. 
     In this way, a master accounting of each bill in each terminal in a distributed terminal network is constantly maintained by the software service provider, and may show real-time, or near real-time, data. 
     During a restocking event, the updates may be entered, for example, by a terminal operator. In another embodiment, a terminal may be capable of counting the notes or bills that have been restocked. The updates, again, may be communicated to the software service provider. In the first case, a payload, such as a JSON payload, may be communicated from an operator account console, for example, the console as described herein. In the second, a similar payload may be communicated directly from the terminal to the software service provider. 
     Since a master accounting of currency or other inventory may be available for some or all terminals in the distributed network, and future transaction data may also be available, a future state or projected state may be predicted or determined. For example, in a network of two terminals, terminal A and terminal B, where terminal A is on the west coast of the U.S., and terminal B is on the east coast of the U.S., a transaction state may be predicted. In one example, customer A on the west coast may send $100 in funds from terminal A (by depositing $100 at terminal A) to customer B on the east coast. Customer B may be directed or routed to terminal B as being the nearest terminal, for example. In this case, it may be projected that the withdrawal of $100 will be necessary at terminal B in the near future. Thus, the software service provider or system may predict this future need, and $100 in currency in terminal B may be reserved and/or locked. In such a state, other customers may be restricted from withdrawing cash or currency from terminal B that would preclude the availability of the reserved $100. In one example, the withdrawal may be arranged with an expiration time period, for example. After such an expiration period, the reserved funds may be unlocked or allowed to become available. 
     Transaction Trends 
     In some embodiments, historic data may be used to identify trends in inventory needs in each terminal. Responsive and adaptive actions may be taken, automatically, in response to the given trends. For example, future needs may be predicted, extrapolated, or calculated based on observed trends data. In one example, a data curve may be established such as a linear increase in need for a certain bill based on usage—for example, $20 notes may be increasing in need. The system may incorporate this information to intelligently determine a future state, as described previously. Transactions and locking/limiting may be carried out accordingly. 
     Recommendations 
     Recommendations may be provided to customers based on the inventory distribution and/or fee settings/state within the network. 
     A customer may access an application via a mobile app, or other computing device, for example. The application may determine or predict the customer&#39;s general or specific location by using any of, for example:
         a. a GPS determination/query   b. a previous location or activity of the customer   c. a previous setting set by the customer, operator, or software service provider   d. a default setting   e. manual entry   f. metadata   g. a last used machine and/or time frame       

     User Routing 
     Using the determinations regarding the customer&#39;s location, recommendations may be may to direct, or route, the customer to locations meeting certain requirements or preferences. In one example, the customer may be directed to terminals that are nearest and can satisfy a transaction with particular requirements, such as sufficient funds available. In another example, the particular requirements may be based on customer preferences, such as maximum desirable fee limits and/or not exceeding a certain distance from the customer&#39;s location. 
     A customer may be allowed to enter, modify, or search according to preferences. Such preferences may be set according to, for example, settings set in a user account management portal, default settings, or may be a search, filter, or selection made from within an application at the time of the customer&#39;s use of the application. 
     Based on the recommendations, a map may be presented to the user or customer, for example. 
       FIG. 9E  is a diagram showing a map comprising terminals (white filled circles/dots) near a customer&#39;s location (black filled circle/dot). 
     In one embodiment, an SMS be delivered to the customer to notify the customer that a withdrawal of funds is available, for example. The SMS may include a map element which displays the terminals selected based on the recommendations. The map may be embedded in an image in the SMS, in one embodiment. In another embodiment, the map may be a web page, and the SMS may include a link to the webpage. Such a map may be a GUI wherein terminals are displayed as GUI icons or elements in their locations, and respective to the customer&#39;s location, for example. The GUI icons or elements may be colored coded, shaded, or similarly pictographically differentiated alone with a key, for example, to show various classifications for the terminals meeting particular criteria. In one example, the GUI icons or elements that operate at certain hours, such as 24-hour locations, may be displayed in a particular color or in a certain distinguishable manner. In another example, the GUI icons or elements that are capable of transaction a particular type of currency or virtual currency, may be displayed in a particular color or in a certain distinguishable manner. 
     Compliance Triggers 
       FIG. 9F . shows an example distributed network terminal environment. 
     A service provider  981  may provide a suite of software services  982 , for example. The software services may include, for example, data management, account management, security management, and/or transaction management services. 
     Operators ( 984   a  and  984   b ) may operate terminals or sets of terminals. Operator  984   a  operates terminals  985   a , for example. 
     Terminals such as  985   a  and  985   b  are in communication with the software services  982 , through a network and/or VPN for example. 
     Operators may access aspects of the software services through user portals, consoles, and/or web applications ( 983   a  and  983   b ), for example. 
     In some embodiments, operator consoles such as those described herein may include GUI elements, for example, that provide compliance and other management via web applications  983   a , for example. For example, operator  984   a  may design a security profile for all terminals, or a subset or selected group of terminals  985   a . Operator  984   a  may implement some or all of the designed security profile by making given GUI selections for particular options consistent with the security profile. 
     Once selections are made, the security profile may be immediately updated and/or propagated to the distributed terminals network. For example, a selection can be instituted by modifying a security item stored in a database via the software services  982 , for example. The security item may be referred to during a customer transaction at a terminal. 
     Therefore, the customer transaction workflow may be immediately modified. In one example, a compliance trigger may be set by operator  984   a  that requires a fingerprint verification. Upon this setting, the workflow at one or more associated terminals in  985   a  may be modified such that customers will then be routed through a fingerprint entry/scan interview. 
     This can be accomplished by using terminal side code, for example, instructions stored in files at the terminal that queries the backend software service provider between GUi views at a terminal. Such a request can be via a JSON payload in an HTTP/HTTPS request, for example. The backend software service provider may check the values in the database or datastore regarding each security factor, setting, or selection. Based on the values, the software service provider may deliver a response including the page view corresponding to the setting value via a HTTP/HTTPS response in a JSON payload, for example, to the terminal. The next page or terminal view may render based on the response. Thus, a customer can be alternatively routed to a view based on backend settings that can be updated in real-time, or nearly real-time, to accomplish workflows according to operator-designed security profiles. This is advantageous since security requirements are constantly changing and/or evolving. The current invention allows for a responsive system to quickly and precisely meet these requirements. Further, the current invention allows for a high degree of customizability. Thus, for example, operators  984   a  and  984   b  can provide different security profiles without sacrificing speed or precision. 
     In some examples, compliance settings might include, requiring entry of first and/or last name, date of birth, email, social security number, and/or photo or scan of ID. Each selection may modify the workflow end-user/customer experience at each terminal that is in the affected group. These settings may also be gated or specified under particular conditions. For example, a stricter security profile may be designed for transactions greater than a specified amount. 
       FIG. 9G  is a diagram illustrating an example GUI enabling terminal configuration. 
     A system may be provided to allow users or customers to configure terminals during purchase, order, or request, for example. 
     A graphical user interface (GUI)  980  may be displayed to a user. This may be, for example, in response to a selection of a user interface element such as a button to purchase a terminal. 
     The GUI may be one of numerous in a user, operator, or customer account portal as described herein. Since the user or operator may be logged into his/her account as described herein, an operator ID, customer ID, or user ID may be associated with the user. Thus, orders or purchases made in the account may cause a new terminal, machine, or client ID to be generated (for example, by the provider), which may, in turn, be automatically associated with the user/operator and/or user&#39;s/operator&#39;s account. The terminal may then be associated with the other user account portal capabilities described herein. In this way, the terminal or client is added to a distributed terminal network. 
     The GUI  980  may include numerous configuration elements and/or options. The elements may allow a user to select from a dropdown list, for example, from various terminal configuration options. 
     In one embodiment, a user interface element may be provided in such a GUI allowing selection of a terminal or machine type  981 . In one example, an order may be placed for a kiosk, machine, or terminal. Each option may include and/or pre-populate default selections in any of the other fields displayed in  980 , for example. 
     Various types, variants, or options for the terminal may be available from, for example, a seller or provider. The seller or provider may also be a provider of software or other services for the terminal, as provided herein. In one example, the terminal may be one that can optionally include, make available, or enable, various software portions or programs. Such software portions or programs may be pre-installed on the terminal, scheduled for installation, made available from, for example, a cloud environment, downloaded to the terminal, or any combination of the aforementioned. In one example, particular software options may be set as included, installed, or enabled by default. 
     In one embodiment, a user interface element  982  may be provided in such a GUI allowing selection of such software options as described above. 
     In one example, such software may include virtual currency transaction instructions, programs, code, and/or capabilities. In one example, virtual currency software may be included, installed, or enabled by default with the selection of the machine type “Satoshi2” displayed in  981 . 
     In another example, such software may include fiat or cash currency transaction instructions, programs, code, and/or capabilities. In one example, fiat or cash currency transactions do not utilize virtual currency (such as the selection “Include ATM software (S/W)” selection displayed in  982 ). Thus, in one example, where a terminal may include virtual currency transactions software as default above, and where ATM software is selected, the terminal will be configured to allow, enable, or include software for both virtual currency transaction capabilities/functions and fiat/cash transactions (that do not utilize virtual currency) capabilities/functions. 
     In one embodiment, a user interface element  983  may be provided in such a GUI allowing selection of a CPU type. 
     In one embodiment, a user interface element  984  may be provided in such a GUI allowing selection of a lock type. 
     In one embodiment, a user interface element  985  may be provided in such a GUI allowing selection of a key type. 
     In one embodiment, a user interface element  986  may be provided in such a GUI allowing selection of a security belt. 
     In one embodiment, a user interface element  987  may be provided in such a GUI allowing selection of a bill acceptor cassette. 
     In one embodiment, a user interface element  988  may be provided in such a GUI allowing selection of a decal installation. 
     In one embodiment, a user interface element  989  may be provided in such a GUI allowing selection/entry of a quantity of the selected terminal with the selected options. 
     In one embodiment, a user interface element  990   a - 990   g  may be provided in such a GUI allowing selection/entry of a delivery and shipping options and/or details. 
     In one embodiment, a user interface element  990   a - 990   g  may be provided in such a GUI allowing selection/entry of additional order instructions and/or details. 
     The selected configuration options may be intelligently linked to purchase order processing and/or hardware production and delivery. In one example, particular selections may route orders to varying production lines, plants, or departments. 
     User Roles 
     User roles may be defined. In one example, operators may include several users for management of terminals. Users may be assigned user roles, which can define access privileges to terminals and/or for subsets of terminals. The access privileges may limit the actions users in a user role group are permitted. For example, user console actions/tools may be limited or restricted. 
     Example user roles are provided: 
     Manager 
     The Manager role is a full user, with access to all permissions. 
     Compliance Officer 
     The Compliance Officer role has full access to customers, transactions, and compliance tools. 
     Customer Support 
     The Customer Support role has read-only access to transactions and customers, with the ability to leave notes on both as well as send SMS messages to customers. 
     Accountant 
     The Accountant role has read only access to transactions as well as the ability to export transactional data. 
     Groups Management 
     In one aspect of the invention, realtime groups management is possible. An operator, for example, may assign various terminals to different groups. A software service provider may also assign settings for terminal groups, which may be, for example, higher level and immutable by the operator. 
     Each group may be identified by a label or name assigned by the operator, for example. Configuration settings may then be selected, updated, and/or implemented and propagated to some or all of the groups simultaneously. 
     In one example, an operator may purchase and/or manage a first set of terminals that include Terminal  1 , Terminal  2 , Terminal  3 , Terminal  4 , and Terminal  5 . The operator may log into his user account portal. The operator may then, for example, assign Terminals  1 - 3  into a group and add an identifier/label as Group A. Similarly, the operator may, for example, assign Terminals  4 - 5  into a group and add an identifier/label as Group B. 
     The operator may then select, create, or update one or more settings, for example, for a group of terminals at once. For example, the operator may select Group A and set a minimum of maximum purchase limit. This setting will be propagated to all terminals belonging to Group A. When a terminal is added to Group A after one or more settings have been created or set, the terminal added will inherit the current settings profile and/or state. 
     Additionally, in one embodiment, a terminal may be assigned to a group but also specified to not inherit or share the group&#39;s settings, or, in other words, specifically excluded from the group&#39;s settings. 
     In one embodiment, a setting may be a configuration setting that may be enabled or disabled to only be available at a service provider (such as a software service provider) level. If enabled as to be only accessible to the provider, then the operator may not have access or ability to change the setting. 
     Examples of such configuration settings may be a terminal capability or functionality, such as the capability to execute virtual currency transactions and/or the capability to execute transactions that do not require or utilize virtual currency, such as a bank withdrawal or deposit using, for example, an ATM card or biometric verification. 
     This creates a highly adaptive and customizable environment. In one example advantage, functionalities may be toggled to be enabled/disabled in nearly immediate manner. 
     Any of the settings described herein, including those described in User Defined Security Protocols can be applied selectively in this way, security settings, compliance settings, KYC/AML settings, etc. 
     Settings changes may manifest in numerous ways at terminals. In one example, a settings change may modify the workflow, content, or sequence of GUI elements presented to users or customers. 
     Example embodiments are provided: 
     It will be understood that any of the given elements, steps, etc. in the given embodiments are optional and or reorderable, and provided for example embodiment purposes only. 
     A method, system, or computer readable medium storing instructions, for securely handling, by a software service provider, one or more actions in a distributed terminal network system such as a virtual currency transaction between a customer and an operator of a point of sale, the method comprising:
         a) managing or maintaining, by the software service provider, the distributed terminal network system, the distributed terminal network system comprising at least:
           i) one or more specialized servers providing a software service by the software service provider, wherein the one or more specialized servers are in communication, through a network, with at least:
               a distributed network of terminals, wherein:
                   each terminal of the terminals comprises a hardware terminal, node, point of sale, kiosk, and/or client;   each terminal is capable of one-way exchange transactions between virtual currency and fiat currency, two-way exchange transactions between virtual currency and fiat currency, transactions utilizing virtual currency, fiat currency transactions, and/or transactions that do no utilize virtual currency;   wherein each point of sale or terminal comprises:    (i) at least one liquid crystal display (LCD) touch screen;    (2) at least one cash dispenser;    (3) at least one keypad;    (4) at least one bill validator;    (5) at least one electronic cash vault;    (6) at least one barcode or QR code reader;    (7) at least one thermal printer;    (8) at least one EMV card reader;    (9) at least one high definition camera;    (10) at least one fingerprint reader;    (11) at least one processor; and/or    (12) at least one memory storing:    a. at least one application, wherein the at least one application is an internet browser application; and/or    b. a set of one or more files;    i. wherein the set of one or more application files include, at least:    1. transaction processing instructions for processing virtual currency transactions, the transaction processing instructions comprising, at least:    2. instructions to determine or calculate transaction limits, parameters, and/or fees; and/or    3. instructions to encode an output;    ii. image processing instructions for processing image data, the image processing instructions comprising, at least:    iii. instructions to determine or calculate facial geometry parameters; and/or    iv. instructions to encode image or video data;    v. keypad entry processing instructions for processing keypad entry data;    vi. barcode or QR code processing instructions for processing barcode or QR code entry data; and/or    vii. fingerprint processing instructions for processing fingerprint entry data;   
                   
               ii) at least one load balancer configured to route network traffic to the one or more specialized servers;   iii) one or more processors; and/or   iv) one or more data storage devices;   
           b) creating a first operator account for a first operator, by the software service provider, wherein creating the first operator account comprises:
           i) creating, by the software service provider, a first operator account identifier for the first operator;   ii) storing, by the software service provider, in association with the first operator account, the first operator account identifier in the one or more data storage devices;   iii) associating, by the software service provider, login credentials with the first operator; and   iv) storing, by the software service provider, the login credentials in the one or more data storage devices;   
           c) associating a first set of terminals with the first operator, wherein associating the first set of terminals with the first operator comprises:
           i) storing first operator data, by the software service provider, in association with the first operator account, wherein the first operator data comprises:
               one or more terminal identifiers associated with each of the terminals of the first set of terminals, wherein each of the first set of terminals is owned by, operated by, or associated with, the first operator;   
               
           d) receiving an authentication request to access the first operator account, wherein:
           i) the authentication request is received via a first HTTP/HTTPS request, the first HTTP/HTTPS request including the login credentials;   
           e) authenticating the authentication request, wherein the authenticating comprises:
           i) verifying the login credentials;   
           f) in response to the authenticating, allowing access to a first operator account portal allowing selections or updates, wherein the first operator account portal comprises:
           i) a first set of one or more graphical user interfaces (GUIs), the first set of GUIs including at least:
               information associated with each terminal of the first set of terminals, wherein the information includes:
                   an identifier label associated with each of the first set of terminals;   first configuration preferences for a new terminal in a request, order, or purchase, wherein the configuration preferences comprise:    a first option to include functionalities or capabilities for fiat and/or cash transactions that do not utilize virtual currency;    a second option to include functionalities for virtual currency transactions;    a third option to specify a delivery location for the new terminal;   second configuration preferences for each terminal of the first set of terminals, wherein the configuration settings include:    security settings, wherein the security settings comprise:    KYC/AML configuration settings;    fee settings; and/or,    controls for each of the first set of terminals, wherein    the controls include:    reboot commands;   
                   
               
           g) associating the new terminal with the first operator, wherein the associating comprises storing a terminal ID in a database or datastore wherein the terminal ID is associated with, or connected to, an operator ID;   h) in response to selection of the first option, providing or enabling a first software or software portion in the new terminal that allows functionality for transactions that do not utilize virtual currency   i) in response to selection of the second option, providing or enabling a second software or software portion in the new terminal that allows functionality for transactions that utilize virtual currency;   j) creating a purchase order for the request, order, or purchase for the new terminal;   k) providing the purchase order specifying the configuration preferences for the new terminal to a hardware provider, preparer, installer, or manufacturer of terminals;   l) providing, requesting, or instructing for delivery the new terminal to the delivery location;   m) receiving selections or updates made in the first operator account portal, wherein:
           the selections or updates are received via a second HTTP/HTTPS request;   
           n) based on the selections or updates, updating configuration settings for the first set of terminals to create a set of updated settings, wherein updating comprises:
           i) storing configuration data in the one or more data storage devices, wherein the configuration data reflects the selections or updates.   
           i) updating configuration settings for the at least one of the terminals, by the software service provider, the configuration settings comprising:
           i) permissions to allow functionality for transactions that utilize virtual currency and/or permissions to allow functionality for transactions that do not utilize virtual currency;   
           j) wherein the updating configuration settings comprises:
           i) enabling permissions to allow functionality for transactions that utilize virtual currency; and   ii) enabling permissions to allow functionality for transactions that do not utilize virtual currency;   
           k) in response to the updating configuration settings, permitting, the at least one of the terminals:
           i) functionality for transactions that utilize virtual currency, wherein functionality for transactions that utilize virtual currency comprises:
               1) displaying an option to request a transaction that utilizes virtual currency;   
               ii) functionality for transactions that do not utilize virtual currency, wherein functionality for transactions that do not utilize virtual currency comprises:
               1) displaying an option to request a transaction that does not utilize virtual currency;   
               
           l) initializing the first software or software portion;   m) delegating control of the peripherals to the first software or software portion;   n) receiving a request for a transaction that utilizes virtual currency;   o) delegating control of the peripherals to the second software or software portion;   p) receiving a request for a transaction that does not utilize virtual currency;   q) delegating control of the peripherals to the first software or software portion;   r) tracking a composition of bank notes in one or more of the terminals, wherein the tracking comprises:
           i) determining a first bank note composition in the one or more terminals before a virtual currency or cash transaction;   ii) determining a second bank note composition in the one or more terminals after the virtual currency or cash transaction;   iii) storing the first bank note composition and the second bank note composition in a database or data store;   iv) determining a fee based on the size of the transaction, wherein the fee is a percentage of the size of the transaction;
               1) wherein the size of the transaction may be determined as the size of the cash or virtual currency transaction request or the market rate of a virtual currency associated with a virtual currency transaction;   
               
           s) displaying, on the touchscreen or a graphical user interface:
           i) at least a first selection option for fiat currency transactions and/or transactions that do not utilize virtual currency; and/or   ii) at least a second selection option for virtual currency transactions and/or transactions that utilize virtual currency;   
           t) receiving a selection, by a visitor, user, or customer, at the terminal, of the first selection option or the second selection option;   u) in response to the selection of the first selection option:
           i) providing a first workflow, wherein the first workflow allows one or more cash or fiat currency transactions and/or transactions that do no utilize virtual currency, wherein the first workflow comprises:
               1) transaction options comprising a cash bank deposits, a cash bank withdrawal, and/or a bank transfer; and/or   2) a third option to switch to virtual currency transactions and/or transactions that utilize virtual currency;   
               
           v) in response to the selection of the second selection option or selection of the third option:
           i) providing a second workflow, wherein the second workflow allows for one or more virtual currency transactions and/or transactions that utilize virtual currency, wherein the second workflow comprises:
               1) virtual transaction options comprising a virtual currency purchase, a virtual currency sale, and/or a virtual currency transfers; and/or   2) a fourth option to switch to fiat currency transactions and/or transactions that do not utilize virtual currency.   
               
               

     A method for securely handling one or more actions in a distributed terminal network system, the method comprising:
         a) providing a combination virtual currency and ATM hardware terminal capable of one-way exchange transactions between virtual currency and fiat currency, two-way exchange transactions between virtual currency and fiat currency, transactions utilizing virtual currency, fiat currency transactions, and/or transactions that do no utilize virtual currency, wherein the hardware terminals comprises or includes:
           i) a set of one or more processors;   ii) at least one touchscreen or graphical user interface;   iii) a set of one or more computer readable media or memories, the set of one or more computer readable media or memories storing:
               1) at least one application, wherein the at least one application is an internet browser application; and/or   2) a set of one or more files or computer program instructions;
                   (a) wherein the set of one or more files or computer program instructions include, at least:    (i) first transaction processing instructions for processing transactions that utilize or involve virtual currency, the first transaction processing instructions comprising, at least:    (1) first instructions to determine or calculate transaction limits, parameters, and/or fees; and/or    (2) second instructions to encode an output;   (ii) second transaction processing instructions for processing transactions that do not utilize or involve virtual currency, the second transaction processing instructions comprising, at least:    (1) third instructions to determine or calculate transaction limits, parameters, and/or fees; and/or    (2) fourth instructions to encode an output;   (iii) image processing instructions for processing image data, the image processing instructions comprising, at least:    (1) fifth instructions to determine or calculate facial geometry parameters; and/or    (2) sixth instructions to encode image or video data;   (iv) keypad entry processing instructions for processing keypad entry data; and/or   (v) barcode or QR code processing instructions for processing barcode or QR code entry data;   
                   
               iv) at least one cash dispenser;   v) at least one keypad;   vi) at least one barcode or QR code reader;   vii) at least one card reader;   viii) at least one camera;   
           b) displaying, on the touchscreen or graphical user interface:
           i) at least a first option for fiat currency transactions and/or transactions that do not utilize virtual currency and/or cryptocurrency; and/or   ii) at least a second option for virtual currency transactions and/or transactions that utilize virtual currency and/or cryptocurrency;   
           c) receiving a selection, by a first visitor, user, or customer, at the terminal, of the first option or the second option;   d) if the first option is selected, in response:
           i) using, at least in part, the first processing instructions to perform a first process comprising:
               1) providing a first workflow, wherein the first workflow allows one or more cash or fiat currency transactions and/or transactions that do no utilize virtual currency or cryptocurrency, wherein the first workflow comprises:
                   (a) displaying transaction options comprising a cash bank deposits, a cash bank withdrawal, and/or a bank transfer; and/or   (b) displaying one or more prompts requiring or requesting the visitor, user, or customer to enter an EMV or debit card;   (c) not requiring or requesting a phone number;   (d) a third option to switch to virtual currency or cryptocurrency transactions and/or transactions that utilize virtual currency or cryptocurrency;   
                   
               
           e) if the second option or third option is selected, in response:
           i) using, at least in part, the second processing instructions to perform a process:
               1) providing a second workflow, wherein the second workflow allows for one or more virtual currency transactions and/or transactions that utilize virtual currency or cryptocurrency, wherein the second workflow comprises:
                   (a) virtual currency or cryptocurrency transaction or options comprising a virtual currency or cryptocurrency purchase, a virtual currency or cryptocurrency sale, and/or a virtual currency or cryptocurrency transfers; and/or   (b) requiring or requesting the visitor, user, or customer to enter a phone number using the keypad;   (c) not requiring an EMV or debit card;   (d) a fourth option to switch to fiat currency transactions and/or transactions that do not utilize virtual currency   
                   
               
           f) if the first option is selected:
           i) establishing, or using, a secure session with or between a first software service provider and the hardware terminal;   ii) performing a first processing of the first option selection, wherein performing the first processing of the first option selection comprises:
               1) receiving, by the software service provider, an encrypted second payload;
                   (a) wherein the encrypted first payload is produced by encrypting a first payload, the first payload produced by the hardware terminal, and wherein the first payload comprises a phone number, the phone number received from the first visitor, user, or customer at the hardware terminal;   (b) wherein the encrypted first payload is communicated to the software service provider from the hardware terminal during the secure session using the secured connection;   
                   2) identifying, by the software service provider, an IP address associated with the VPN;   3) allowing, by software service provider, traffic from the VPN based on the IP address;   4) decrypting, by the software service provider, the encrypted first payload; and   5) sending, by the software service provider, an SMS verification code to the phone number;   
               iii) performing a second processing of the first option selection, wherein performing the second processing of the first operation comprises:
               1) receiving, by the software service provider, an encrypted second payload;   2) wherein the encrypted second payload is produced by encrypting a second payload, the second payload produced by the hardware terminal;   3) wherein the encrypted second payload is communicated to the software service provider from the hardware terminal during the secure session using the secured connection;   4) identifying, by the software service provider, the IP address associated with the VPN;   5) allowing, by software service provider, traffic from the VPN based on the IP address; and   6) decrypting, by the software service provider, the encrypted second payload;   
               iv) identifying a first security factor associated with the first visitor, user, or customer wherein the identifying the first security factor associated with the first visitor, user, or customer comprises:
               1) the software service provider forwarding a first HTTP/HTTPS request to at least one of a set of third party service providers,   2) wherein the request is an age verification request, and   3) wherein the first request comprises:
                   (a) a third payload;    (i) wherein the third payload comprises at least a portion of the first data;   
                   4) the software service provider receiving a first third party response from at least one of the set of third party service providers;   
               v) performing a third processing of the first option selection, wherein performing the third processing of the first option selection comprises:
               1) receiving, by the software service provider, an encrypted fourth payload;   2) wherein the encrypted fourth payload is produced by encrypting a fourth payload, the fourth payload produced by the hardware terminal, and wherein the fourth payload comprises at least second data;   3) wherein the encrypted fourth payload is communicated to the software service provider from the hardware terminal during the secure session using the secured connection;   4) identifying, by the software service provider, the IP address associated with the VPN;   5) allowing, by software service provider, traffic from the VPN based on the IP address; and   6) decrypting, by the software service provider, the encrypted fourth payload;   
               vi) identifying a second security factor associated with the first visitor, user, or customer, wherein the identifying the second security factor associated with the first visitor comprises:
               1) the software service provider forwarding a fourth HTTP or HTTPS request to at least one of the set of third party service providers, wherein the second request comprises:
                   (a) a fifth payload; and   (b) wherein the fifth payload comprises at least a portion of the second data;   
                   2) receiving a second third party response from at least one of the set of third party service providers;   
               vii) identifying a facial recognition factor associated with the first visitor, user, or customer, wherein the identifying the facial recognition factor associated with the first visitor comprises:
               1) receiving, by the software service provider, an encrypted sixth payload;   2) wherein the encrypted sixth payload is produced by encrypting a sixth payload, the sixth payload produced by the hardware terminal, and wherein the sixth payload comprises at least one parameter associated with image or video data associated with the first visitor&#39;s, user&#39;s, or customer&#39;s face;   3) wherein the encrypted sixth is payload communicated to the software service provider from the hardware terminal during the secure session using the secured connection;   4) identifying, by the software service provider, the IP address associated with the VPN;   5) allowing, by software service provider, traffic from the VPN based on the IP address; and   6) decrypting, by the software service provider, the encrypted sixth payload;   
               viii) determining, by the software service provider, a score associated with the first visitor based on the first factor and the second factor;   ix) in response to determining that the score is less than a threshold score or equal to an acceptable score:
               i) sending, by the software service provider, an encrypted seventh payload;
                   (a) wherein the encrypted seventh payload is produced by encrypting a seventh payload, the seventh payload produced by the software service provider, and wherein the seventh payload comprises at least a message to the hardware terminal to allow a completing of the operation; and   (b) wherein the encrypted seventh payload is communicated to the hardware terminal from the software service provider during the secure session using the secured connection;   
                   
               x) logging operation details in the one or more data storage devices, by the software service provider, wherein the logging comprises at least:
               1) storing, in association with the first user account, an operation parameter;   2) storing, in association with the first user account, an operation date or time; and   3) storing, in association with the first user account, the IP address associated with the operation.   
               
               

     Advantages 
     Many advantages arise over previous systems in the described embodiments, for example. 
     First, the described embodiments provide an adaptive and more robust security environment. For example, several factors for customers at a terminal, for example, are determined and leveraged. The combination of factors creates a nexus of confidence (or lack thereof) around a user. 
     Next, the piecemeal nature of requests/responses in certain embodiments between a node and central service allows for a machine state to be constantly known, stored, etc by the central service. Thus, data is not easily lost or tampered with, for example, at the client or terminal. 
     Next, a connection interrupt between a hardware terminal, for example, has less impact on the security in the described embodiments. As described above, the machine state may be known or saved by the central service, and therefore it may be easily and securely restored, etc. 
     Next, in the described embodiments, the services are easily scalable and the security services are easily modified and quickly implemented system-wide. This is because changes may be simply implemented in the central software services which are immediately used by some or all nodes or terminals. Thus, hardware, terminal, or client side changes are minimized. 
     Next, in the described embodiments, a central service can easily leverage and implement services such as security services from third parties. New specialized services are constantly being created and made available, and easily connecting, interacting, and quickly implementing these services is highly advantageous. Since security often relies on quickly evolving against new threats, speed of implementation of new defenses is of great value and importance. 
     Next, as provided previously, in some embodiments such as the above federated facial recognition systems are additionally advantageous since some or all of the system can function offline. Round-trip to server and processing time is also reduced, creating a lower latency for the end user. 
     Environment 
     The present invention may be a system, an apparatus, a method, and/or a computer program product at any possible technical detail level of integration. The computer program product may include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the present invention. 
     The computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of the computer readable storage medium includes the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing. A computer readable storage medium, as used herein, is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire. 
     Computer readable program instructions described herein can be downloaded to respective computing/processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and/or a wireless network. The network may comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. A network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing/processing device. 
     Computer readable program instructions for carrying out operations of the present invention may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, configuration data for integrated circuitry, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++, or the like, and procedural programming languages, such as the “C” programming language or similar programming languages, and/or scripting languages, PHP, Python, JavaScript, or the like. The computer readable program instructions may execute entirely on the user&#39;s device, partly on the user&#39;s device, as a stand-alone software package, partly on the user&#39;s device and partly on a remote device or entirely on the remote device or server. In the latter scenario, the remote device may be connected to the user&#39;s device through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external device (for example, through the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) may execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present invention. 
     Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions. 
     These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks. 
     The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement the functions/acts specified in the flowchart and/or block diagram block or blocks. 
     It will be understood that terms such as “first”, “second”, and “third” in the claims and herein may be used simply to specify different or distinct elements, and not a numerical requirement. For example, “third instructions” is simply a label to distinguish from, for example, “second instructions.” Such labeling will not specify a requirement, for example, for three different “instructions” elements. Therefore, “third instructions” may exist in the claims, for example, without any other instructions, such as “first instructions.”