Skip to content

ERROR getAllTransactions using WITHDRAWAL status #224

Description

@gilbertronaldo

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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