Skip to content

adding sender vasp demo endpoints #206

New issue

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

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

Already on GitHub? # to your account

Merged
merged 5 commits into from
Sep 18, 2024

Conversation

matthappens
Copy link
Contributor

@matthappens matthappens commented Sep 9, 2024

Sender VASP demo endpoints

this adds 2 demo endpoints

  • receive an invoice from a receiver vasp and cache it for later client payment
  • process a payrequest for a full incoming uma invoice, or a cached invoice

testing

run 2 vasps, a receiver vasp on 8080 and a sender vasp on 8081

receiver invoice to sender vasp
curl -u <username>:<password> -X POST "http://localhost:8081/api/uma/request_and_pay_invoice?invoice=<bech32 encoded invoice>"

sender client to sender vasp:
curl -u <username>:<password> -X POST "http://localhost:8081/api/uma/pay_invoice?invoice=<bech32 encoded invoice, or uuid identifying a cached invoice>

Copy link
Contributor Author

matthappens commented Sep 9, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @matthappens and the rest of your teammates on Graphite Graphite

@matthappens matthappens marked this pull request as ready for review September 9, 2024 22:12
@matthappens matthappens force-pushed the mrdavis/receiver-vasp-kotlin-demo branch from 02027d8 to 43e5dd0 Compare September 9, 2024 22:32
@matthappens matthappens force-pushed the mrdavis/sender-vasp-kotlin-demo branch 2 times, most recently from 92cf557 to 2a180ff Compare September 9, 2024 22:51
@matthappens matthappens force-pushed the mrdavis/receiver-vasp-kotlin-demo branch from 0bbc34e to a64fa2c Compare September 11, 2024 00:10
@matthappens matthappens force-pushed the mrdavis/sender-vasp-kotlin-demo branch from 8960d1c to 32aaecf Compare September 11, 2024 00:11
@matthappens matthappens force-pushed the mrdavis/receiver-vasp-kotlin-demo branch 2 times, most recently from 8d559f9 to b5de722 Compare September 11, 2024 00:13
@matthappens matthappens force-pushed the mrdavis/sender-vasp-kotlin-demo branch from 32aaecf to 673b732 Compare September 11, 2024 00:13
@matthappens matthappens force-pushed the mrdavis/receiver-vasp-kotlin-demo branch from b5de722 to e6e92e8 Compare September 11, 2024 00:27
@matthappens matthappens force-pushed the mrdavis/sender-vasp-kotlin-demo branch 3 times, most recently from 5db4aba to 47e77d8 Compare September 17, 2024 22:30
@matthappens matthappens changed the base branch from mrdavis/receiver-vasp-kotlin-demo to graphite-base/206 September 17, 2024 22:45
@matthappens matthappens force-pushed the mrdavis/sender-vasp-kotlin-demo branch from 47e77d8 to 5438562 Compare September 17, 2024 22:45
@matthappens matthappens changed the base branch from graphite-base/206 to develop September 17, 2024 22:46
@matthappens matthappens force-pushed the mrdavis/sender-vasp-kotlin-demo branch from 5438562 to a93d657 Compare September 17, 2024 22:46
@matthappens matthappens merged commit 1fffb04 into develop Sep 18, 2024
1 check passed
@matthappens matthappens deleted the mrdavis/sender-vasp-kotlin-demo branch September 18, 2024 15:56
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants