Skip to content

Commit e0b9584

Browse files
feat: all payment link tools (#19)
* feat: create_payment_link_upi * feat: create_payment_link_upi additional fields * feat: send_payment_link * feat: update_payment_link * feat: fetch_all_payment_links * docs: update pl tools * fix: adding new validator * feat: validators set target key * feat: UTs for new val functions. * feat: additional fields for std payment links * fix: type mismatches * fix: optional params * fix: fixed sdk call for fetch all and remove business logic vals * fix: added params for std links * refactor: better names for val funcs * fix: UTs * fix: UTs * fix: lint errs * fix: lint errs * fix: change validator zero value behaviour * fix: lint errs
1 parent fe46084 commit e0b9584

File tree

6 files changed

+1323
-77
lines changed

6 files changed

+1323
-77
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,13 @@ Currently, the Razorpay MCP Server provides the following tools:
1212
| `fetch_payment` | Fetch payment details with ID | [Payment](https://razorpay.com/docs/api/payments/fetch-with-id)
1313
| `fetch_payment_card_details` | Fetch card details used for a payment | [Payment](https://razorpay.com/docs/api/payments/fetch-payment-expanded-card)
1414
| `fetch_all_payments` | Fetch all payments with filtering and pagination | [Payment](https://razorpay.com/docs/api/payments/fetch-all-payments)
15-
| `update_payment` | Update the notes field of a payment | [Payment](https://razorpay.com/docs/api/payments/update)| `create_payment_link` | Creates a new payment link (standard) | [Payment Link](https://razorpay.com/docs/api/payments/payment-links/create-standard)
16-
| `fetch_payment_link` | Fetch details of a payment link (standard) | [Payment Link](https://razorpay.com/docs/api/payments/payment-links/fetch-id-standard/)
15+
| `update_payment` | Update the notes field of a payment | [Payment](https://razorpay.com/docs/api/payments/update)|
16+
| `create_payment_link` | Creates a new payment link (standard) | [Payment Link](https://razorpay.com/docs/api/payments/payment-links/create-standard)
17+
| `create_payment_link_upi` | Creates a new UPI payment link | [Payment Link](https://razorpay.com/docs/api/payments/payment-links/create-upi)
18+
| `fetch_all_payment_links` | Fetch all the payment links | [Payment Link](https://razorpay.com/docs/api/payments/payment-links/fetch-all-standard)
19+
| `fetch_payment_link` | Fetch details of a payment link | [Payment Link](https://razorpay.com/docs/api/payments/payment-links/fetch-id-standard/)
20+
| `send_payment_link` | Send a payment link via SMS or email. | [Payment Link](https://razorpay.com/docs/api/payments/payment-links/resend)
21+
| `update_payment_link` | Updates a new standard payment link | [Payment Link](https://razorpay.com/docs/api/payments/payment-links/update-standard)
1722
| `create_order` | Creates an order | [Order](https://razorpay.com/docs/api/orders/create/)
1823
| `fetch_order` | Fetch order with ID | [Order](https://razorpay.com/docs/api/orders/fetch-with-id)
1924
| `fetch_all_orders` | Fetch all orders | [Order](https://razorpay.com/docs/api/orders/fetch-all)

0 commit comments

Comments
 (0)