Skip to content

PHP API Question: #66

Description

@jpxavier

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions