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

feat: added createIncomingPayment functionality for GraphQL #650

Merged
merged 3 commits into from
Oct 5, 2022

Conversation

JoblersTune
Copy link
Collaborator

@JoblersTune JoblersTune commented Oct 3, 2022

Changes proposed in this pull request

  • Added createIncomingPayment functionality
  • Added tests for the new feature

Context

Checklist

  • Related issues linked using fixes #number
  • Tests added/updated
  • Documentation added
  • Make sure that all checks pass

@JoblersTune JoblersTune self-assigned this Oct 3, 2022
@github-actions github-actions bot added pkg: backend Changes in the backend package. pkg: map Changes in mock-account-provider package type: source Changes business logic type: tests Testing related labels Oct 3, 2022
Copy link
Contributor

@wilsonianb wilsonianb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't necessarily have to be in this pr, but I think we also want to be able to create incoming payments at other Open Payments servers via the admin api:
#580 (comment)

* fix: removed unnecessary reference to grantId

* fix: made the expiresAt field nullable

* test: added tests that test with/without incomingAmount and expiresAt
fix: testing against input values directly instead of the created payment
@JoblersTune JoblersTune merged commit 464ef81 into main Oct 5, 2022
@JoblersTune JoblersTune deleted the sj-create-incoming-payment branch October 5, 2022 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: backend Changes in the backend package. pkg: map Changes in mock-account-provider package type: source Changes business logic type: tests Testing related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add CreateIncomingPayment on the admin graphql
2 participants