You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Authentication - Key Verification:
In addition to the Authentication-Key-Pair general requirement for all modes, an on_subscribe endpoint must be made available for the registry to verify the public-key set there.
Authentication - Signing:
When the software in Gateway mode receives messages from the BAP to forward to the BPP, it must add its own signature and fill the X-Gateway-Authorization header. The process of hashing, signing, and the format of the header is documented.
Listening to Search Requests (Transaction API):
The software in Gateway mode must expose the search endpoint at its Subscriber URL. The format of the message it receives is described.
Forwarding Search (Transaction API):
When the Gateway receives a search request from the BAP, it must:
Use the lookup API of the Registry to fetch the BPPs that cater to the context of the received message.
Forward the search request (after signing) to the list of BPPs returned by the Registry.
Caching (Transaction API):
The software in Gateway mode should implement short-term caching to reduce the load on the Registry lookup.
UI & Backend Requirements:
The UI for the Gateway Mode should utilize the existing Gateway available at: https://gateway.becknprotocol.io/login
For the backend, Strapi should be used. The Gateway itself should be developed as a Strapi Plugin that supports CRUD operations.
Goals
Apply all common requirements from “Requirements for all modes” to Gateway mode.
Implement the on_subscribe endpoint for key verification with the registry.
Implement signing of messages forwarded from the BAP to the BPP with the X-Gateway-Authorization header.
Expose the search endpoint at the Subscriber URL in Gateway mode.
Implement logic to forward search requests using the Registry lookup API and sign the request.
Description
Common Requirements:
Authentication - Key Verification:
In addition to the Authentication-Key-Pair general requirement for all modes, an on_subscribe endpoint must be made available for the registry to verify the public-key set there.
Authentication - Signing:
When the software in Gateway mode receives messages from the BAP to forward to the BPP, it must add its own signature and fill the X-Gateway-Authorization header. The process of hashing, signing, and the format of the header is documented.
Listening to Search Requests (Transaction API):
The software in Gateway mode must expose the search endpoint at its Subscriber URL. The format of the message it receives is described.
Forwarding Search (Transaction API):
When the Gateway receives a search request from the BAP, it must:
Caching (Transaction API):
The software in Gateway mode should implement short-term caching to reduce the load on the Registry lookup.
UI & Backend Requirements:
The UI for the Gateway Mode should utilize the existing Gateway available at:
https://gateway.becknprotocol.io/login
For the backend, Strapi should be used. The Gateway itself should be developed as a Strapi Plugin that supports CRUD operations.
Goals
Expected Outcome
Acceptance Criteria
Mockups / Wireframes
NA
Product Name
Beckn
Domain
Beckn ONIX
Tech Skills Needed
Complexity
Medium
Category
API Development
Sub Category
Gateway Mode
The text was updated successfully, but these errors were encountered: