Skip to Content
Paycose Docs
Reviews

Reviews

The review object

A review is a payment Radar or you put up for a second look. The payment still goes through; approve the review to keep it, or refund it. Refunds, disputes and canceled payments close the review.

Attributes

  • idstringRequired

    Unique identifier for the object.

  • objectstringRequired

    String naming the object's type.

  • livemodebooleanRequired

    true when the object exists in live mode, false in test mode.

  • billing_zipstringRequiredNullable

    Billing postal code of the payment, or null.

  • chargestringRequiredExpandable

    ID of the charge under review.

  • closed_reasonstringRequiredNullable

    Why the review closed: approved, refunded, refunded_as_fraud, disputed, redacted or canceled. null while open.

  • ip_addressstringRequiredNullable

    IP address the payment came from, or null once redacted.

  • ip_address_locationobjectRequiredNullable

    Where that IP is, from Cloudflare's geolocation; null when the edge was not trusted.

    Show child attributes
    • ip_address_location.citystringRequired
    • ip_address_location.countrystringRequired
    • ip_address_location.latitudenumberRequiredNullable
    • ip_address_location.longitudenumberRequiredNullable
    • ip_address_location.regionstringRequired
  • openbooleanRequired

    Whether the review is still open.

  • opened_reasonstringRequired

    Why it opened, rule (a Radar rule) or manual.

  • payment_intentstringRequiredNullable

    ID of the payment intent, or null.

  • reasonstringRequired

    The opened reason while open, the closed reason after.

  • sessionobjectRequiredNullable

    The browser, device, platform and version the payment came from.

    Show child attributes
    • session.browserstringRequired
    • session.devicestringRequired
    • session.platformstringRequired
    • session.versionstringRequired
  • createdtimestampRequired

    Time the object was created, in Unix seconds.