Risk reviews
Approve or decline transactions flagged for manual review using the risk reviews API.
A risk review is created when a transaction or a customer matches a review rule configured in the dashboard. The review doesn't block the payment. The charge succeeds immediately. Instead, the review flags the transaction or customer so you can investigate and then approve or decline it through the API.
Requirements
Risk reviews need three things in place:
- Standalone Risk enabled on your account (contact Pay.com support)
- A review rule configured in the dashboard
- A webhook endpoint subscribed to the
review.transaction.createdevent (andreview.customer.createdif you use customer review rules)
How it works
You configure the rule once. Then each flagged charge reaches you as a webhook event, and you resolve its review through the API.
- 1
Configure a review rule
Create a review rule in the Pay.com dashboard that targets the transactions you want to flag. When a charge matches the rule, Pay.com creates a review automatically after the charge succeeds.
See Review rules for the conditions you can target and how to set them up.
- 2
Receive the webhook
Pay.com sends a
review.transaction.createdevent to your endpoint approximately 3-15 seconds after the charge is created. Thedata.idfield contains the review ID you'll use in the next steps.{ "id": "evt_701808188143438848", "resource": "event", "type": "review.transaction.created", "created": "2026-04-21T14:55:11.021Z", "data": { "id": "rvw_701808188000832512", "resource": "review", "created": "2026-04-21T14:55:10.987Z", "expires": "2026-04-24T14:55:10.987Z", "reference": "chrg_701808118295692288", "reviewer_identifier": null, "reviewer_origin": null, "status": "pending_review", "status_reason": null, "test_mode": true, "type": "transaction" } }The
data.referencefield contains the ID of the object that triggered the review, here a charge. Always verify thePay-Signatureheader before processing the event. See Verify webhook signatures. - 3
Retrieve the review
Use the review ID from the webhook to fetch the full review object. If you don't have the review ID, you can look it up by the ID of the flagged object instead: a charge, hold, refund, payout, or customer (
chrg_,hld_,rfnd_,po_, orcust_).If you have the review ID:
GET /v1/risk/review/rvw_701808188000832512{ "id": "rvw_701808188000832512", "resource": "review", "created": "2026-04-21T14:55:10.987Z", "expires": "2026-04-24T14:55:10.987Z", "reference": "chrg_701808118295692288", "reviewer_identifier": null, "reviewer_origin": null, "status": "pending_review", "status_reason": null, "test_mode": true, "type": "transaction" }If you only have the charge ID (returns a list, with an empty
dataarray when no review exists):GET /v1/risk/review/reference/chrg_701808118295692288{ "resource": "reviews", "data": [ { "id": "rvw_701808188000832512", "resource": "review", "created": "2026-04-21T14:55:10.987Z", "expires": "2026-04-24T14:55:10.987Z", "reference": "chrg_701808118295692288", "reviewer_identifier": null, "reviewer_origin": null, "status": "pending_review", "status_reason": null, "test_mode": true, "type": "transaction" } ] } - 4
Resolve the review
After investigating the transaction, call
PUT /v1/risk/review/{review_id}to approve or decline it. Bothstatusandstatus_reasonare required.The optional
reviewer_identifierandreviewer_originfields let you record who performed the review and from where.To approve:
{ "status": "approved", "status_reason": "Customer verified via phone call", "reviewer_identifier": "agent@example.com", "reviewer_origin": "manual" }{ "id": "rvw_701808188000832512", "resource": "review", "created": "2026-04-21T14:55:10.987Z", "expires": "2026-04-24T14:55:10.987Z", "reference": "chrg_701808118295692288", "reviewer_identifier": "agent@example.com", "reviewer_origin": "manual", "status": "approved", "status_reason": "Customer verified via phone call", "test_mode": true, "type": "transaction" }To decline:
{ "status": "declined", "status_reason": "Suspicious transaction pattern", "reviewer_identifier": "agent@example.com", "reviewer_origin": "manual" }{ "id": "rvw_701808188000832512", "resource": "review", "created": "2026-04-21T14:55:10.987Z", "expires": "2026-04-24T14:55:10.987Z", "reference": "chrg_701808118295692288", "reviewer_identifier": "agent@example.com", "reviewer_origin": "manual", "status": "declined", "status_reason": "Suspicious transaction pattern", "test_mode": true, "type": "transaction" }Resolving a review records your decision and sends a
review.transaction.reviewedevent (review.customer.reviewedfor a customer review). It doesn't change the linked transaction. A charge stayssucceededwhether you approve or decline. Declining is an internal record-keeping action. To reverse the funds, issue a refund separately.
The review object
The review object represents a flagged transaction or customer and tracks its status from creation to resolution. It is returned by
GET /v1/risk/review/{review_id} and
included in the review.* webhook payloads.
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for the review (rvw_...). |
resource | string | Always "review". |
created | string | ISO 8601 timestamp when the review was created. |
expires | string | ISO 8601 timestamp when the review expires, 3 days after created. |
reference | string | The ID of the flagged object: a charge, hold, refund, or payout (chrg_, hld_, rfnd_, po_) for transaction reviews, or a customer (cust_) for customer reviews. |
status | string | Current status: pending_review, approved, declined, or expired after 3 days without a decision. |
status_reason | string | The reason provided when the review was resolved. null until resolved. |
reviewer_identifier | string | Identity of the person who resolved the review. null until resolved. |
reviewer_origin | string | Source of the resolution, for example "manual". null until resolved. |
type | string | "transaction" or "customer". |
test_mode | boolean | true if the review was created in the sandbox. |
Next steps
- Review rules: configure the rules that trigger reviews.
- Risk assessments: score a payment before charging it to decide how to proceed.
- Risk reviews API reference: see the full technical reference for all review endpoints.