Releases: razorpay/razorpay-python
v1.4.2
feat: Added new API endpoints
- 54a0372: Added support for
addBankAccount
,deleteBankAccount
,requestEligibilityCheck
&fetchEligibility
on customer - ec997c6: Added support for Dispute
- e0cf503: Added support for Document
- 3320a23: Added support for fetch all IINs Supporting native otps & fetch all IINs with business sub-type using
all
- e40fbf1: Added support for
viewRtoReview
&editFulfillment
on order
v1.4.1
#255 6fa5fe2
feat: Added new API endpoints.
- Added account onboarding API (create, fetch, edit, delete)
- Added stakeholders API (create, fetch, all, edit)
- Added product configuration API (requestProductConfiguration, fetch, edit, fetchTnc)
- Added webhooks API (create, fetch, all, edit, delete)
- Added token sharing API (create, fetchToken, deleteToken, processPaymentOnAlternatePAorPG)
- Added Documents API (uploadAccountDoc(, fetchAccountDoc, uploadStakeholderDoc, fetchStakeholderDoc)
v1.3.1
-
Added Third party validation & Otp API for Payment (createUpi, validateVpa, otpGenerate, otpSubmit, otpResend)
-
Update Documention
v1.3.0
- Added Item Api
- Added RegistrationLink Api
- QR code end point API
- Update, cancel update ,fetch details of a Pending Update, pause, resume subscription & delete offer API
- Add create ondemand , fetch all demand, fetch demand by id & report for settlement
- Add/Delete TPV Bank Account
- Register emandate and charge first payment together
- PaperNACH/Register NACH and charge first payment together
- Added create recurring payment, fetch card details, card downtime & card downtime by Id , create payment json API's for payment
- Added edit and notify API's for payment links
- Added edit, refund, fetch multiple refund, fetch multiple refund by id API's for refunds
- Added edit order API
- Fund API's end point
- UPI
- Added Verfiy payment link ,payment & subscription verification
- Update Testcases
- Update readme file
1.2.0
1.1.0
Added
- Added Client for Virtual Account, Transfer, Subscriptions.
1.0.2
[1.0.2] - 2017-07-31
Fixed
- Webhook signature verification
- Added support for python ver < 2.7.7
The webhook signature verification method was fixed to allow custom secrets for webhooks. We also changed the method signature to make it consistent across all SDKs.
Support was added for a constant time string comparison (used in signature verification) for Python ver < 2.7.7.
1.0.1
Added
- Adds support for setting application details in the user-agent header.
App Details
After setting up client, you can set your app details before making any request
to Razorpay using the following:
client.set_app_details({"title" : "<YOUR_APP_TITLE>", "version" : "<YOUR_APP_VERSION>"})
For example, you can set the title to Django
and version to 1.8.17
. Please ensure
that both app title and version are strings.
1.0.0
Added
- Added Support For Signature Validation
- Added Client for Card, Customer, Token
- Now Sdk throws BadRequestError, GatewayError, ServerError, SignatureVerificationError depending on error occurred
- Supports Notes for Order and Refund, and line items in Invoices
Changed
- Refund Can be fetched by just refund id, previously it needed payment id also
- Test Coverage Increased to 100%
- Deprecated fetch_all in favor of all
- Take params in a dictionary instead of key/value pair
Upgrade Notes
- Deprecated
fetch_all
, instead useall
- Fetching refund Doesn't require payment_id
# v0.X
client.refund.fetch("<PAYMENT_ID>", "<REFUND_ID>")
# v1.0.0
client.refund.fetch("<REFUND_ID>")
- Fetching all payment for order
# v0.X
client.order.fetch_all_payments("<ORDER_ID>")
# v1.0.0
client.order.payments("<ORDER_ID>")
- Utility class can be used to verify signatures received from Razorpay
- Payment response verification
params_dict should have razorpay_order_id, razorpay_payment_id, razorpay_signature
which are received after payment callback
- Payment response verification
client.utility.verify_payment_signature(params_dict)
You can find more details at the Orders API Documentation
- Webhook verification
client.utility.verify_webhook_signature(webhook_signature, webhook_body)