Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Data Category

Event Field/Column Name

Data Type

Description

Applicability

Sample Value

Notes

Key

TenantId

VARCHAR

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptTenant ID
shouldDisplayInlineCommentsInIncludesfalse

ALWAYS

qvo-stg

Key

Tenant

VARCHAR

Multiexcerpt include macro
macro_uuid92aefef2-6d9d-4064-a29c-4aff6b6b5512
nameglossary_description
templateDataeJyLjgUAARUAuQ==
pageTenant
addpanelfalse

ALWAYS

Default

Key

ClientId

VARCHAR

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptClient ID
shouldDisplayInlineCommentsInIncludesfalse

ALWAYS

Default

Key

Client

VARCHAR

Multiexcerpt include macro
macro_uuid92aefef2-6d9d-4064-a29c-4aff6b6b5512
nameglossary_description
templateDataeJyLjgUAARUAuQ==
pageClient
addpanelfalse

ALWAYS

Default

Claim Details

ClaimType

VARCHAR

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptClaim Type
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

Card-Pinless

Claim Details

ClaimCategory

VARCHAR

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptClaim Category
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

Fraud

Claim Details

ClaimReason

VARCHAR

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptClaim Reason
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

Stolen

Transaction Details

Network

VARCHAR

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptNetwork
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

Mastercard, Visa

Key

ClaimId

VARCHAR

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptClaim ID
shouldDisplayInlineCommentsInIncludesfalse

ALWAYS

2306060014C

Key

DisputeId

VARCHAR

Multiexcerpt include macro
macro_uuida3e31307-8cb9-40d8-8eef-f74f27879680
nameglossary_description
templateDataeJyLjgUAARUAuQ==
pageDispute ID
addpanelfalse

ALWAYS

2306060014D

Collaboration Details

CollaborationNetwork

VARCHAR

Multiexcerpt include macro
macro_uuidb4875af9-d67e-4459-b420-cd0c48662e7b
nameglossary_description
templateDataeJyLjgUAARUAuQ==
pageCollaboration Network
addpanelfalse

ALWAYS

Ethoca

Transaction Details

MCC

VARCHAR

Multiexcerpt include macro
macro_uuid52651252-ce7a-4f9d-82c3-049c44fa95fe
nameglossary_description
templateDataeJyLjgUAARUAuQ==
pageMerchant Category Code
addpanelfalse

CONDITIONAL

3000

Transaction Details

Merchant

VARCHAR

Multiexcerpt include macro
macro_uuid200f2368-bfaa-45ae-914d-8f7e74726515
nameglossary_description
templateDataeJyLjgUAARUAuQ==
pageMerchant
addpanelfalse

CONDITIONAL

American Airlines

Dispute Details

ResolvedDate

Date

Multiexcerpt include macro
macro_uuid886fbc46-b8fe-4891-a766-e4a911a7ac65
nameglossary_description
templateDataeJyLjgUAARUAuQ==
pageResolution Date
addpanelfalse

CONDITIONAL

2024-07-16 18:34:03.696

Collaboration Details

Eligibility

VARCHAR

Multiexcerpt include macro
macro_uuid4ad065ba-ce6f-4ad4-b739-3ce0fb2e7471
nameglossary_description
templateDataeJyLjgUAARUAuQ==
pageCollaboration Eligibility
addpanelfalse

ALWAYS

Eligible, Not Eligible

Collaboration Details

AttemptDate

Date

Multiexcerpt include macro
macro_uuid80fb47d8-d931-4e39-8e6e-1679a3d0c200
nameglossary_description
templateDataeJyLjgUAARUAuQ==
pageAttempt Date
addpanelfalse

CONDITIONAL

2024-07-16 18:34:03.696

Collaboration Details

ResponseStatus

VARCHAR

CONDITIONAL

Response Received

Collaboration Details

Response

VARCHAR

Multiexcerpt include macro
macro_uuid717a3bca-9b45-4a6b-b802-fe0030c181d1
nameglossary_description
templateDataeJyLjgUAARUAuQ==
pageResponse
addpanelfalse

CONDITIONAL

Collaboration Request Accepted - Full: Other - Refunded

Collaboration Details

ResponseReceivedOn

Date

Multiexcerpt include macro
macro_uuid3f639f81-9cc8-454f-80e0-ee9132658334
nameglossary_description
templateDataeJyLjgUAARUAuQ==
pageResponse Date
addpanelfalse

CONDITIONAL

2024-07-16 18:34:03.696

Collaboration Details

ResponseTime

Number

Multiexcerpt include macro
macro_uuid2ae11b61-4913-40bf-bf5d-9b99a07fbfb9
nameglossary_description
templateDataeJyLjgUAARUAuQ==
pageResponse Time
addpanelfalse

CONDITIONAL

1

Hours

Collaboration Details

Outcome

VARCHAR

Multiexcerpt include macro
macro_uuida87827e9-5ba7-42e5-9705-094f71022739
nameglossary_description
templateDataeJyLjgUAARUAuQ==
pageOutcome Result
addpanelfalse

CONDITIONAL

Collaboration Details

RecoveryStatus

VARCHAR

Multiexcerpt include macro
macro_uuid65576a3a-95da-4fb1-9081-427a2e3c54c9
nameglossary_description
templateDataeJyLjgUAARUAuQ==
pageRecovery Status
addpanelfalse

CONDITIONAL

Recovered

Collaboration Details

CreditReceived

Number

Multiexcerpt include macro
macro_uuidf86debfb-0733-443c-9ef9-997899f46861
nameglossary_description
templateDataeJyLjgUAARUAuQ==
pageCredit Amount
addpanelfalse

CONDITIONAL

123.45

Collaboration Details

CreditReceivedOn

Date

Multiexcerpt include macro
macro_uuidd2136e10-472d-4a41-aeb5-19f76dbc7a7c
nameglossary_description
templateDataeJyLjgUAARUAuQ==
pageCredit Date
addpanelfalse

CONDITIONAL

2024-07-16 18:34:03.696

Collaboration Details

CreditTime

Number

Multiexcerpt include macro
macro_uuid095275a7-715b-464d-b06c-6ddd84765341
nameglossary_description
templateDataeJyLjgUAARUAuQ==
pageCredit Time
addpanelfalse

CONDITIONAL

1

Hours

SQL

For greater transparency, and to provide clients with a “jumping off” point for their own queries, the SQL used to generated this view is provided below.

Code Block
breakoutModefull-width
languagesql
(SELECT 
    d.tenantid AS TenantId,
    t.name AS Tenant,
    d.clientid AS ClientId,
    cl.commonname AS Client,
    c.claimtype,
    c.reasontype,
    c.reason,
    d.claimid AS ClaimID,
    d.disputeid AS DisputeID,
    (CASE
        when d.acquirernetwork = 'MasterCard' THEN 'Mastercard'
        when d.acquirernetwork = 'VISA' THEN 'Visa'
        else d.acquirernetwork
    END) AS Network,
    e.recoveryassociation AS CollaborationNetwork,
    d.merchantcategorycode AS MCC,
    d.merchantname AS Merchant,
    TO_TIMESTAMP_TZ(d.createdatetime::varchar || ' +0000'),
    TO_TIMESTAMP_TZ(d.resolveddatetime::varchar || ' +0000')AS ResolvedDate,
    INITCAP(e.actionname) AS Eligibility,
    TO_TIMESTAMP_TZ(r1.performedondatetime::varchar || ' +0000')AS AttemptDate,
    (CASE
        WHEN r2.actionname IS NOT NULL THEN 'Response Received'
        WHEN AttemptDate IS NOT NULL THEN 'No Response'
    END) AS ResponseStatus,
    r2.actionname AS Response,
    TO_TIMESTAMP_TZ(r2.performedondatetime::varchar || ' +0000')AS ResponseDate,
    (CASE
        WHEN AttemptDate IS NOT NULL AND ResponseDate IS NOT NULL THEN DATEDIFF(h, AttemptDate, ResponseDate) -- only evaluate response time when there is an attempt and a response
    END) AS ResponseTime,
    (CASE
        WHEN AttemptDate IS NOT NULL and r2.actionname IS NULL THEN 'No Response'
        ELSE m.outcome
    END) AS CollaborationOutcome,
    (CASE
        WHEN CollaborationOutcome = 'Accepted' AND (SELECT SUM(mc.appliedamount) FROM merchantcredit AS mc WHERE mc.tenantid = d.tenantid AND mc.disputeid = d.disputeid AND mc.appliedamount !=0) !=0 THEN 'Recovered' -- only associate credits with collaboration requests that are accepted.  For clients that use both networks, there will typically only be an "Accept" response via one of the two networks
        WHEN CollaborationOutcome = 'Accepted' THEN 'Not Recovered'
    END) AS RecoveryStatus,
    (CASE
        WHEN CollaborationOutcome = 'Accepted' THEN (SELECT SUM(mc.appliedamount) FROM merchantcredit AS mc WHERE mc.tenantid = d.tenantid AND mc.disputeid = d.disputeid AND mc.appliedamount !=0) -- only associate credits with collaboration requests that are accepted.  For clients that use both networks, there will typically only be an "Accept" response via one of the two networks
    END) AS MerchantCreditAmount,
    (CASE
        WHEN CollaborationOutcome = 'Accepted' THEN (SELECT MAX(mc.eventdatetime) FROM merchantcredit AS mc WHERE mc.tenantid = d.tenantid AND mc.disputeid = d.disputeid AND mc.appliedamount !=0) -- only associate credits with collaboration requests that are accepted.  For clients that use both networks, there will typically only be an "Accept" response via one of the two networks
    END) AS MerchantCreditDate,
    (CASE
        WHEN ResponseDate IS NOT NULL AND MerchantCreditDate IS NOT NULL THEN DATEDIFF(h, ResponseDate, MerchantCreditDate) -- only evaluate credit time if there was a response and a merchant credit
    END) AS CreditTime
FROM dispute AS d
JOIN (select row_number() over (partition by tenantid, disputeid, stage, actionname order by performedondatetime asc) as rn,* from recoveryaction) as e on e.tenantid = d.tenantid AND e.disputeid = d.disputeid AND e.recoveryassociation = 'Verifi' AND e.stage = 'Collaboration Eligibility' AND e.rn = 1
JOIN tenant AS t ON t.tenantid = d.tenantid
JOIN client AS cl ON cl.tenantid = d.tenantid AND cl.clientid = d.clientid
JOIN claim AS c ON c.tenantid = d.tenantid AND c.claimid = d.claimid
LEFT JOIN recoveryaction AS r1 ON r1.tenantid = d.tenantid AND r1.disputeid = d.disputeid AND r1.stage = 'Collaboration Initiated' AND r1.recoveryassociation = 'Verifi'
LEFT JOIN recoveryaction AS r2 ON r2.tenantid = d.tenantid AND r2.disputeid = d.disputeid AND r2.stage = 'Collaboration Response' AND r2.recoveryassociation = 'Verifi'
LEFT JOIN collaborationlookup AS m ON m.response = r2.actionname
ORDER BY d.tenantid ASC, d.claimid DESC, d.disputeid DESC)


Change Log

Date

Change Summary

11/26/2024

  • Added TransactionDate column

  • Added SQL Reference

12/11/2024

  • Added SQL Reference

  • Converted timestamps from NTZ to TZ format for compatibility