Skip to content

Dhali's Alpha Integration with Interledger via Open Payments

Introduction

Interledger is an open protocol suite designed to facilitate payments across various payment networks, enabling what is commonly referred to as the Internet-of-Value. Open Payments is an open RESTful API and standard supporting Interledger payments, and allowing clients, like Dhali, to interact with Open Payments-enabled accounts. The Open Payments standard is implemented by regulated account servicing entities (ASEs), such as banks, digital wallet providers, and mobile money providers.

Rafiki is open source software that equips an ASE with the ability to enable Interledger functionality on its users' accounts. This includes sending and receiving payments via the Simple Payment Setup Protocol (SPSP) and Open Payments. It also allows a third-party, like Dhali, to request the initiation of payments and view transaction data through the Open Payments API.

Rafiki and Interledger logos

Integration of Open Payments

Dhali has enhanced its payment options by integrating with Open Payments on the Interledger testnet. This integration, currently in its alpha phase, allows users to deposit USD into Dhali's rafiki.money test wallet. Unlike the previously used XRPL payment channels (which Dhali has already integrated), users will now deposit money directly into Dhali's Rafiki wallet to fund future API requests. Through Dhali, users can also create an authentication key, using their wallets as the authorisation mechanism. In a future release of Dhali, users will be able to use this key to spend their Open Payments deposits on Dhali linked APIs; full API linking and API monetisation is not yet supported through Dhali.

Web3 Logins

Using Open Payments - in a possibly unconventional way - we adopt a typical Web3 login approach, which is facilitated through an interactive grant that authorizes outgoing payments of zero value. This method ensures secure authentication while maintaining the flexibility inherent in Web3 technologies.

Try it now

First, you'll need to create a new Rafiki wallet here. Once you have a wallet, copy your wallet's payment pointer and go to Dhali. Select the Open Payments dropdown and click on the Rafiki wallet option:

Selecting Open Payments on Dhali

Now you need to copy your payment pointer and select the USD option. Once you submit, Dhali will request your Open Payments wallet - in this case rafiki.money - to accept an outgoing payment of $0.

!> When your rafiki.money tab opens, it sometimes fails to provide a functioning URL and requires refreshing!

!> Watch out for blocked popups!

Once you've accepted the payment, Dhali will confirm that your wallet accepted the outgoing payment request and allow you to login to Dhali. At this point, you can test the Dhali integration: 1. Try adding a deposit to your balance. 2. Try generating a new authentication key for accessing APIs (note, in this alpha release, your auth key will not work).

If you'd like to be involved in the Dhali project in any way, please feel free to reach out to us via Twitter or email: info@dhali.io.