Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tracking info #735

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

None yet

2 participants