forked from razorpay/razorpay-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6239273
commit 14a6957
Showing
2 changed files
with
31 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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" |