Skip to Content
Docs
Risk review

List risk reviews for a resource

GET/risk/review/reference/{reference_id}

Returns the risk reviews for a charge, hold, refund, payout or customer. The list is not paginated. A reference with no reviews returns an empty data array.

Headers

AuthorizationstringRequired
HTTP Basic auth: your API key as the password, with an empty username. See Authentication.

Path parameters

reference_idstringRequired

Unique identifier for the reviewed charge (chrg_), hold (hld_), refund (rfnd_), payout (po_) or customer (cust_). Your own references are not accepted.

Returns

Returns a list of risk review objects.

resourcestringRequired

String representing the object's type.

One of reviews.

dataarray of objectsRequired

Risk reviews for the resource. Empty when there are none.

Show 11 child attributesHide child attributes
idstringRequired

Unique identifier for the risk review.

resourcestringRequired

String representing the object's type.

One of review.

referencestringRequired

Unique 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.

typestringRequired

Type of entity being reviewed. One of transaction or customer.

One of transaction or customer.

statusstringRequired

Status of the review. One of pending_review, approved, declined, or expired (not resolved before expires).

One of pending_review, approved, declined or expired.

status_reasonstring or null

The reason given when the review was resolved. Null until the review is resolved.

reviewer_identifierstring or null

Identifier of the person or system that resolved the review. Null until the review is resolved.

reviewer_originstring or null

The source of the review decision. Null until the review is resolved.

createdstringRequired

Time at which the object was created, in ISO 8601 format.

expiresstring

Time at which a pending review expires, in ISO 8601 format.

test_modeboolean

Whether the review was created in the sandbox.

Errors

400
Invalid request parameters.
401
The API key or access token is missing, unknown or no longer works (invalid_key, invalid_token, legacy_keys_ended, legacy_keys_off or permission_denied).
403
The request was refused: the API key may not make it (for example resource_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.
500
Internal server error.
503
Service unavailable. Retry after the number of seconds in Retry-After, or after a few seconds when there's none.
Was this page helpful?