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.
2 parents 0fc712a + 4266095 commit 80c7474Copy full SHA for 80c7474
iamport/client.py
@@ -142,6 +142,14 @@ def pay_schedule_get(self, merchant_id):
142
url = '{}subscribe/payments/schedule/{}'.format(self.imp_url, merchant_id)
143
return self._get(url)
144
145
+ def pay_schedule_get_between(self, **kwargs):
146
+ url = '{}subscribe/payments/schedule'.format(self.imp_url)
147
+ for key in ['schedule_from', 'schedule_to']:
148
+ if key not in kwargs:
149
+ raise KeyError('Essential parameter is missing!: %s' % key)
150
+
151
+ return self._get(url, kwargs)
152
153
def pay_unschedule(self, **kwargs):
154
url = '{}subscribe/payments/unschedule'.format(self.imp_url)
155
if 'customer_uid' not in kwargs:
0 commit comments