Skip to content

Conversation

@KristianWahlroos
Copy link
Contributor

There is now get_spsp_with_tracking

@darentuzi
Copy link
Collaborator

This change allows for payment initiators to append some metadata to a payment.
Currently an SPSP request
GET http://url/accounts/main_account/spsp/
would be transformed into a reply containing ilp address
test.example.main_account

with this additional method, the new code supports the old format but also an optional format like
GET http://url/accounts/main_account/spsp/key_value~orAnyOtherBlobOfText
would be transformed into a reply containing ilp address
test.example.main_account.key_value~orAnyOtherBlobOfText

The extra information is appended as ILP address interaction as defined by https://interledger.org/rfcs/0015-ilp-addresses/

@KristianWahlroos KristianWahlroos force-pushed the add_tracking_info branch 2 times, most recently from 7c51bf9 to e104d12 Compare December 3, 2021 02:58
@KristianWahlroos KristianWahlroos force-pushed the add_tracking_info branch 2 times, most recently from 954c3e7 to bad840a Compare December 19, 2021 23:09
Co-authored-by: Joonas Koivunen <joonas.koivunen@gmail.com>
Co-authored-by: Daren Tuzi <darentuzi@gmail.com>
Co-authored-by: Frans Saukko <frans@equilibrium.co>
Signed-off-by: Kristian Wahlroos <kristian.whl@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants