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

PHP API Question: #66

Open
jpxavier opened this issue Dec 17, 2013 · 0 comments
Open

PHP API Question: #66

jpxavier opened this issue Dec 17, 2013 · 0 comments

Comments

@jpxavier
Copy link

If I already have the bank account token (id returned by balanced.js), do I need to do a get to credit the account?
The documentation at:

https://docs.balancedpayments.com/current/api.html?language=php#credit-an-existing-bank-account

says: To credit an existing bank account, you simply pass the amount to the nested credit endpoint of a bank account. The credits_uri is a convenient uri provided so that you can simply issue a POST with the amount and a credit shall be created.

But the example given below it, does a get on bank account first and then a credit.
How do I post to the credits_uri with the amount and other parameters without first doing a get?

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

1 participant