API request and response balancing and control on blockchain
First Claim
1. A method comprising:
- writing, by a computer-based balancing and control (B&
C) system to a blockchain, an application programming interface (API) request confirmation in response to a service consumer system transmitting an API request to a service provider system, wherein the API request confirmation comprises a transaction ID, a service provider system address, a service consumer system address, and a first request hash of the API request;
writing, by the B&
C system to the blockchain, an API request acknowledgement in response to the service provider system receiving the API request from the service consumer system, wherein the API request acknowledgement comprises the transaction ID, the service provider system address, the service consumer system address, and a second request hash of the API request;
writing, by the B&
C system to the blockchain, an API response confirmation in response to the service provider system receiving the API request and transmitting an API response to the service consumer system, wherein the API response confirmation comprises the transaction ID, the service provider system address, the service consumer system address, and a first response hash of the API response;
writing, by the B&
C system to the blockchain, an API response acknowledgement in response to the service consumer system receiving the API response from the service provider system, wherein the API response acknowledgement comprises the transaction ID, the service provider system address, the service consumer system address, and a second response hash of the API request, wherein the blockchain executes a smart contract to compare the first request hash of the API request to the second request hash of the API request to identify a request out-of-balance event, and the first response hash of the API response to the second response hash of the API response to identify a response out-of-balance event; and
reading, by a monitoring device of the B&
C system and from the blockchain, at least one of the request out-of-balance event or the response out-of-balance event.
1 Assignment
0 Petitions
Accused Products
Abstract
A balancing and control (B&C) system for API transactions is disclosed. The system may write a request confirmation and a request acknowledgement to a blockchain in response to an API request being transmitted from a consumer system to a provider system, with the request confirmation and the request acknowledgement each comprising a request hash of the API request. The system may also write a response confirmation and a response acknowledgement to the blockchain in response to an API response being transmitted from the provider system to the consumer system, with the response confirmation and the response acknowledgement each comprising a response hash of the API response. The blockchain may execute a smart contract to compare the request hashes from the request confirmation and the request acknowledgement and the response hashes from the response confirmation and the response acknowledgement to identify one or more out-of-balance events.
-
Citations
20 Claims
-
1. A method comprising:
-
writing, by a computer-based balancing and control (B&
C) system to a blockchain, an application programming interface (API) request confirmation in response to a service consumer system transmitting an API request to a service provider system, wherein the API request confirmation comprises a transaction ID, a service provider system address, a service consumer system address, and a first request hash of the API request;writing, by the B&
C system to the blockchain, an API request acknowledgement in response to the service provider system receiving the API request from the service consumer system, wherein the API request acknowledgement comprises the transaction ID, the service provider system address, the service consumer system address, and a second request hash of the API request;writing, by the B&
C system to the blockchain, an API response confirmation in response to the service provider system receiving the API request and transmitting an API response to the service consumer system, wherein the API response confirmation comprises the transaction ID, the service provider system address, the service consumer system address, and a first response hash of the API response;writing, by the B&
C system to the blockchain, an API response acknowledgement in response to the service consumer system receiving the API response from the service provider system, wherein the API response acknowledgement comprises the transaction ID, the service provider system address, the service consumer system address, and a second response hash of the API request, wherein the blockchain executes a smart contract to compare the first request hash of the API request to the second request hash of the API request to identify a request out-of-balance event, and the first response hash of the API response to the second response hash of the API response to identify a response out-of-balance event; andreading, by a monitoring device of the B&
C system and from the blockchain, at least one of the request out-of-balance event or the response out-of-balance event. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer-based system for balancing and control of message transfers, comprising:
-
a computer processor; and a tangible, non-transitory memory configured to communicate with the computer processor, the tangible, non-transitory memory having instructions stored thereon that, in response to execution by the computer processor, cause a balancing and control (B&
C) system to perform operations comprising;writing, by the B&
C system to a blockchain, an application programming interface (API) request confirmation in response to a service consumer system transmitting an API request to a service provider system, wherein the API request confirmation comprises a transaction ID, a service provider system address, a service consumer system address, and a first request hash of the API request;writing, by the B&
C system to the blockchain, an API request acknowledgement in response to the service provider system receiving the API request from the service consumer system, wherein the API request acknowledgement comprises the transaction ID, the service provider system address, the service consumer system address, and a second request hash of the API request;writing, by the B&
C system to the blockchain, an API response confirmation in response to the service provider system receiving the API request and transmitting an API response to the service consumer system, wherein the API response confirmation comprises the transaction ID, the service provider system address, the service consumer system address, and a first response hash of the API response;writing, by the B&
C system to the blockchain, an API response acknowledgement in response to the service consumer system receiving the API response from the service provider system, wherein the API response acknowledgement comprises the transaction ID, the service provider system address, the service consumer system address, and a second response hash of the API request, wherein the blockchain executes a smart contract to compare the first request hash of the API request to the second request hash of the API request to identify a request out-of-balance event, and the first response hash of the API response to the second response hash of the API response to identify a response out-of-balance event; andreading, by a monitoring device of the B&
C system and from the blockchain, at least one of the request out-of-balance event or the response out-of-balance event. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. An article of manufacture including a non-transitory, tangible computer readable storage medium having instructions stored thereon that, in response to execution by a balancing and control (B&
- C) system, cause the B&
C system to perform operations comprising;writing, by the B&
C system to a blockchain, an application programming interface (API) request confirmation in response to a service consumer system transmitting an API request to a service provider system, wherein the API request confirmation comprises a transaction ID, a service provider system address, a service consumer system address, and a first request hash of the API request;writing, by the B&
C system to the blockchain, an API request acknowledgement in response to the service provider system receiving the API request from the service consumer system, wherein the API request acknowledgement comprises the transaction ID, the service provider system address, the service consumer system address, and a second request hash of the API request;writing, by the B&
C system to the blockchain, an API response confirmation in response to the service provider system receiving the API request and transmitting an API response to the service consumer system, wherein the API response confirmation comprises the transaction ID, the service provider system address, the service consumer system address, and a first response hash of the API response;writing, by the B&
C system to the blockchain, an API response acknowledgement in response to the service consumer system receiving the API response from the service provider system, wherein the API response acknowledgement comprises the transaction ID, the service provider system address, the service consumer system address, and a second response hash of the API request, wherein the blockchain executes a smart contract to compare the first request hash of the API request to the second request hash of the API request to identify a request out-of-balance event, and the first response hash of the API response to the second response hash of the API response to identify a response out-of-balance event; andreading, by a monitoring device of the B&
C system and from the blockchain, at least one of the request out-of-balance event or the response out-of-balance event. - View Dependent Claims (16, 17, 18, 19, 20)
- C) system, cause the B&
Specification