Skip to content

Cancel Transfer is calling the wrong method #104

@jdiazper

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!

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