Skip to content

Cancel Transfer is calling the wrong method #104

Description

@jdiazper

Hi CurrencyCloud Team,

Version: v5.7.0

When trying to execute a cancel transfer using Curerncy Cloud Python SDK it fails as it is calling GET method instead of POST.

return Transfer(self, **self.get('/v2/transfers/' + resource_id + "/cancel", query=kwargs))

Instead it should be:

return Transfer(self, **self.post('/v2/transfers/' + resource_id + "/cancel", kwargs))

Regards and thanks!

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