Skip to content

Commit 0f17f2c

Browse files
author
gaurav
committed
[python-sdk] updated README
1 parent 9bb40fa commit 0f17f2c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ client = razorpay.Client(auth=("<YOUR_API_KEY>", "<YOUR_API_SECRET>"))
2727
- Fetch all payments
2828

2929
```py
30-
client.payment.fetch_all()
30+
client.payment.all()
3131
```
3232

3333
- Fetch a particular payment
@@ -66,7 +66,7 @@ client = razorpay.Client(auth=("<YOUR_API_KEY>", "<YOUR_API_SECRET>"))
6666
- fetch all refunds
6767

6868
```py
69-
client.refund.fetch_all()
69+
client.refund.all()
7070
```
7171

7272
### Orders
@@ -92,7 +92,7 @@ client = razorpay.Client(auth=("<YOUR_API_KEY>", "<YOUR_API_SECRET>"))
9292
- fetch all orders
9393

9494
```py
95-
client.order.fetch_all()
95+
client.order.all()
9696
```
9797

9898
- fetch Payments of order
@@ -121,7 +121,7 @@ client = razorpay.Client(auth=("<YOUR_API_KEY>", "<YOUR_API_SECRET>"))
121121
- fetch all invoices
122122

123123
```py
124-
client.invoice.fetch_all()
124+
client.invoice.all()
125125
```
126126

127127
### Card

0 commit comments

Comments
 (0)