Skip to content

Commit 89a8d33

Browse files
committed
Swap GET to POST on Refund method
1 parent 8734e06 commit 89a8d33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

easypost/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,7 @@ def refund(self, **params):
734734
requestor = Requestor(self._api_key)
735735
url = "%s/%s" % (self.instance_url(), "refund")
736736

737-
response, api_key = requestor.request('get', url, params)
737+
response, api_key = requestor.request('post', url, params)
738738
self.refresh_from(response, api_key)
739739
return self
740740

0 commit comments

Comments
 (0)