Skip to content

Calling the Accounts API list endpoint gives and Unhandled API exception #41

@hsaloiye

Description

@hsaloiye

Description

Calling the /accounts/v1/account/list endpoint via the
Accounts.php list_accounts() function returns an Unhandled API exception.

Expected Behavior

We should receive a list of all subaccounts associated with this account

Actual Behavior

This call returns an Unhandled API exception

Steps to Reproduce

  1. Have a test account which has a parent account and at least one subaccount
  2. Using this API Client, attempt to call the /accounts/v1/account/list endpoint via the list_accounts()

I suspect this issue will also occur for other endpoints which pass in an empty list in the request bod.

Workarounds

checking out an older version of this repo before commit #38 will work.

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