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

Handle incoming funds via SPSP better #2696

Open
3 tasks
sabineschaller opened this issue May 2, 2024 · 0 comments
Open
3 tasks

Handle incoming funds via SPSP better #2696

sabineschaller opened this issue May 2, 2024 · 0 comments
Assignees

Comments

@sabineschaller
Copy link
Member

Context

Right now, there are no webhook events fired when funds are received to the payment pointer via SPSP. What needs to be done now is trigger those events manually using the triggerWalletAddressEvents mutation.

We would like to change that such that webhook events called interledger_payment_pointer.liquidity are fired as soon as the STREAM connection related to the payment pointer is closed.

webhook data example:

{
  "connectionId": "6912249c-59ae-40b9-afd3-a9977cb41512",
  "walletAddressId": "99c6a478-4d6b-4c16-b71e-c5fce3000295",
  "receivedAmount": {
    "value": "495000000",
    "assetCode": "USD",
    "assetScale": 9
  }
}

Todos

  • figure out place to trigger interledger_payment_pointer.liquidity webhook
  • remove triggerWalletAddressEvents mutation
  • update docs
@mkurapov mkurapov self-assigned this May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

2 participants