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

Adding settlement APIs and balances API #42

Merged
merged 7 commits into from
May 15, 2020

Conversation

tarunkumar2
Copy link
Contributor

The sample app doesn't have the APIs for fetching the settlements list and settlement detail. Also the payments API list doesn't have the fetch Balance endpoint.
Adding the above mentioned API to the sample application

Do Not Merge until the API has been added.

@MasterXen
Copy link
Contributor

Makes sense, but settlements can be queried by both merchants and marketplaces. Depending on the case, the user needs to specify different parameters. See: https://github.com/circlefin/payment-processor/blob/89fb1ca3a8f000e094af431ad8945aff210e25d8/payment-processor/src/main/java/com/circle/paymentprocessor/resources/v1/SettlementsResource.java#L73-L78

lib/settlementsApi.ts Show resolved Hide resolved
lib/settlementsApi.ts Show resolved Hide resolved
pages/debug/settlements/details.vue Outdated Show resolved Hide resolved
pages/debug/settlements/details.vue Outdated Show resolved Hide resolved
@kristinfritsch
Copy link
Contributor

kristinfritsch commented May 14, 2020

  • - Can you please also update: /debug/view (add the new endpoints)
  • - I don't think we have balances endpoint for marketplaces
  • - sorry, i was wrong about the MarketPlaceInfo, we should not reuse it for query params. Looking at the model in the api the prop should not be null

Copy link
Contributor

@kristinfritsch kristinfritsch left a comment

Choose a reason for hiding this comment

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

👍

@kristinfritsch kristinfritsch merged commit c9702ee into circlefin:master May 15, 2020
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.

3 participants