We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fa6160 commit f0276f1Copy full SHA for f0276f1
iamport/client.py
@@ -63,6 +63,10 @@ def _delete(self, url):
63
response = self.requests_session.delete(url, headers=headers)
64
return self.get_response(response)
65
66
+ def find_by_status(self, status, **params):
67
+ url = '{}payments/status/{}'.format(self.imp_url, status)
68
+ return self._get(url, params=params)
69
+
70
def find_by_merchant_uid(self, merchant_uid):
71
url = '{}payments/find/{}'.format(self.imp_url, merchant_uid)
72
return self._get(url)
0 commit comments