Resolve a risk review
/risk/review/{review_id}Resolves a pending risk review by approving or declining it. Only reviews in status pending_review can be resolved.
Resolving a review only records the decision: the reviewed charge or customer is not changed. A review.transaction.reviewed or review.customer.reviewed webhook is sent.
Headers
AuthorizationstringRequiredPath parameters
review_idstringRequiredUnique identifier for the risk review.
Parameters
statusstringRequiredThe resolution status for the review.
status_reasonstringRequiredThe reason for the resolution decision.
reviewer_identifierstringIdentifier of the person or system that resolved the review.
reviewer_originstringThe source of the review decision.
Returns
Returns the risk review object.
idstringRequiredUnique identifier for the risk review.
resourcestringRequiredString representing the object's type.
referencestringRequiredUnique identifier for the reviewed object. A charge (chrg_), hold (hld_), refund (rfnd_) or payout (po_) ID when type is transaction, or a customer ID (cust_) when type is customer.
typestringRequiredType of entity being reviewed. One of transaction or customer.
statusstringRequiredStatus of the review. One of pending_review, approved, declined, or expired (not resolved before expires).
status_reasonstring or nullThe reason given when the review was resolved. Null until the review is resolved.
reviewer_identifierstring or nullIdentifier of the person or system that resolved the review. Null until the review is resolved.
reviewer_originstring or nullThe source of the review decision. Null until the review is resolved.
createdstringRequiredTime at which the object was created, in ISO 8601 format.
expiresstringTime at which a pending review expires, in ISO 8601 format.
test_modebooleanWhether the review was created in the sandbox.
Errors
400pending_review ("Unable to update already processed review").401invalid_key, invalid_token, legacy_keys_ended, legacy_keys_off or permission_denied).403resource_not_allowed, key_disabled, network_not_allowed, pci_required or merchant_required), or this resource isn't enabled for your account (permission_denied). code says why.404500503Retry-After, or after a few seconds when there's none.