interledger / interledger-rs

An easy-to-use, high-performance Interledger implementation written in Rust
http://interledger.rs
Other
201 stars 70 forks source link

Is there any way to send additional data when making payments? #691

Open Srtake opened 3 years ago

Srtake commented 3 years ago

According to ILP SPSP specification, given the open STREAM connection, either the SPSP Client or the Server can begin sending ILP packets of data. In a wallet, we may want to send these additional data when making payments to satisfy our business requirements.

In Interledger.js ilp packet, there is an optional data field in PayOptions in spsp.ts. Could you tell me whether there is any approach to implement this functionality? I researched the HTTP APIs of Interledger-rs, but have not found it yet.