forked from razorpay/razorpay-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.py
More file actions
29 lines (21 loc) · 773 Bytes
/
test.py
File metadata and controls
29 lines (21 loc) · 773 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import razorpay
import requests
from pprint import pprint
import json
client = razorpay.Client(auth=("rzp_test_k6uL897VPBz20q", "EnLs21M47BllR3X8PSFtjtbd"))
data = {"customer_id":"cust_JnFmpXS63vWgYJ"}
#x = client.addon.delete("ao_JniYt836HF7aQm")
x = client.transfer.all({
'expand[]':'recipient_settlement'
})
print(json.dumps(x))
# def delete(self, addon_id, data={}, **kwargs):
# """
# Delete addon for given id
# Args:
# addon_id : Id for which addon object has to be deleted
# """
# url = '{}/{}'.format(self.base_url, addon_id)
# return self.delete_url(url, data, **kwargs)
# "please check response error_code , error_desc , tax and other are missing
# tested with account va_JccSJQQoGOBi2q"