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

ERROR getAllTransactions using WITHDRAWAL status #224

Open
gilbertronaldo opened this issue Feb 7, 2024 · 0 comments
Open

ERROR getAllTransactions using WITHDRAWAL status #224

gilbertronaldo opened this issue Feb 7, 2024 · 0 comments

Comments

@gilbertronaldo
Copy link

Problem:

When attempting to call $apiInstance->getAllTransactions() with the parameter types set to 'WITHDRAWAL', the following error occurs:

Invalid value 'NOT_APPLICABLE' for 'status', must be one of 'PENDING', 'COMPLETED', 'CANCELED', 'REVERSED'

Cause:

The error arises because the API response contains a status value of 'NOT_APPLICABLE', which is not currently handled by the FeeResponse file.

Proposed Solution:

To resolve this issue, we need to update the FeeResponse file to include support for the 'NOT_APPLICABLE' status.

image

Steps to Reproduce:

  1. Call $apiInstance->getAllTransactions() with the types parameter set to 'WITHDRAWAL'.
  2. Observe the error message stating the invalid value for the status.

Expected Behavior:

The FeeResponse file should be updated to recognize and handle the 'NOT_APPLICABLE' status returned by the API.

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