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

recipient cmd #3

Open
gedw99 opened this issue Mar 29, 2021 · 6 comments
Open

recipient cmd #3

gedw99 opened this issue Mar 29, 2021 · 6 comments

Comments

@gedw99
Copy link

gedw99 commented Mar 29, 2021

Hey

It would be fantastic if recipient cmd worked.

Being able to automate payments to people is really useful for me.

@jtrotsky
Copy link
Owner

jtrotsky commented Oct 17, 2021

Hey @gedw99 , sorry for the slow response – simply have not picked this project up in months.

Recipient creation would be quite complex from the CLI as it's quite important to handle field validation (e.g. length of account number varies by currency). There is a specific Account Requirements API to help with this, but it works best with a form UI where you can validate inputs live. Not impossible via CLI just high effort.

So that I understand why this would be useful to you, is it:

  1. To see an example of how to Wise implement recipient creation in Go
  2. To import this pkg like an SDK to make the recipient creation calls + handle errors
  3. To actually manage and create recipients directly from the CLI to send payments to them
  4. Something else?

Thanks again for your interest in this project 😊

@gedw99
Copy link
Author

gedw99 commented Oct 26, 2021

Hey

Mhh multiple choice :)

mostky for 2. I need an api that I can wrap and then use with gui and cli.

The cli btw can use a prompt golang pkg if you feel like it . There are some good ones around for go

@gedw99
Copy link
Author

gedw99 commented Oct 26, 2021

I have used this and it’s pretty popular

https://github.com/manifoldco/promptui

@gedw99
Copy link
Author

gedw99 commented Nov 18, 2021

hey @jtrotsky

I can imagine how busy you are.

Did you have anything you needed to discuss.

If you get the recipient API done i can quickly build a golang gui to allow a human to pick the currency, and any other workflows. A CLi can also use the same API.

It also maybe that we need a domain level API that wraps the individual packages.

Is there any async flows between any packages, in that when a mutations occurs in one package, we need to call out to a different package. Basically what some cal business transactions.

@jtrotsky
Copy link
Owner

Thanks @gedw99 , nothing more needed to discuss just now. Makes sense if you've got plans for a GUI 👍🏻

@gedw99
Copy link
Author

gedw99 commented Nov 21, 2021

Ok thanks

will build the gui and send you the link

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

No branches or pull requests

2 participants