Available in🇮🇳 India
A review is the customer’s response to a review request. Reviews are written only by customers. As a merchant, you read them on the request or through the Reviews API, and moderate them with Moderate a Review.
The Review entity has the following parameters:
Read-only. The Razorpay Customer id, prefixed
cust_, when one is known. The customer’s details at the time of submission are in customer.Read-only snapshot of the customer’s details, taken at submission, with
name, contact and email. It is not changed by later edits to the Customer. This object is returned only on authenticated merchant APIs, never on public storefront reads.What the review is for. Possible values:
product: A review of a single product on the order. Feeds the product rating.order: A review of the order as a whole. Feeds no product rating.
Moderation state of the review. Possible values:
published: Live on the merchant’s storefront and counted in ratings.awaiting_approval: Held for the merchant to approve or hide.hidden: The merchant unpublished it, or hid it from the queue. Reversible.
published is publicly visible.The line item this review is against, echoing
sku, name and variant_id. null when applies_to is order.The merchant’s ask to reconsider this review, when one exists. Always
null when applies_to is order. See the Update Request entity.Review moderation lifecycle
The lifecycle applies toproduct and order reviews alike. The publishing mode and the auto-publish minimum rating are configured outside this API.
The transitions are:
- On submission: to
awaiting_approvalin manual mode; topublishedin auto mode when the rating is at or above the minimum; toawaiting_approvalin auto mode when the rating is below the minimum. awaiting_approvaltopublishedorhidden.publishedtohidden, and back.publishedtoawaiting_approvalon a content revision through an update request, in manual mode.
Handy TipsOnly
published reviews are publicly visible. Unrecognised states stay hidden. The internal created state is never returned.Data handlingA review carries
customer_id and a customer snapshot (name, contact, email) taken at submission, so the record stays as submitted even if the Customer is edited later. The snapshot is returned only on authenticated merchant APIs; public storefront reads never include it. On submission, Razorpay also records the submitting IP, user agent and origin host with the review for fraud analysis and audit. These are not returned by any endpoint and are retained per the data-retention policy.