Skip to content

Stripe: Reviews schemas

3 Stripe schemas with complete fields and constraints.

← Reviews operations · All schemas

Approve a review — response body

FieldTypePresenceDescription and constraints
$objectRootReviews can be used to supplement automated fraud detection with human expertise.

Learn more about [Radar](/radar) and reviewing payments
[here](https://docs.stripe.com/radar/reviews).
billing_zipJSONOptional
billing_zip (anyOf 1)stringAlternativeThe ZIP or postal code of the card used, if applicable.
Maximum length: 5000
billing_zip (anyOf 2)nullAlternative
chargeJSONOptional
charge (anyOf 1)JSONAlternativeThe charge associated with this review.
charge (anyOf 1) (anyOf 1)stringAlternativeMaximum length: 5000
charge (anyOf 1) (anyOf 2)ModelAlternativeExpand Create a charge — response body
charge (anyOf 2)nullAlternative
closed_reasonJSONOptional
closed_reason (anyOf 1)stringAlternativeThe reason the review was closed, or null if it has not yet been closed. One of `approved`, `refunded`, `refunded_as_fraud`, `disputed`, `redacted`, `canceled`, `payment_never_settled`, or `acknowledged`.
Known values: acknowledged, approved, canceled, disputed, payment_never_settled, redacted, refunded, refunded_as_fraud
closed_reason (anyOf 2)nullAlternative
createdJSONRequired within parent
created (anyOf 1)integerAlternativeTime at which the object was created. Measured in seconds since the Unix epoch.
Format: unix-time
created (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
idstringRequired within parentUnique identifier for the object.
Maximum length: 5000
ip_addressJSONOptional
ip_address (anyOf 1)stringAlternativeThe IP address where the payment originated.
Maximum length: 5000
ip_address (anyOf 2)nullAlternative
ip_address_locationJSONOptional
ip_address_location (anyOf 1)JSONAlternativeInformation related to the location of the payment. Note that this information is an approximation and attempts to locate the nearest population center - it should not be used to determine a specific address.
ip_address_location (anyOf 1) (anyOf 1)ModelAlternativeExpand Approve a review — response body — ip address location value city, country, latitude, longitude, region
ip_address_location (anyOf 2)nullAlternative
livemodebooleanRequired within parentIf the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
objectstringRequired within parentString representing the object's type. Objects of the same type share the same value.
Known values: review
openbooleanRequired within parentIf `true`, the review needs action.
opened_reasonstringRequired within parentThe reason the review was opened. One of `rule` or `manual`.
Known values: manual, rule
payment_intentJSONOptionalThe PaymentIntent ID associated with this review, if one exists.
payment_intent (anyOf 1)stringAlternativeMaximum length: 5000
payment_intent (anyOf 2)ModelAlternativeExpand Cancel a Payment Intent — response body
reasonstringRequired within parentThe reason the review is currently open or closed. One of `rule`, `manual`, `approved`, `refunded`, `refunded_as_fraud`, `disputed`, `redacted`, `canceled`, `payment_never_settled`, or `acknowledged`.
Maximum length: 5000
sessionJSONOptional
session (anyOf 1)JSONAlternativeInformation related to the browsing session of the user who initiated the payment.
session (anyOf 1) (anyOf 1)ModelAlternativeExpand Approve a review — response body — session value browser, device, platform, version
session (anyOf 2)nullAlternative

Referenced models: Create a charge — response body, Cancel a Payment Intent — response body, Approve a review — response body — ip address location value city, country, latitude, longitude, region, Approve a review — response body — session value browser, device, platform, version

Approve a review — response body — ip address location value city, country, latitude, longitude, region

FieldTypePresenceDescription and constraints
$objectRoot
cityJSONOptional
city (anyOf 1)stringAlternativeThe city where the payment originated.
Maximum length: 5000
city (anyOf 2)nullAlternative
countryJSONOptional
country (anyOf 1)stringAlternativeTwo-letter ISO code representing the country where the payment originated.
Maximum length: 5000
country (anyOf 2)nullAlternative
latitudeJSONOptional
latitude (anyOf 1)JSONAlternative
latitude (anyOf 1) (anyOf 1)numberAlternativeThe geographic latitude where the payment originated.
latitude (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
latitude (anyOf 2)nullAlternative
longitudeJSONOptional
longitude (anyOf 1)JSONAlternative
longitude (anyOf 1) (anyOf 1)numberAlternativeThe geographic longitude where the payment originated.
longitude (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
longitude (anyOf 2)nullAlternative
regionJSONOptional
region (anyOf 1)stringAlternativeThe state/county/province/region where the payment originated.
Maximum length: 5000
region (anyOf 2)nullAlternative

Approve a review — response body — session value browser, device, platform, version

FieldTypePresenceDescription and constraints
$objectRoot
browserJSONOptional
browser (anyOf 1)stringAlternativeThe browser used in this browser session (e.g., `Chrome`).
Maximum length: 5000
browser (anyOf 2)nullAlternative
deviceJSONOptional
device (anyOf 1)stringAlternativeInformation about the device used for the browser session (e.g., `Samsung SM-G930T`).
Maximum length: 5000
device (anyOf 2)nullAlternative
platformJSONOptional
platform (anyOf 1)stringAlternativeThe platform for the browser session (e.g., `Macintosh`).
Maximum length: 5000
platform (anyOf 2)nullAlternative
versionJSONOptional
version (anyOf 1)stringAlternativeThe version for the browser session (e.g., `61.0.3163.100`).
Maximum length: 5000
version (anyOf 2)nullAlternative

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.