{"info":{"_postman_id":"448aebba-5df7-4b56-a283-b0bead561b19","name":"MidMetrics Public APIs","description":"<html><head></head><body><p>MidMetrics provides the leading chargeback management and payment accounts analytics solution by integrating chargeback prevention, dispute resolution, and payment accounts analytics into one platform.</p>\n<p>Our API has two parts:</p>\n<ol>\n<li><p><strong>Events API</strong> - Allows a merchant to subscribe to events that happen in midmetrics. The events are Chargeback, RDR, Alert, or Inform. When one of the events occurs, a webhook call will be made to inform the merchant of these events.</p>\n</li>\n<li><p><strong>Order API -</strong> Allows a merchant to upload the information about orders that occur in their CRM. The information is used to provide dispute resolution.</p>\n</li>\n</ol>\n<p><strong>All requests to the API should be made to the base URL https://{EnterpriseName}.midmetircs.io/ where {EnterpriseName} is your enterprise name in MidMetrics. For example if your enterprise is named acme then API calls must be made to</strong> <a href=\"https://acme.midmetrics.io/\"><b>https://acme.midmetrics.io/</b></a><strong>. This URL is the same base URL that you access MidMetrics by.</strong></p>\n<h1 id=\"authentication\">Authentication</h1>\n<p>Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>curl --location --request POST 'https://{{YourEnterpriseName}}.midmetrics.io/api/EventSubscription' \\\n--header 'Authorization: Basic SecretAPIKey'\n\n</code></pre><p>Please email <a href=\"https://mailto:service@midmetrics.com\">service@midmetrics.com</a> for your secret **APIKey. Once you get your secret apikey, use it in the Authorization header with \"Basic \" (without quotes).</p>\n<p>**This is implementing HTTP Basic Authortization described in RFC 7617 <a href=\"https://datatracker.ietf.org/doc/html/rfc7617\">https://datatracker.ietf.org/doc/html/rfc7617</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Authentication","slug":"authentication"}],"owner":"8636185","collectionId":"448aebba-5df7-4b56-a283-b0bead561b19","publishedId":"UVXhqc18","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2025-08-21T11:57:16.000Z"},"item":[{"name":"Events API","item":[{"name":"Subscribe","id":"0a433468-8d99-4d9a-a6fe-0f9613a02c36","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Email\": \"jeff@midmetrics.io\",\r\n    \"ExternalUrl\": \"https://YourCallBackURL/api/ReceiveRDR\",\r\n    \"UserName\": \"YourCallbackUsername\",\r\n    \"Password\": \"YourCallbackPassword\",\r\n    \"EventType\": \"RDR\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://YourEnterpriseName.midmetrics.io/api/EventSubscription","description":"<p>Subscribe an external system's HTTP endpoints to events that occur in MidMetrics. When the event fires, MidMetrics POSTs a JSON payload to the subscribed URL with the configured authentication scheme applied (e.g. a CRM receiving an API call on every Chargeback).</p>\n<p>Event Subscriptions can also be managed inside the MidMetrics portal via our UI:</p>\n<img src=\"https://content.pstmn.io/12f00db3-ccb4-4f15-83f3-7e770a074ee8/aW1hZ2UucG5n\" width=\"426\" height=\"228\" />\n\n<h2 id=\"payload-schema\">Payload Schema</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>EventType</code></td>\n<td>string/enum</td>\n<td>yes</td>\n<td>Event to subscribe to. One of: <code>Alert</code>, <code>Chargeback</code>, <code>RDR</code>, <code>Inform</code>, <code>ChargebackUpdate</code></td>\n</tr>\n<tr>\n<td><code>ExternalUrl</code></td>\n<td>string</td>\n<td>yes</td>\n<td>URL MidMetrics will POST the event JSON to</td>\n</tr>\n<tr>\n<td><code>Email</code></td>\n<td>string</td>\n<td>yes</td>\n<td>Address notified when a webhook delivery fails (e.g. after retries are exhausted)</td>\n</tr>\n<tr>\n<td><code>AuthType</code></td>\n<td>int</td>\n<td>no (default <code>1</code>)</td>\n<td>Authentication scheme. See <a href=\"#auth-types\">Auth Types</a>. Defaults to <code>1</code> (Basic)</td>\n</tr>\n<tr>\n<td><code>UserName</code></td>\n<td>string</td>\n<td>conditional</td>\n<td>Basic auth username. Also used as <code>client_id</code> when <code>AuthType = 6</code> (JWT)</td>\n</tr>\n<tr>\n<td><code>Password</code></td>\n<td>string</td>\n<td>conditional</td>\n<td>Basic auth password. Also used as <code>client_secret</code> when <code>AuthType = 6</code> (JWT)</td>\n</tr>\n<tr>\n<td><code>BearerToken</code></td>\n<td>string</td>\n<td>conditional</td>\n<td>Static bearer token. Used when <code>AuthType = 2</code></td>\n</tr>\n<tr>\n<td><code>ApiKeyName</code></td>\n<td>string</td>\n<td>conditional</td>\n<td>API key header name or query-param name. Used when <code>AuthType = 3</code> or <code>4</code></td>\n</tr>\n<tr>\n<td><code>ApiKeyValue</code></td>\n<td>string</td>\n<td>conditional</td>\n<td>API key value. Used when <code>AuthType = 3</code> or <code>4</code></td>\n</tr>\n<tr>\n<td><code>HmacSecret</code></td>\n<td>string</td>\n<td>conditional</td>\n<td>Shared secret used to sign the request body. Used when <code>AuthType = 5</code></td>\n</tr>\n<tr>\n<td><code>JwtTokenUrl</code></td>\n<td>string</td>\n<td>conditional</td>\n<td>OAuth2 token endpoint. Used when <code>AuthType = 6</code>. Grant type: <code>client_credentials</code></td>\n</tr>\n<tr>\n<td><code>ExtraHeadersJson</code></td>\n<td>string (JSON object)</td>\n<td>no</td>\n<td>Extra headers applied to every webhook request regardless of <code>AuthType</code>. Example: <code>\"{\\\"X-Tenant\\\":\\\"acme\\\",\\\"X-Source\\\":\\\"MidMetrics\\\"}\"</code></td>\n</tr>\n<tr>\n<td><code>Disabled</code></td>\n<td>bool</td>\n<td>no</td>\n<td><code>true</code> disables delivery for this subscription</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"auth-types\">Auth Types</h2>\n<p>The <code>AuthType</code> integer on the payload selects how MidMetrics authenticates when calling <code>ExternalUrl</code>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>AuthType</code></th>\n<th>Name</th>\n<th>How the outbound webhook is authenticated</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>1</code></td>\n<td><code>Basic</code> <em>(default)</em></td>\n<td><code>Authorization: Basic base64(UserName:Password)</code></td>\n</tr>\n<tr>\n<td><code>2</code></td>\n<td><code>BearerToken</code></td>\n<td><code>Authorization: Bearer {BearerToken}</code> (static token)</td>\n</tr>\n<tr>\n<td><code>3</code></td>\n<td><code>ApiKeyHeader</code></td>\n<td>Custom header: <code>{ApiKeyName}: {ApiKeyValue}</code></td>\n</tr>\n<tr>\n<td><code>4</code></td>\n<td><code>ApiKeyQuery</code></td>\n<td>Adds <code>?{ApiKeyName}={ApiKeyValue}</code> to the URL</td>\n</tr>\n<tr>\n<td><code>5</code></td>\n<td><code>HmacSha256</code></td>\n<td>Signs <code>{unixTimestamp}.{body}</code> with <code>HmacSecret</code>. Sends <code>X-Timestamp: {ts}</code> and <code>X-Signature: sha256={hex}</code></td>\n</tr>\n<tr>\n<td><code>6</code></td>\n<td><code>Jwt</code></td>\n<td>POSTs <code>grant_type=client_credentials&amp;client_id={UserName}&amp;client_secret={Password}</code> to <code>JwtTokenUrl</code>, caches the returned <code>access_token</code> until <code>expires_in</code> (30s skew), and sends <code>Authorization: Bearer {access_token}</code> on webhook calls</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"hmac-signature-details-authtype--5\">HMAC signature details (<code>AuthType = 5</code>)</h3>\n<ul>\n<li><p>Algorithm: HMAC-SHA256</p>\n</li>\n<li><p>Signed payload: <code>\"{unix_seconds}.{raw_request_body}\"</code></p>\n</li>\n<li><p>Headers sent:</p>\n<ul>\n<li><p><code>X-Timestamp: {unix_seconds}</code></p>\n</li>\n<li><p><code>X-Signature: sha256={lowercase_hex}</code></p>\n</li>\n</ul>\n</li>\n<li><p>Recommended receiver check: reject if <code>|now - X-Timestamp| &gt; N seconds</code>, then recompute HMAC over <code>timestamp + \".\" + body</code> and constant-time compare.</p>\n</li>\n</ul>\n<h3 id=\"jwt-details-authtype--6\">JWT details (<code>AuthType = 6</code>)</h3>\n<ul>\n<li><p>Token endpoint: <code>JwtTokenUrl</code></p>\n</li>\n<li><p>Grant type: <code>client_credentials</code> (only grant supported)</p>\n</li>\n<li><p>Sent as <code>application/x-www-form-urlencoded</code>:</p>\n<ul>\n<li><p><code>client_id = UserName</code></p>\n</li>\n<li><p><code>client_secret = Password</code></p>\n</li>\n</ul>\n</li>\n<li><p>Expected response JSON: <code>{ \"access_token\": \"...\", \"expires_in\": 3600 }</code></p>\n</li>\n<li><p>Token is cached in-process and reused until 30 seconds before <code>expires_in</code></p>\n</li>\n</ul>\n<h2 id=\"request-delivery\">Request Delivery</h2>\n<ul>\n<li><p>Method: <code>POST</code></p>\n</li>\n<li><p><code>Content-Type: application/json</code></p>\n</li>\n<li><p>Timeout: 12,000 ms (send + read)</p>\n</li>\n<li><p><code>ExtraHeadersJson</code> is applied <strong>after</strong> auth headers for every <code>AuthType</code></p>\n</li>\n<li><p>On delivery failure, <code>LastError</code> is updated on the subscription record and the <code>Email</code> contact is notified after retries are exhausted</p>\n</li>\n</ul>\n<h2 id=\"responses\">Responses</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Status</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>200 OK</code></td>\n<td>Body is the new subscription <code>Id</code> (integer)</td>\n</tr>\n<tr>\n<td><code>400 Bad Request</code></td>\n<td><code>\"Illegal Event Type\"</code> — <code>EventType</code> missing or invalid</td>\n</tr>\n<tr>\n<td><code>403 Forbidden</code></td>\n<td><code>\"Not authorized\"</code> — caller failed API auth</td>\n</tr>\n<tr>\n<td><code>409 Conflict</code></td>\n<td><code>\"Duplicate subscription\"</code> — a subscription already exists with the same <code>Email</code> + <code>ExternalUrl</code> + <code>EventType</code></td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"examples\">Examples</h2>\n<h3 id=\"basic-auth-default\">Basic auth (default)</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">POST https://YourEnterpriseName.midmetrics.io/api/EventSubscription\nContent-Type: application/json\n{\n  \"EventType\": \"Chargeback\",\n  \"ExternalUrl\": \"https://crm.example.com/hooks/midmetrics\",\n  \"Email\": \"ops@example.com\",\n  \"AuthType\": 1,\n  \"UserName\": \"midmetrics\",\n  \"Password\": \"s3cret\"\n}\n\n</code></pre>\n<h3 id=\"bearer-token\">Bearer token</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"EventType\": \"Alert\",\n  \"ExternalUrl\": \"https://crm.example.com/hooks/midmetrics\",\n  \"Email\": \"ops@example.com\",\n  \"AuthType\": 2,\n  \"BearerToken\": \"eyJhbGciOi...\"\n}\n\n</code></pre>\n<h3 id=\"api-key-in-header\">API key in header</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"EventType\": \"RDR\",\n  \"ExternalUrl\": \"https://crm.example.com/hooks/midmetrics\",\n  \"Email\": \"ops@example.com\",\n  \"AuthType\": 3,\n  \"ApiKeyName\": \"X-Api-Key\",\n  \"ApiKeyValue\": \"ak_live_abc123\"\n}\n\n</code></pre>\n<h3 id=\"api-key-in-query-string\">API key in query string</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"EventType\": \"Inform\",\n  \"ExternalUrl\": \"https://crm.example.com/hooks/midmetrics\",\n  \"Email\": \"ops@example.com\",\n  \"AuthType\": 4,\n  \"ApiKeyName\": \"api_key\",\n  \"ApiKeyValue\": \"ak_live_abc123\"\n}\n\n</code></pre>\n<h3 id=\"hmac-sha256-signed\">HMAC-SHA256 signed</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"EventType\": \"ChargebackUpdate\",\n  \"ExternalUrl\": \"https://crm.example.com/hooks/midmetrics\",\n  \"Email\": \"ops@example.com\",\n  \"AuthType\": 5,\n  \"HmacSecret\": \"whsec_abcdef0123456789\"\n}\n\n</code></pre>\n<h3 id=\"oauth2-jwt-client_credentials\">OAuth2 JWT (client_credentials)</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"EventType\": \"Chargeback\",\n  \"ExternalUrl\": \"https://crm.example.com/hooks/midmetrics\",\n  \"Email\": \"ops@example.com\",\n  \"AuthType\": 6,\n  \"JwtTokenUrl\": \"https://auth.example.com/oauth/token\",\n  \"UserName\": \"client_id_value\",\n  \"Password\": \"client_secret_value\",\n  \"ExtraHeadersJson\": \"{\\\"X-Tenant\\\":\\\"acme\\\"}\"\n}\n\n</code></pre>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"448aebba-5df7-4b56-a283-b0bead561b19","id":"448aebba-5df7-4b56-a283-b0bead561b19","name":"MidMetrics Public APIs","type":"collection"}},"urlObject":{"protocol":"https","path":["api","EventSubscription"],"host":["YourEnterpriseName","midmetrics","io"],"query":[],"variable":[]}},"response":[{"id":"94f8928b-dc1e-43d5-9c33-13703267dac8","name":"Subscribe to Alert","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"EventType\": \"Alert\",\r\n    \"ExternalUrl\": \"https://YourCallBackURL/api/ReceiveAlert\",\r\n    \"UserName\": \"YourCallbackUsername\",\r\n    \"Password\": \"YourCallbackPassword\",\r\n    \"Email\": \"jeff@midmetrics.io\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://acme.midmetrics.io/api/EventSubscription"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Pragma","value":"no-cache"},{"key":"Content-Length","value":"120"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Expires","value":"-1"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"Access-Control-Expose-Headers","value":"Request-Context"}],"cookie":[],"responseTime":null,"body":"7"},{"id":"177fb18f-f95e-43f8-920f-843c03c8c419","name":"Subscribe to Chargeback","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"EventType\": \"Chargeback\",\r\n    \"ExternalUrl\": \"https://YourCallBackURL/api/ReceiveCB\",\r\n    \"UserName\": \"YourCallbackUsername\",\r\n    \"Password\": \"YourCallbackPassword\",\r\n    \"Email\": \"jeff@midmetrics.io\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://YourEnterpriseName.midmetrics.io/api/EventSubscription"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"Pragma","value":"no-cache"},{"key":"Content-Length","value":"121"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Expires","value":"-1"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"Request-Context","value":"appId=cid-v1:d5d7734f-f522-4898-ad87-d7cf6e51537a"},{"key":"Access-Control-Expose-Headers","value":"Request-Context"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Set-Cookie","value":"ARRAffinity=6f0eb6f3ca0caaa98cb47e00a643a1a299f5f53a14aa0e8e29700c686cf97948;Path=/;HttpOnly;Secure;Domain=sts.midmetrics.io"},{"key":"Set-Cookie","value":"ARRAffinitySameSite=6f0eb6f3ca0caaa98cb47e00a643a1a299f5f53a14aa0e8e29700c686cf97948;Path=/;HttpOnly;SameSite=None;Secure;Domain=sts.midmetrics.io"},{"key":"Date","value":"Thu, 13 Jan 2022 06:20:28 GMT"}],"cookie":[],"responseTime":null,"body":"6"},{"id":"c31ad772-a746-4cf0-a8c9-b0718f743ed6","name":"Subscribe to RDR","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"EventType\": \"RDR\",\r\n    \"ExternalUrl\": \"https://YourCallBackURL/api/ReceiveRDR\",\r\n    \"UserName\": \"YourCallbackUsername\",\r\n    \"Password\": \"YourCallbackPassword\",\r\n    \"Email\": \"jeff@midmetrics.io\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://YourEnterpriseName.midmetrics.io/api/EventSubscription"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"Pragma","value":"no-cache"},{"key":"Content-Length","value":"120"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Expires","value":"-1"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"Request-Context","value":"appId=cid-v1:d5d7734f-f522-4898-ad87-d7cf6e51537a"},{"key":"Access-Control-Expose-Headers","value":"Request-Context"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Set-Cookie","value":"ARRAffinity=6f0eb6f3ca0caaa98cb47e00a643a1a299f5f53a14aa0e8e29700c686cf97948;Path=/;HttpOnly;Secure;Domain=sts.midmetrics.io"},{"key":"Set-Cookie","value":"ARRAffinitySameSite=6f0eb6f3ca0caaa98cb47e00a643a1a299f5f53a14aa0e8e29700c686cf97948;Path=/;HttpOnly;SameSite=None;Secure;Domain=sts.midmetrics.io"},{"key":"Date","value":"Thu, 13 Jan 2022 06:18:45 GMT"}],"cookie":[],"responseTime":null,"body":"5"}],"_postman_id":"0a433468-8d99-4d9a-a6fe-0f9613a02c36"},{"name":"Update Subscription","id":"04a945c3-5a32-4740-bf0e-24c7610ab6a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Email\": \"jeff@midmetrics.io\",\r\n    \"ExternalUrl\": \"https://YourCallBackURL/api/ReceiveRDR\",\r\n    \"UserName\": \"YourCallbackUsername\",\r\n    \"Password\": \"YourCallbackPassword\",\r\n    \"EventType\": \"RDR\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://YourEnterpriseName.midmetrics.io/api/EventSubscription/{{IdOfSubscriptionToUpdate}}","description":"<p>This API is used to subscribe an external system's API to events that occur in MidMetrics so that an external system can receive notification about an event (such as a CRM that needs to receive an API call on every Chargeback).</p>\n<p>Payload schema:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field Name</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>EventType</td>\n<td>Type of event to subscribe to. Must be one of:  <br />Alert  <br />Chargeback  <br />RDR  <br />Inform</td>\n</tr>\n<tr>\n<td>ExternalUrl</td>\n<td>URL to send notifications of the event to</td>\n</tr>\n<tr>\n<td>UsernName</td>\n<td>Username Midmetrics will send when calling the URL. The username and password are provided using HTTP Basic Auth</td>\n</tr>\n<tr>\n<td>Password</td>\n<td>Password Midmetrics will send when calling the URL. The username and password are provided using HTTP Basic Auth</td>\n</tr>\n<tr>\n<td>Email</td>\n<td>The email address to be notified when an error occurs sending a webhook message. For example, we are unable to send to the endpoint after 5 retries</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"448aebba-5df7-4b56-a283-b0bead561b19","id":"448aebba-5df7-4b56-a283-b0bead561b19","name":"MidMetrics Public APIs","type":"collection"}},"urlObject":{"protocol":"https","path":["api","EventSubscription","{{IdOfSubscriptionToUpdate}}"],"host":["YourEnterpriseName","midmetrics","io"],"query":[],"variable":[]}},"response":[{"id":"addfaac6-ce4a-4491-b895-5cc8e5700eb6","name":"Subscribe to Alert","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"EventType\": \"Alert\",\r\n    \"ExternalUrl\": \"https://YourCallBackURL/api/ReceiveAlert\",\r\n    \"UserName\": \"YourCallbackUsername\",\r\n    \"Password\": \"YourCallbackPassword\",\r\n    \"Email\": \"jeff@midmetrics.io\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://acme.midmetrics.io/api/EventSubscription"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Pragma","value":"no-cache"},{"key":"Content-Length","value":"120"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Expires","value":"-1"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"Access-Control-Expose-Headers","value":"Request-Context"}],"cookie":[],"responseTime":null,"body":"7"},{"id":"d034dfab-285c-4240-a86c-92cefedbf096","name":"Subscribe to Chargeback","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"EventType\": \"Chargeback\",\r\n    \"ExternalUrl\": \"https://YourCallBackURL/api/ReceiveCB\",\r\n    \"UserName\": \"YourCallbackUsername\",\r\n    \"Password\": \"YourCallbackPassword\",\r\n    \"Email\": \"jeff@midmetrics.io\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://YourEnterpriseName.midmetrics.io/api/EventSubscription"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"Pragma","value":"no-cache"},{"key":"Content-Length","value":"121"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Expires","value":"-1"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"Request-Context","value":"appId=cid-v1:d5d7734f-f522-4898-ad87-d7cf6e51537a"},{"key":"Access-Control-Expose-Headers","value":"Request-Context"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Set-Cookie","value":"ARRAffinity=6f0eb6f3ca0caaa98cb47e00a643a1a299f5f53a14aa0e8e29700c686cf97948;Path=/;HttpOnly;Secure;Domain=sts.midmetrics.io"},{"key":"Set-Cookie","value":"ARRAffinitySameSite=6f0eb6f3ca0caaa98cb47e00a643a1a299f5f53a14aa0e8e29700c686cf97948;Path=/;HttpOnly;SameSite=None;Secure;Domain=sts.midmetrics.io"},{"key":"Date","value":"Thu, 13 Jan 2022 06:20:28 GMT"}],"cookie":[],"responseTime":null,"body":"6"},{"id":"4095f637-db69-4393-b1b8-ba5cb4a954a2","name":"Subscribe to RDR","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"EventType\": \"RDR\",\r\n    \"ExternalUrl\": \"https://YourCallBackURL/api/ReceiveRDR\",\r\n    \"UserName\": \"YourCallbackUsername\",\r\n    \"Password\": \"YourCallbackPassword\",\r\n    \"Email\": \"jeff@midmetrics.io\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://YourEnterpriseName.midmetrics.io/api/EventSubscription"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"Pragma","value":"no-cache"},{"key":"Content-Length","value":"120"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Expires","value":"-1"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"Request-Context","value":"appId=cid-v1:d5d7734f-f522-4898-ad87-d7cf6e51537a"},{"key":"Access-Control-Expose-Headers","value":"Request-Context"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Set-Cookie","value":"ARRAffinity=6f0eb6f3ca0caaa98cb47e00a643a1a299f5f53a14aa0e8e29700c686cf97948;Path=/;HttpOnly;Secure;Domain=sts.midmetrics.io"},{"key":"Set-Cookie","value":"ARRAffinitySameSite=6f0eb6f3ca0caaa98cb47e00a643a1a299f5f53a14aa0e8e29700c686cf97948;Path=/;HttpOnly;SameSite=None;Secure;Domain=sts.midmetrics.io"},{"key":"Date","value":"Thu, 13 Jan 2022 06:18:45 GMT"}],"cookie":[],"responseTime":null,"body":"5"}],"_postman_id":"04a945c3-5a32-4740-bf0e-24c7610ab6a7"},{"name":"View Subscriptions","id":"2f93f2d2-1c69-4c11-b4d5-717bdfad4eb8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://YourEnterpriseName.midmetrics.io/api/EventSubscription","description":"<p>Returns a list of subscriptions for your enterprise.</p>\n<p>You can use this to see all events you subscribe to and the webhooks called on an event.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"448aebba-5df7-4b56-a283-b0bead561b19","id":"448aebba-5df7-4b56-a283-b0bead561b19","name":"MidMetrics Public APIs","type":"collection"}},"urlObject":{"protocol":"https","path":["api","EventSubscription"],"host":["YourEnterpriseName","midmetrics","io"],"query":[],"variable":[]}},"response":[{"id":"e35ea197-d2cf-446a-bf74-d1ffba21319d","name":"List all subscriptions","originalRequest":{"method":"GET","header":[],"url":"https://YourEnterpriseName.midmetrics.io/api/EventSubscription"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"Pragma","value":"no-cache"},{"key":"Content-Length","value":"392"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Expires","value":"-1"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"Request-Context","value":"appId=cid-v1:d5d7734f-f522-4898-ad87-d7cf6e51537a"},{"key":"Access-Control-Expose-Headers","value":"Request-Context"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Thu, 13 Jan 2022 06:24:45 GMT"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"Id\": 5,\n        \"ExternalUrl\": \"https://YourCallBackURL/api/ReceiveRDR\",\n        \"Email\": \"jeff@midmetrics.io\",\n        \"EventType\": \"RDR\",\n        \"UserName\": \"YourCallbackUsername\",\n        \"Password\": \"YourCallbackPassword\"\n    },\n    {\n        \"Id\": 6,\n        \"ExternalUrl\": \"https://YourCallBackURL/api/ReceiveRDR\",\n        \"Email\": \"jeff@midmetrics.io\",\n        \"EventType\": \"Chargeback\",\n        \"UserName\": \"YourCallbackUsername\",\n        \"Password\": \"YourCallbackPassword\"\n    },\n    {\n        \"Id\": 7,\n        \"ExternalUrl\": \"https://YourCallBackURL/api/ReceiveRDR\",\n        \"Email\": \"jeff@midmetrics.io\",\n        \"EventType\": \"Alert\",\n        \"UserName\": \"YourCallbackUsername\",\n        \"Password\": \"YourCallbackPassword\"\n    }\n]"}],"_postman_id":"2f93f2d2-1c69-4c11-b4d5-717bdfad4eb8"},{"name":"Delete Subscription","id":"85b0ed7a-974a-46f9-ac55-c1a99f4735c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://YourEnterpriseName.midmetrics.io/api/EventSubscription/{{IdOfSubscriptionToDelete}}","description":"<p>Deletes a subscription with a specified <strong>Subscription Id</strong>. The <strong>Subscription Id</strong> is the value returned from the <strong>Subscribe</strong> call and the <strong>View Subscriptions</strong> call.</p>\n<p>The <strong>Subscription Id</strong> should be passed at the end of the URL.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"448aebba-5df7-4b56-a283-b0bead561b19","id":"448aebba-5df7-4b56-a283-b0bead561b19","name":"MidMetrics Public APIs","type":"collection"}},"urlObject":{"protocol":"https","path":["api","EventSubscription","{{IdOfSubscriptionToDelete}}"],"host":["YourEnterpriseName","midmetrics","io"],"query":[],"variable":[]}},"response":[{"id":"650dd377-651e-4a7a-bbde-706f9a518e56","name":"Example","originalRequest":{"method":"DELETE","header":[],"url":"https://YourEnterpriseName.midmetrics.io/api/EventSubscription/{{IdOfSubscriptionToDelete}}"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"-1"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"Request-Context","value":"appId=cid-v1:d5d7734f-f522-4898-ad87-d7cf6e51537a"},{"key":"Access-Control-Expose-Headers","value":"Request-Context"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Thu, 13 Jan 2022 07:21:41 GMT"},{"key":"Content-Length","value":"0"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"85b0ed7a-974a-46f9-ac55-c1a99f4735c0"}],"id":"8c6126fd-a797-4ecb-8cb0-7f06d45a81be","description":"<p>The Events API allows you to receive notifications via an HTTP API callback when an <strong>Alert</strong>, <strong>Inform</strong>, <strong>Chargeback</strong>, <strong>Chargeback Update,</strong> or <strong>RDR</strong> happens in your enterprise. The API will make a call to a webhook that you configure and you have subscribed to one of these events.</p>\n<p>If you have questions about using our APIs, please email <a href=\"https://mailto:service@midmetrics.io\">service@midmetrics.com</a></p>\n<h1 id=\"schema\">Schema</h1>\n<h3 id=\"alerts-and-informs\">Alerts and Informs</h3>\n<p>Subscribing to Alerts or Informs event will trigger MidMetrics to HTTP POST to the subscribed webhooks the following object when an Alert or Inform event occurs:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-csharp\">public class AlertOrInformEvent\n{\n    public string alertSource { get; set; }\n    public string descriptor { get; set; }\n    public string descriptorPhone { get; set; }\n    public string caseEventType { get; set; }\n    public SubscribedEventType eventType { get; set; }\n    public string arn { get; set; }\n    public string MID { get; set; }\n    public string externalCaseId { get; set; }\n    public string type { get; set; }\n    public int midMetricsId { get; set; }\n    public DateTime? chargeTransactionDate { get; set; }\n    public decimal amount { get; set; }\n    public string currency { get; set; }\n    public string ccBrand { get; set; }\n    public string ccIssuer { get; set; }\n    public string ccBin { get; set; }\n    public string ccLastFour { get; set; }\n    public string ccFullNumber { get; set; }\n    public string ccExpDate { get; set; }\n    public string ccAuthCode { get; set; }\n    public string externalTransactionId { get; set; }\n    public string enterpriseName { get; set; }\n    public DateTime? dateReceivedByProcessor { get; set; }\n    public DateTime? dateReceivedByMIDMetrics { get; set; }   \n}\n\n</code></pre>\n<p>Example JSON Payload</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"alertSource\": \"Ethoca\",\n    \"descriptor\": \"SAVERSEDGE  8885036816\",\n    \"descriptorPhone\": \"8885036914\",\n    \"caseEventType\": \"DISPUTE\",\n    \"eventType\": \"Alert\",\n    \"arn\": \"82306622314900018222679\",\n    \"MID\": \"520002837881\",\n    \"externalCaseId\": \"B35EST5Z5WNVUTMF8SSAER\",\n    \"type\": \"A\",\n    \"midMetricsId\": 201994,\n    \"chargeTransactionDate\": \"2022-11-10T00:00:00\",\n    \"amount\": 24.95,\n    \"currency\": \"USD\",\n    \"ccBrand\": \"MASTERCARD\",\n    \"ccIssuer\": \"SECURITY SERVICE FEDERAL CREDIT UNION\",\n    \"ccBin\": \"527505\",\n    \"ccLastFour\": \"2825\",\n    \"ccFullNumber\": null,\n    \"ccExpDate\": \"0224\",\n    \"ccAuthCode\": \"704274\",\n    \"externalTransactionId\": \"7778396317\",\n    \"enterpriseName\": \"acme\",\n    \"dateReceivedByProcessor\": \"2022-11-21T15:40:29.153\",\n    \"dateReceivedByMIDMetrics\": \"2022-11-21T14:40:43.693\"\n}\n\n</code></pre>\n<p>For <strong>Inform</strong> events, eventType will be \"Inform\" and the type \"I\"</p>\n<h3 id=\"chargebacks\">Chargebacks</h3>\n<p>Subscribing to the Chargeback events will trigger MidMetrics to HTTP POST to the subscribed webhooks the following object when a Chargeback occurs:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-csharp\">public class CBEvent\n{\n    public string reasonCode { get; set; }\n    public SubscribedEventType eventType { get; set; }\n    public string arn { get; set; }\n    public string MID { get; set; }\n    public string externalCaseId { get; set; }\n    public string type { get; set; }\n    public int midMetricsId { get; set; }\n    public DateTime? chargeTransactionDate { get; set; }\n    public decimal amount { get; set; }\n    public string currency { get; set; }\n    public string ccBrand { get; set; }\n    public string ccIssuer { get; set; }\n    public string ccBin { get; set; }\n    public string ccLastFour { get; set; }\n    public string ccFullNumber { get; set; }\n    public string ccExpDate { get; set; }\n    public string ccAuthCode { get; set; }\n    public string externalTransactionId { get; set; }\n    public string enterpriseName { get; set; }\n    public DateTime? dateReceivedByProcessor { get; set; }\n    public DateTime? dateReceivedByMIDMetrics { get; set; }\n}\n\n</code></pre>\n<p>Example JSON Payload</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"reasonCode\": \"10.4\",\n    \"eventType\": \"Chargeback\",\n    \"arn\": \"2418152013900010500436\",\n    \"MID\": \"910900031854606\",\n    \"externalCaseId\": \"202032009821\",\n    \"type\": \"C\",\n    \"midMetricsId\": 20845,\n    \"chargeTransactionDate\": \"2022-01-12T04:09:01\",\n    \"amount\": 24.95,\n    \"currency\": \"USD\",\n    \"ccBrand\": \"VISA\",\n    \"ccIssuer\": \"BARCLAYS BANK US\",\n    \"ccBin\": \"439707\",\n    \"ccLastFour\": \"1267\",\n    \"ccFullNumber\": \"439707xxxxx1267\",\n    \"ccExpDate\": \"0725\",\n    \"ccAuthCode\": \"07052C\",\n    \"externalTransactionId\": \"689308709\",\n    \"enterpriseName\": \"acme\",\n    \"dateReceivedByProcessor\": \"2022-02-01T00:00:00\",\n    \"dateReceivedByMIDMetrics\": \"2022-02-02T08:56:38.68\"\n}\n\n</code></pre>\n<h3 id=\"chargebackupdate\">ChargebackUpdate</h3>\n<p>Subscribing to the ChargebackUpdate events will trigger MidMetrics to HTTP POST to the subscribed webhooks the following object when a Chargeback Cycle or Action occurs</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-csharp\">public class ChargebackUpdate\n{\n    public string reasonCode { get; set; }\n    public SubscribedEventType eventType { get; set; }\n    public string arn { get; set; }\n    public string MID { get; set; }\n    public string externalCaseId { get; set; }\n    public string type { get; set; }\n    public int midMetricsId { get; set; }\n    public DateTime? chargeTransactionDate { get; set; }\n    public decimal amount { get; set; }\n    public string currency { get; set; }\n    public string ccBrand { get; set; }\n    public string ccIssuer { get; set; }\n    public string ccBin { get; set; }\n    public string ccLastFour { get; set; }\n    public string ccFullNumber { get; set; }\n    public string ccExpDate { get; set; }\n    public string ccAuthCode { get; set; }\n    public string externalTransactionId { get; set; }\n    public string enterpriseName { get; set; }\n    public DateTime? dateReceivedByProcessor { get; set; }\n    public DateTime? dateReceivedByMIDMetrics { get; set; }\n    public List&lt;ChargebackActionEvent&gt; Actions { get; set; }\n    public List&lt;ChargebackCycleEvent&gt; Cycles { get; set; }\n}\npublic class ChargebackActionEvent\n{\n    public string Action { get; set; }\n    public string ActionBy { get; set; }\n    public string Notes { get; set; }\n    public DateTime? Date { get; set; }\n}\npublic class ChargebackCycleEvent\n{\n    public string Cycle { get; set; }\n    public string CycleState { get; set; }\n    public string SourceCycleState { get; set; }\n    public string ActionBy { get; set; }\n    public DateTime? Date { get; set; }\n}\n\n</code></pre>\n<h3 id=\"rdrs\">RDRs</h3>\n<p>Subscribing to the RDRs events will trigger MidMetrics to HTTP POST to the subscribed webhooks the following object when an RDR occurs</p>\n<p>Note the RDR object is very similiar to the Chargeback object except it has the additional fields status and statusCode</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-csharp\">public class RDREvent\n{\n    public string reasonCode { get; set; }\n    public string status { get; set; }\n    public int? statusCode { get; set; }\n    public SubscribedEventType eventType { get; set; }\n    public string arn { get; set; }\n    public string MID { get; set; }\n    public string externalCaseId { get; set; }\n    public string type { get; set; }\n    public int midMetricsId { get; set; }\n    public DateTime? chargeTransactionDate { get; set; }\n    public decimal amount { get; set; }\n    public string currency { get; set; }\n    public string ccBrand { get; set; }\n    public string ccIssuer { get; set; }\n    public string ccBin { get; set; }\n    public string ccLastFour { get; set; }\n    public string ccFullNumber { get; set; }\n    public string ccExpDate { get; set; }\n    public string ccAuthCode { get; set; }\n    public string externalTransactionId { get; set; }\n    public string enterpriseName { get; set; }\n    public DateTime? dateReceivedByProcessor { get; set; }\n    public DateTime? dateReceivedByMIDMetrics { get; set; }\n}\n\n</code></pre>\n<p>Example JSON Payload</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"reasonCode\": \"10.4\",\n    \"status\": \"Accepted\",\n    \"statusCode\": 103,\n    \"eventType\": \"RDR\",\n    \"arn\": \"2418195226900011631570\",\n    \"MID\": \"910900006894219\",\n    \"externalCaseId\": \"4313168\",\n    \"type\": \"R\",\n    \"midMetricsId\": 3464,\n    \"chargeTransactionDate\": \"2022-09-23T00:00:00\",\n    \"amount\": 24.95,\n    \"currency\": \"USD\",\n    \"ccBrand\": \"VISA\",\n    \"ccIssuer\": \"BANK OF AMERICA, N.A.\",\n    \"ccBin\": \"435603\",\n    \"ccLastFour\": \"7314\",\n    \"ccFullNumber\": \"435603xxxxxx7314\",\n    \"ccExpDate\": \"1024\",\n    \"ccAuthCode\": \"110061\",\n    \"externalTransactionId\": \"761127055\",\n    \"enterpriseName\": \"acme\",\n    \"dateReceivedByProcessor\": \"2022-10-08T08:35:08\",\n    \"dateReceivedByMIDMetrics\": \"2022-10-08T00:00:00\"\n}\n\n</code></pre>\n<p>The <strong>eventType</strong> parameter will be: <strong>Alert</strong>, <strong>Inform, Chargeback</strong>, or <strong>RDR.</strong></p>\n<h3 id=\"webhooks\">Webhooks</h3>\n<p>When your webhook is called, MidMetrics will provide via Basic Auth the username and password you provided in the Subscribe API call.</p>\n","_postman_id":"8c6126fd-a797-4ecb-8cb0-7f06d45a81be","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"448aebba-5df7-4b56-a283-b0bead561b19","id":"448aebba-5df7-4b56-a283-b0bead561b19","name":"MidMetrics Public APIs","type":"collection"}}},{"name":"Order API","item":[{"name":"Post Order","id":"9c542a3c-e973-48db-bcee-2cb554d56c1f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"OrderId\": \"1234567\",\r\n  \"OrderDate\": \"2024-01-01T10:00:00\",\r\n  \"TransactionDate\": \"2024-01-01T10:00:00\",\r\n  \"MID\": null,\r\n  \"CardBrand\": \"visa\",\r\n  \"CardLast4\": \"1234\",\r\n  \"CardFirst6\": \"411111\",\r\n  \"CardExpMonth\": \"01\",\r\n  \"CardExpYear\": \"25\",\r\n  \"OrderAmount\": 100.00,\r\n  \"AVS\": null,\r\n  \"CVV\": null,\r\n  \"Email\": \"example@example.com\",\r\n  \"Phone\": \"1234567890\",\r\n  \"Refunded\": true,\r\n  \"RefundedAmount\": 100.00,\r\n  \"SubscriptionCycle\": 0,\r\n  \"SubscriptionParentId\": \"1234567\",\r\n  \"IPAddress\": \"192.168.1.1\",\r\n  \"DeviceId\": null,\r\n  \"Currency\": \"USD\",\r\n  \"ProcessorAuthCode\": \"AUTH123\",\r\n  \"GatewayTransactionId\": \"TX1234567890\",\r\n  \"BillingFirstName\": \"John\",\r\n  \"BillingLastName\": \"Doe\",\r\n  \"BillingStreetAaddress1\": \"123 Main St\",\r\n  \"BillingStreetAddress2\": \"\",\r\n  \"BillingCity\": \"Anytown\",\r\n  \"BillingState\": \"CA\",\r\n  \"BillingPostcode\": \"12345\",\r\n  \"BillingCountry\": \"US\",\r\n  \"MarketingSource\": null,\r\n  \"SubMmarketingSources\": [\"\", \"\", \"\", \"\", \"\"],\r\n  \"Evidence\": {\r\n    \"ShippingDetails\": [\r\n      {\r\n        \"Carrier\": \"\",\r\n        \"Trackingnumber\": \"\",\r\n        \"FirstName\": \"John\",\r\n        \"Lastname\": \"Doe\",\r\n        \"StreetAddress1\": \"123 Main St\",\r\n        \"StreetAddress2\": \"\",\r\n        \"City\": \"Anytown\",\r\n        \"State\": \"CA\",\r\n        \"Postalcode\": \"12345\",\r\n        \"Country\": \"US\"\r\n      }\r\n    ],\r\n    \"Proof\": null\r\n  },\r\n  \"Items\": [\r\n    {\r\n      \"Id\": \"1\",\r\n      \"Name\": \"Sample Product\",\r\n      \"Price\": 100.00,\r\n      \"Quantity\": 1,\r\n      \"SKU\": \"SP123\",\r\n      \"Description\": null\r\n    }\r\n  ],\r\n  \"Notes\": [\r\n    {\r\n      \"Timestamp\": \"2024-01-01T10:00:00\",\r\n      \"Value\": \"Order created via API\"\r\n    },\r\n    {\r\n      \"Timestamp\": \"2024-01-01T10:05:00\",\r\n      \"Value\": \"Email updated\"\r\n    }\r\n  ],\r\n  \"AlertDate\": null,\r\n  \"TypeOfAlert\": null,\r\n  \"AlertId\": 0,\r\n  \"CancellationDate\": null,\r\n  \"CancellationReason\": null,\r\n  \"CampaignName\": \"\",\r\n  \"AffiliateName\": \"\",\r\n  \"AffiliateId\": \"\",\r\n  \"SourceValue1\": \"\",\r\n  \"SourceValue2\": null,\r\n  \"SourceValue3\": null,\r\n  \"SourceValue4\": null,\r\n  \"SourceValue5\": null,\r\n  \"Details\": null,\r\n  \"DetailsV3\": {\r\n    \"Receipt\": {\r\n      \"OrderDate\": \"2024-01-01T10:00:00Z\",\r\n      \"OrderNumber\": \"1234567\",\r\n      \"PurchaseCategory\": null,\r\n      \"InvoiceNumber\": null,\r\n      \"DownloadDateTime\": null,\r\n      \"SubTotalAmount\": null,\r\n      \"TaxAmount\": null,\r\n      \"TaxDescription\": null,\r\n      \"ShippingAndHandlingAmount\": null,\r\n      \"OrderTotalAmount\": {\r\n        \"Amount\": 100.00,\r\n        \"Currency\": \"USD\"\r\n      },\r\n      \"PaymentInformation\": {\r\n        \"PaymentMethod\": null,\r\n        \"BillingName\": \"John Doe\",\r\n        \"BillingAddressDetails\": {\r\n          \"Address1\": \"123 Main St\",\r\n          \"Address2\": \"\",\r\n          \"City\": \"Anytown\",\r\n          \"Region\": \"CA\",\r\n          \"PostalCode\": \"12345\",\r\n          \"Country\": \"US\"\r\n        },\r\n        \"PaymentSubTotalAmount\": null,\r\n        \"PaymentShippingAndHandlingAmount\": null,\r\n        \"PaymentTotalBeforeTax\": null,\r\n        \"PaymentTaxAmount\": null,\r\n        \"PaymentTaxDescription\": null,\r\n        \"PaymentTotalAmount\": null,\r\n        \"CvvChecked\": null\r\n      },\r\n      \"ProductsPurchasedList\": [\r\n        {\r\n          \"ProductType\": null,\r\n          \"ProductDescription\": \"Sample Product\",\r\n          \"ProductUrl\": null,\r\n          \"ArtistOrSeller\": null,\r\n          \"UnitPriceAmount\": {\r\n            \"Amount\": 100.00,\r\n            \"Currency\": \"USD\"\r\n          },\r\n          \"Quantity\": 1,\r\n          \"CreditReimbursementSequenceNumber\": null,\r\n          \"DeliveryDetails\": {\r\n            \"ShippingCarrier\": null,\r\n            \"TrackingNumber\": \"\",\r\n            \"DateOfShipment\": null,\r\n            \"DateOfDelivery\": null,\r\n            \"DeliveryStatus\": null,\r\n            \"OtherStatusDescription\": null\r\n          }\r\n        }\r\n      ]\r\n    },\r\n    \"MerchantInformation\": {\r\n      \"MerchantName\": null,\r\n      \"MerchantUrl\": null,\r\n      \"WebsiteUrl\": null,\r\n      \"MerchantContactPhone\": null,\r\n      \"MerchantAddress\": null,\r\n      \"TermsAndConditions\": null,\r\n      \"StoreDetails\": {\r\n        \"StoreName\": null,\r\n        \"StoreContactPhone\": null,\r\n        \"StoreLocation\": null\r\n      }\r\n    },\r\n    \"CustomerInformation\": {\r\n      \"FirstName\": \"John\",\r\n      \"LastName\": \"Doe\",\r\n      \"LengthOfRelationship\": \"\",\r\n      \"AccountId\": null,\r\n      \"EmailAddress\": \"example@example.com\"\r\n    },\r\n    \"DeliveryAddress\": {\r\n      \"Address1\": \"123 Main St\",\r\n      \"Address2\": \"\",\r\n      \"City\": \"Anytown\",\r\n      \"Region\": \"CA\",\r\n      \"PostalCode\": \"12345\",\r\n      \"Country\": \"US\"\r\n    },\r\n    \"RecipientCustomerName\": null,\r\n    \"Device\": {\r\n      \"DeviceType\": null,\r\n      \"DeviceName\": null,\r\n      \"DeviceId\": null,\r\n      \"IpAddress\": null,\r\n      \"DeviceFingerprint\": null,\r\n      \"DeviceLocation\": null\r\n    },\r\n    \"CreditReimbursementList\": null,\r\n    \"FlightDetails\": null,\r\n    \"HotelDetails\": null,\r\n    \"CarRentalDetails\": null,\r\n    \"RideShareDetails\": null,\r\n    \"DigitalReceiptLink\": null,\r\n    \"Communications\": null\r\n  },\r\n  \"SecureCode3D\": \"no\",\r\n  \"ShipDate\": null,\r\n  \"DeliverDate\": null,\r\n  \"ReturnDate\": null,\r\n  \"LastContactDate\": null,\r\n  \"CRMId\": 0,\r\n  \"RequestingObjectType\": null,\r\n  \"RequestingObjectId\": null,\r\n  \"CampaignId\": \"51\",\r\n  \"OriginalCrmData\": null,\r\n  \"ShipTodifferent\": false,\r\n  \"CRMUserName\": null\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://YourEnterpriseName.midmetrics.io/api/orders/order","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"448aebba-5df7-4b56-a283-b0bead561b19","id":"448aebba-5df7-4b56-a283-b0bead561b19","name":"MidMetrics Public APIs","type":"collection"}},"urlObject":{"protocol":"https","path":["api","orders","order"],"host":["YourEnterpriseName","midmetrics","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"9c542a3c-e973-48db-bcee-2cb554d56c1f"}],"id":"fa864627-acf7-4c98-a8e0-8bcfda2bda84","description":"<p>The Order API takes information about an order from a CRM. If the order information already exists, it updates the information.</p>\n<h2 id=\"schema\">Schema</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-csharp\">public class Order\n{\n    public string OrderId { get; set; }\n    public DateTime OrderDate { get; set; }\n    public DateTime TransactionDate { get; set; }\n    public string MID { get; set; }\n    public string CardBrand { get; set; }\n    public string CardLast4 { get; set; }\n    public string CardFirst6 { get; set; }\n    public string CardExpMonth { get; set; }\n    public string CardExpYear { get; set; }\n    public decimal OrderAmount { get; set; }\n    public string AVS { get; set; }\n    public string CVV { get; set; }\n    public string Email { get; set; }\n    public string Phone { get; set; }\n    public bool Refunded { get; set; }\n    public decimal RefundedAmount { get; set; }\n    public int SubscriptionCycle { get; set; }\n    public string SubscriptionParentId { get; set; }\n    public string IPAddress { get; set; }\n    public string DeviceId { get; set; }\n    public string Currency { get; set; }\n    public string ProcessorAuthCode { get; set; }\n    public string GatewayTransactionId { get; set; }\n    public string BillingFirstName { get; set; }\n    public string BillingLastName { get; set; }\n    public string BillingStreetAaddress1 { get; set; }\n    public string BillingStreetAddress2 { get; set; }\n    public string BillingCity { get; set; }\n    public string BillingState { get; set; }\n    public string BillingPostcode { get; set; }\n    public string BillingCountry { get; set; }\n    public string MarketingSource { get; set; }\n    public string[] SubMmarketingSources { get; set; }\n    public Evidence Evidence { get; set; }\n    public Item[] Items { get; set; }\n    public Note[] Notes { get; set; }\n\n    public DateTime? AlertDate { get; set; }\n    public string TypeOfAlert { get; set; }\n    public int AlertId { get; set; }\n\n    public DateTime? CancellationDate { get; set; }\n    public string CancellationReason { get; set; }\n\n    public string CampaignName { get; set; } \n    public string AffiliateName { get; set; } \n    public string AffiliateId { get; set; }\n    public string SourceValue1 { get; set; } \n    public string SourceValue2 { get; set; } \n    public string SourceValue3 { get; set; } \n    public string SourceValue4 { get; set; } \n    public string SourceValue5 { get; set; } \n\n    public DTO.OI.Details Details { get; set; }\n    public DTO.OI_V3.OrderLookupResponse DetailsV3 { get; set; }\n\n\n    public string SecureCode3D { get; set; }\n    public DateTime? ShipDate {  get; set; }\n    public DateTime? DeliverDate { get; set; }\n    public DateTime? ReturnDate { get; set; }\n    public DateTime? LastContactDate { get; set; }\n\n\n    public int? CRMId { get; set; }\n    public BillableObjectType? RequestingObjectType { get; set; }\n    public int? RequestingObjectId { get; set; }\n    public string CampaignId { get; set; }\n    public string OriginalCrmData { get; set; }\n\n\n    public bool? ShipTodifferent { get; set; } = null;\n    public string CRMUserName { get; set; } = null;\n}\n\npublic class Evidence\n{\n    public ShippingDetails[] ShippingDetails { get; set; }\n    public Proof[] Proof { get; set; }\n}\n\npublic class ShippingDetails\n{\n    public string Carrier { get; set; }\n    public string Trackingnumber { get; set; }\n    public string FirstName { get; set; }\n    public string Lastname { get; set; }\n    public string StreetAddress1 { get; set; }\n    public string StreetAddress2 { get; set; }\n    public string City { get; set; }\n    public string State { get; set; }\n    public string Postalcode { get; set; }\n    public string Country { get; set; }\n}\n\npublic class Proof\n{\n    public string Type { get; set; }\n    public DateTime Value { get; set; }\n}\n\npublic class Item\n{\n    public string Id { get; set; }\n    public string Name { get; set; }\n    public decimal Price { get; set; }\n    public int Quantity { get; set; }\n    public string SKU { get; set; }\n    public string Description { get; set; }\n}\n\npublic class Note\n{\n    public DateTime Timestamp { get; set; }\n    public string Value { get; set; }\n}\n\n\npublic class Details\n{\n    public Transactiondetail transactionDetail { get; set; }\n    public Customerinformation customerInformation { get; set; }\n  \n    public List&lt;Productpurchased&gt; productPurchased { get; set; }\n    public Deliverydetails deliveryDetails { get; set; }\n    public List&lt;Crmdetail&gt; crmDetails { get; set; }\n    public List&lt;Attachment&gt; attachments { get; set; }\n}\n\npublic class Transactiondetail\n{\n    public List&lt;double&gt; taxAmount { get; set; }\n    public List&lt;string&gt; taxAmountCurrency { get; set; }\n    public List&lt;double&gt; shippingAndHandlingAmount { get; set; }\n    public List&lt;string&gt; shippingAndHandlingCurrency { get; set; }\n    public double totalAmount { get; set; }\n    public string totalAmountCurrency { get; set; }\n    public Billingaddressdetails billingAddressDetails { get; set; }\n    public List&lt;Shippingaddressdetail&gt; shippingAddressDetails { get; set; }\n    public bool avsChecked { get; set; }\n    public bool cvvChecked { get; set; }\n    public string refundAmount { get; set; }\n    public string refundCurrency { get; set; }\n    public DateTime? dateOfRefund { get; set; }\n    public string deviceName { get; set; }\n    public string deviceId { get; set; }\n    public string ipAddress { get; set; }\n    public string termsAndConditions { get; set; }\n    public string notes { get; set; }\n}\n\npublic class Billingaddressdetails\n{\n    public List&lt;string&gt; address { get; set; }\n    public string city { get; set; }\n    public string state { get; set; }\n    public string zip { get; set; }\n    public string country { get; set; }\n}\n\npublic class Shippingaddressdetail\n{\n    public List&lt;string&gt; address { get; set; }\n    public string city { get; set; }\n    public string state { get; set; }\n    public string zip { get; set; }\n    public string country { get; set; }\n}\n\npublic class Customerinformation\n{\n    public string firstName { get; set; }\n    public string lastName { get; set; }\n    public DateTime? dateOfBirth { get; set; }\n\n    [JsonIgnore]\n    public DateTime? firstTransactionDate { get; set; }\n    public string lengthOfRelationship { get; set; }\n    public string notes { get; set; }\n    public string productName { get; set; }\n    public List&lt;Phonenumber&gt; phoneNumber { get; set; }\n    public List&lt;Emailaddress&gt; emailAddress { get; set; }\n}\n\npublic class Phonenumber\n{\n    public string phoneNumber { get; set; }\n}\n\npublic class Emailaddress\n{\n    public string emailAddress { get; set; }\n}\n\npublic class Deliverydetails\n{\n    public List&lt;Physicalfulfillment&gt; physicalFulfillment { get; set; }\n\n}\n\npublic class Physicalfulfillment\n{\n    public string shippingCarrierUrl { get; set; }\n    public string trackingNumber { get; set; }\n    public DateTime? dateOfShipment { get; set; }\n    public DateTime? dateOfDelivery { get; set; }\n\n}\n\npublic class Digitalservicedelivery\n{\n    public string proofOfDelivery { get; set; }\n    public string proofOfUsage { get; set; }\n    public string locationOfUsage { get; set; }\n    public string frequencyOfUsage { get; set; }\n    public string notes { get; set; }\n}\n\npublic class Pasttransaction\n{\n    public DateTime? dateOfPurchase { get; set; }\n    public double amountOfPurchase { get; set; }\n    public string creditCardBin { get; set; }\n    public string creditCardFour { get; set; }\n    public string recurringTransaction { get; set; }\n}\n\npublic class Productpurchased\n{\n    public string productName { get; set; }\n\n    public string productUrl { get; set; }\n    public string productImageUrl { get; set; }\n    public string unitPriceCurrency { get; set; }\n    public double unitPriceAmount { get; set; }\n    public string quantity { get; set; }\n    public Industrydetails industryDetails { get; set; }\n}\n\npublic class Industrydetails\n{\n    public List&lt;Flightdetail&gt; flightDetails { get; set; }\n    public List&lt;Hoteldetail&gt; hotelDetails { get; set; }\n}\n\npublic class Flightdetail\n{\n    public string flightNumber { get; set; }\n    public DateTime? flightDate { get; set; }\n    public string manifest { get; set; }\n    public string memberRewardsNumber { get; set; }\n}\n\npublic class Hoteldetail\n{\n    public string reservationNumber { get; set; }\n    public DateTime? reservationDate { get; set; }\n    public DateTime? checkInDate { get; set; }\n    public DateTime? checkOutDate { get; set; }\n    public string memberRewardsNumber { get; set; }\n}\n\npublic class Crmdetail\n{\n    public string notes { get; set; }\n}\n\npublic class Emailaddress1\n{\n    public string emailAddress { get; set; }\n}\n\npublic class Phonenumber1\n{\n    public string phoneNumber { get; set; }\n}\n\npublic class Attachment\n{\n    public string id { get; set; }\n    public string fileName { get; set; }\n    public string friendlyFileName { get; set; }\n    public string mimeType { get; set; }\n    public DateTime? receivedDate { get; set; }\n    public string fileSource { get; set; }\n    public string data { get; set; }\n}\n\npublic class OrderLookupResponse : IEquatable&lt;OrderLookupResponse&gt;\n{\n    /// &lt;summary&gt;\n    /// Gets or Sets Receipt\n    /// &lt;/summary&gt;\n\n    [Required]\n    [DataMember(Name=\"receipt\")]\n    public Receipt Receipt { get; set; }\n\n    /// &lt;summary&gt;\n    /// Gets or Sets MerchantInformation\n    /// &lt;/summary&gt;\n\n    [Required]\n    [DataMember(Name=\"merchantInformation\")]\n    public MerchantInformation MerchantInformation { get; set; }\n\n    /// &lt;summary&gt;\n    /// Gets or Sets CustomerInformation\n    /// &lt;/summary&gt;\n\n    [DataMember(Name=\"customerInformation\")]\n    public CustomerInformation CustomerInformation { get; set; }\n\n    /// &lt;summary&gt;\n    /// Gets or Sets DeliveryAddress\n    /// &lt;/summary&gt;\n\n    [DataMember(Name=\"deliveryAddress\")]\n    public Address DeliveryAddress { get; set; }\n\n    /// &lt;summary&gt;\n    /// Recipient of goods purchases (if differs from Customer name)\n    /// &lt;/summary&gt;\n    /// &lt;value&gt;Recipient of goods purchases (if differs from Customer name)&lt;/value&gt;\n\n    [MaxLength(20)]\n    [DataMember(Name=\"recipientCustomerName\")]\n    public string RecipientCustomerName { get; set; }\n\n    /// &lt;summary&gt;\n    /// Gets or Sets Device\n    /// &lt;/summary&gt;\n\n    [DataMember(Name=\"device\")]\n    public Device Device { get; set; }\n\n    /// &lt;summary&gt;\n    /// Gets or Sets CreditReimbursementList\n    /// &lt;/summary&gt;\n\n    [DataMember(Name=\"creditReimbursementList\")]\n    public List&lt;CreditReimbursement&gt; CreditReimbursementList { get; set; }\n\n    /// &lt;summary&gt;\n    /// Gets or Sets FlightDetails\n    /// &lt;/summary&gt;\n\n    [DataMember(Name=\"flightDetails\")]\n    public FlightDetails FlightDetails { get; set; }\n\n    /// &lt;summary&gt;\n    /// Gets or Sets HotelDetails\n    /// &lt;/summary&gt;\n\n    [DataMember(Name=\"hotelDetails\")]\n    public HotelDetails HotelDetails { get; set; }\n\n    /// &lt;summary&gt;\n    /// Gets or Sets CarRentalDetails\n    /// &lt;/summary&gt;\n\n    [DataMember(Name=\"carRentalDetails\")]\n    public CarRentalDetails CarRentalDetails { get; set; }\n\n    /// &lt;summary&gt;\n    /// Gets or Sets RideShareDetails\n    /// &lt;/summary&gt;\n\n    [DataMember(Name=\"rideShareDetails\")]\n    public RideShareDetails RideShareDetails { get; set; }\n\n    /// &lt;summary&gt;\n    /// Reserved for digital receipt URL link. Not currently used and should not be returned.\n    /// &lt;/summary&gt;\n    /// &lt;value&gt;Reserved for digital receipt URL link. Not currently used and should not be returned.&lt;/value&gt;\n\n    [MaxLength(1000)]\n    [DataMember(Name=\"digitalReceiptLink\")]\n    public string DigitalReceiptLink { get; set; }\n\n    /// &lt;summary&gt;\n    /// Any additional communications between consumer and merchant\n    /// &lt;/summary&gt;\n    /// &lt;value&gt;Any additional communications between consumer and merchant&lt;/value&gt;\n\n    [MaxLength(1000)]\n    [DataMember(Name=\"communications\")]\n    public string Communications { get; set; }\n}\n\n</code></pre>\n","_postman_id":"fa864627-acf7-4c98-a8e0-8bcfda2bda84","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"448aebba-5df7-4b56-a283-b0bead561b19","id":"448aebba-5df7-4b56-a283-b0bead561b19","name":"MidMetrics Public APIs","type":"collection"}}},{"name":"Resolve Alert API","item":[{"name":"Resolve Alert","id":"0eb72237-7009-436f-b5f3-3fdc4569736d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"","value":""}],"body":{"mode":"raw","raw":"{\r\n    \"Id\": 36609,\r\n    \"EnterpriseName\": \"acme\",\r\n    \"Note\": \"This is a note\",\r\n    \"AlertSource\": \"Ethoca\",\r\n    // Include properties VerifiAction and VerifiReasonCode if Verifi alert\r\n    \"EthocaCaseStatusCode\": 3,\r\n    \"ResolutionDate\": \"2024-06-03T12:34:56.789Z\",  \r\n    \"ResolutionAmount\": 17.56,\r\n    \"ResolutionTransactionCode\": \"6789\",\r\n    \"ResolutionAuthorizationCode\": \"12345\",\r\n    \"CRMActions\": [\"Blacklisted\", \"Cancelled\"],\r\n    \"Resolver\": \"Test\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://YourEnterpriseName.midmetrics.io/api/cases/ResolveAlert","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"448aebba-5df7-4b56-a283-b0bead561b19","id":"448aebba-5df7-4b56-a283-b0bead561b19","name":"MidMetrics Public APIs","type":"collection"}},"urlObject":{"protocol":"https","path":["api","cases","ResolveAlert"],"host":["YourEnterpriseName","midmetrics","io"],"query":[],"variable":[]}},"response":[{"id":"3740454e-884d-475b-bba9-c4fb9da3515f","name":"If alert was already resolved","originalRequest":{"method":"POST","header":[{"key":"","value":""}],"body":{"mode":"raw","raw":"{\r\n    \"Id\": 36611,\r\n    \"EnterpriseName\": \"acme\",\r\n    \"Note\": \"This is a note\",\r\n    \"AlertSource\": \"Ethoca\",\r\n    // Include properties VerifiAction and VerifiReasonCode if Verifi alert\r\n    \"EthocaCaseStatusCode\": 3,\r\n    \"ResolutionDate\": \"2024-06-03T12:34:56.789Z\",  \r\n    \"ResolutionAmount\": 17.56,\r\n    \"ResolutionTransactionCode\": \"6789\",\r\n    \"ResolutionAuthorizationCode\": \"12345\",\r\n    \"CRMActions\": [\"Blacklisted\", \"Cancelled\"],\r\n    \"Resolver\": \"Test\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://YourEnterpriseName.midmetrics.io/api/cases/ResolveAlert"},"status":"Conflict","code":409,"_postman_previewlanguage":"html","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"Pragma","value":"no-cache"},{"key":"Content-Type","value":"text/html"},{"key":"Expires","value":"-1"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"Request-Context","value":"appId=cid-v1:d5d7734f-f522-4898-ad87-d7cf6e51537a"},{"key":"Access-Control-Expose-Headers","value":"Request-Context"},{"key":"X-SourceFiles","value":"=?UTF-8?B?QzpcUHJvZ3JhbW1pbmdcTUlETWV0cmljc1xtaWRtZXRyaWNzXG1pZG1ldHJpY3NcYXBpXGNhc2VzXFJlc29sdmVBbGVydA==?="},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"Date","value":"Mon, 03 Jun 2024 20:21:10 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"The page was not displayed because there was a conflict."}],"_postman_id":"0eb72237-7009-436f-b5f3-3fdc4569736d"}],"id":"a47ff087-0221-463e-9784-e6951bebf3ef","description":"<p>The <strong>Resolve Alert API</strong> allows for resolution of an Alert received by the Events API.</p>\n<h2 id=\"schema\">Schema</h2>\n<p>Below is the HTTP POST payload to the Resolve Alert API. The Alert should be resolved by making an HTTP POST call to this API with this JSON in body. See Data Dictionary for field definition. <strong>All fields required.</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-csharp\">public class AlertUpdate\n{\n    public int Id { get; set; }\n    public string EnterpriseName { get; set; }\n    public string AlertSource { get; set; }\n    public string Note { get; set; }\n    public string VerifiAction { get; set; }\n    public int VerifiReasonCode { get; set; }\n    public int EthocaCaseStatusCode { get; set; }\n    public DateTime ResolutionDate { get; set; }\n    public Decimal ResolutionAmount { get; set; }\n    public string ResolutionTransactionCode { get; set; }\n    public string ResolutionAuthorizationCode { get; set; }\n    public List&lt;string&gt; CRMActions { get; set; }\n    public string Resolver { get; set; }\n}\n\n</code></pre>\n<h2 id=\"data-dictionary-all-fields-required\">Data Dictionary. All fields Required.</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>JSON Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Id</td>\n<td>MidMetricsId received from a webhook call to Events API.</td>\n</tr>\n<tr>\n<td>EnterpriseName</td>\n<td>Name of enterprise in midmetrics. The enterprise name is the subdomain in the URL before .midmetrics.io. Eg \"acme\" if the URL is <a href=\"https://acme.midmetrics.io/\">https://acme.midmetrics.io/</a></td>\n</tr>\n<tr>\n<td>AlertSource</td>\n<td>Must be string \"Ethoca\" or \"Verifi\"</td>\n</tr>\n<tr>\n<td>Note</td>\n<td>Plaintext note of action taken. 500 length character limit.</td>\n</tr>\n<tr>\n<td>VerifiAction</td>\n<td>String of either \"DECLINED\" or \"RESOLVED\"</td>\n</tr>\n<tr>\n<td>VerifiReasonCode</td>\n<td>Integer of one of 4 values:  <br />100 - Case Resolved, Credit &amp; Cancellation processed  <br />102 - Case Resolved, Authorization Cancelled  <br />900 - Unmatched Case - General/Other  <br />951 - Transaction Previously credited for Case Amount, no balance remaining</td>\n</tr>\n<tr>\n<td>EthocaCaseStatusCode</td>\n<td>Integer of one of 3 values*:  <br />1 - Stopped -Refunded  <br />22 - Other - Not Settled  <br />25 - Previously Cancelled - Refunded  <br />  <br />* If you have a use caes in which more detailed Ethoca responses are needed please contact us</td>\n</tr>\n<tr>\n<td>ResolutionDate</td>\n<td>Date and time of resolution in UTC</td>\n</tr>\n<tr>\n<td>ResolutionAmount</td>\n<td>Amount of resolution</td>\n</tr>\n<tr>\n<td>ResolutionTransactionCode</td>\n<td>If a refund was issued, the transaction id in in the internal system of the refund. Empty string if no refund.</td>\n</tr>\n<tr>\n<td>ResolutionAuthorizationCode</td>\n<td>If a refund was issued, the authorization code of the refund. Empty string if no refund.</td>\n</tr>\n<tr>\n<td>CRMActions</td>\n<td>Array of string actions taken in CRM. Example [\"Refunded\", \"Blacklisted\", \"Cancelled\"]</td>\n</tr>\n<tr>\n<td>Resolver</td>\n<td>String of agent or system that took the resolution action.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"responses\">Responses</h2>\n","_postman_id":"a47ff087-0221-463e-9784-e6951bebf3ef","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"448aebba-5df7-4b56-a283-b0bead561b19","id":"448aebba-5df7-4b56-a283-b0bead561b19","name":"MidMetrics Public APIs","type":"collection"}}},{"name":"Representments API","item":[{"name":"GetDocumentTypes","id":"43136739-b641-4b02-b5b0-574f054c4615","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://YourEnterpriseName.midmetrics.io/api/chargeback/GetDocumentTypes","description":"<p>Retrieves a categorized list of available document types for a tenant.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"448aebba-5df7-4b56-a283-b0bead561b19","id":"448aebba-5df7-4b56-a283-b0bead561b19","name":"MidMetrics Public APIs","type":"collection"}},"urlObject":{"protocol":"https","path":["api","chargeback","GetDocumentTypes"],"host":["YourEnterpriseName","midmetrics","io"],"query":[],"variable":[]}},"response":[{"id":"c437f724-db96-4b5a-91ad-e5a442746391","name":"Example","originalRequest":{"method":"GET","header":[],"url":"https://YourEnterpriseName.midmetrics.io/api/chargeback/GetDocumentTypes"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"1035"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 28 Mar 2025 22:15:39 GMT"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Access-Control-Expose-Headers","value":"Request-Context"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"Request-Context","value":"appId=cid-v1:d5d7734f-f522-4898-ad87-d7cf6e51537a"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"{\n    \"DocumentTypes\": [\n        {\n            \"Category\": \"Card Present - Invalid CB \",\n            \"DocumentTypes\": [\n                {\n                    \"DocumentType\": \"Chip-Initiated \"\n                },\n                {\n                    \"DocumentType\": \"Emergency Cash Disbursement\"\n                },\n                {\n                    \"DocumentType\": \"Fallback transaction\"\n                },\n                {\n                    \"DocumentType\": \"PIN and an imprint of the card \"\n                },\n                {\n                    \"DocumentType\": \"Authorization POS Entry Mode code 90 \"\n                },\n                {\n                    \"DocumentType\": \"Contactless transaction \"\n                },\n                {\n                    \"DocumentType\": \"Mobile Push Payment \"\n                },\n                {\n                    \"DocumentType\": \"EMV PIN-Compliant Acceptance Device \"\n                },\n                {\n                    \"DocumentType\": \"Face to face transaction \"\n                },\n                {\n                    \"DocumentType\": \" POS Entry Mode code 05, 07, 90, or 91\"\n                },\n                {\n                    \"DocumentType\": \"Card present - keyed entry\"\n                },\n                {\n                    \"DocumentType\": \"Emergency Cash Disbursement\"\n                }\n            ]\n        },\n        {\n            \"Category\": \"Order Documents\",\n            \"DocumentTypes\": [\n                {\n                    \"DocumentType\": \"Customer Service Records\"\n                },\n                {\n                    \"DocumentType\": \"Signed Contract\"\n                },\n                {\n                    \"DocumentType\": \"Call Transcript\"\n                },\n                {\n                    \"DocumentType\": \"Service was Provided\"\n                },\n                {\n                    \"DocumentType\": \"Customer Acquisition \"\n                },\n                {\n                    \"DocumentType\": \"Fraud Tools\"\n                },\n                {\n                    \"DocumentType\": \"Purchase Process\"\n                },\n                {\n                    \"DocumentType\": \"Purchase Terms\"\n                },\n                {\n                    \"DocumentType\": \"Transaction History\"\n                },\n                {\n                    \"DocumentType\": \"Invoice\"\n                },\n                {\n                    \"DocumentType\": \"Evidence Cardholder is Related to Customer\"\n                },\n                {\n                    \"DocumentType\": \"Product Image\"\n                },\n                {\n                    \"DocumentType\": \"Product Description\"\n                },\n                {\n                    \"DocumentType\": \"Proof Customer No Longer Wishes to Dispute\"\n                },\n                {\n                    \"DocumentType\": \"Identity Verification\"\n                },\n                {\n                    \"DocumentType\": \"CDRN/Alert\"\n                },\n                {\n                    \"DocumentType\": \"Cancelled\"\n                },\n                {\n                    \"DocumentType\": \"Other\"\n                },\n                {\n                    \"DocumentType\": \"Evidence of Refund\"\n                }\n            ]\n        },\n        {\n            \"Category\": \"Other Document\",\n            \"DocumentTypes\": [\n                {\n                    \"DocumentType\": \"Other\"\n                }\n            ]\n        },\n        {\n            \"Category\": \"Proof Of Delivery\",\n            \"DocumentTypes\": [\n                {\n                    \"DocumentType\": \"Shipping Provider Proof\"\n                },\n                {\n                    \"DocumentType\": \"Fulfillment\"\n                },\n                {\n                    \"DocumentType\": \"Usage History\"\n                },\n                {\n                    \"DocumentType\": \"Login History\"\n                },\n                {\n                    \"DocumentType\": \"Proof of Site or App Access\"\n                },\n                {\n                    \"DocumentType\": \"Proof of Product Download\"\n                },\n                {\n                    \"DocumentType\": \"Proof of Activation or Usage\"\n                },\n                {\n                    \"DocumentType\": \"Warranty Registration\"\n                },\n                {\n                    \"DocumentType\": \"Evidence Service Was Provided\"\n                }\n            ]\n        },\n        {\n            \"Category\": \"Travel Documents\",\n            \"DocumentTypes\": [\n                {\n                    \"DocumentType\": \"Flight Manifest\"\n                },\n                {\n                    \"DocumentType\": \"Travel Purchase\"\n                },\n                {\n                    \"DocumentType\": \"Travel history and rewards usage\"\n                },\n                {\n                    \"DocumentType\": \"Hotel or Vacation Rental Final Bill\"\n                },\n                {\n                    \"DocumentType\": \"Food/Beverages Signed to Room\"\n                },\n                {\n                    \"DocumentType\": \"Parking Ticket\"\n                },\n                {\n                    \"DocumentType\": \"Traffic Fine\"\n                },\n                {\n                    \"DocumentType\": \"Other\"\n                },\n                {\n                    \"DocumentType\": \"Car Rental Agreement\"\n                },\n                {\n                    \"DocumentType\": \"Toll Receipt\"\n                },\n                {\n                    \"DocumentType\": \"Collision/Damage Proof\"\n                },\n                {\n                    \"DocumentType\": \"Gas Receipt\"\n                },\n                {\n                    \"DocumentType\": \"Car Return Late Fee Receipt\"\n                },\n                {\n                    \"DocumentType\": \"Room Service\"\n                },\n                {\n                    \"DocumentType\": \"Recreational Activities\"\n                },\n                {\n                    \"DocumentType\": \"In-Room charges\"\n                },\n                {\n                    \"DocumentType\": \"Damage Proof\"\n                },\n                {\n                    \"DocumentType\": \"In-Flight services\"\n                },\n                {\n                    \"DocumentType\": \"Upgrade\"\n                },\n                {\n                    \"DocumentType\": \"Baggage Fees\"\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"43136739-b641-4b02-b5b0-574f054c4615"},{"name":"UploadDocument","id":"6bb036c4-150f-4404-b7c0-de3bbb4213e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"ChargebackId\": 31663,\r\n  \"ProcessorCaseId\": \"2025084027182\",\r\n  \"DocumentType\": \"Signed Contract\",\r\n  \"Title\": \"Test\",\r\n  \"Notes\": \"test notes.\",\r\n  \"ImageContent\": \"/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxMTEhUSEhMWFhUWGBYYGRgXFxoaGBcYFxoXGBcYGBYeHiggGB8lHxcYITEhJSkrLi4uGB8zODMsNygtLisBCgoKDg0OGxAQGi0lICUtLS0tLS0tLS0tLS8tLS0tLS0tLS0tLSstLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLf/AABEIALEBHAMBIgACEQEDEQH/xAAcAAACAwEBAQEAAAAAAAAAAAAABQMEBgIHAQj/xABGEAABAwIEAwUFBQUGAwkAAAABAAIRAyEEEjFBBVFhBiJxgZETMqGxwRQjQtHwM1JicuEHFUOSsvEWotI0NVNUY3OCs8L/xAAZAQEAAwEBAAAAAAAAAAAAAAAAAQIDBAX/xAAvEQACAgEDAwEHAgcAAAAAAAAAAQIRAxIhMQRBURMUIjJhkaGxUnEVM0KB0fDx/9oADAMBAAIRAxEAPwDw1CEIAQhCAEIQgBCEIAQhCAEIQgBCEIAQhCAEIQgBCEIAQhCAEIQgBCEIAQhCAEIQgBCEIAQhCAEIQgBCEIAQhCAEIQgBCEIAQhCAEIQgBCEIAQhCAEIQgBCEIAQhCAEIQgBCEIAQhCAEIQgBCEIAQhCAEIQgBCEIAQhCAEIQgBCEIAQhCAEKSlRc6zWl3gCfkrtPgWJP+C8fzDL0/FCAXITj/hjFf+F/zs/6lMzsliSJhgPIvE+PL47qLRGpeRChaal2JxB1dTA594//AJVodh4PfrjqAz6lwTUiNSMehbt/Y3DxAq1J590iecQPmuaPYqhPfrvI6NDY8zMqNSI9SPkwyFv6fYrCn/Gq/wDJ8/6Lt/YvCAWqVif5qYH+kqdSGuJ56hehs7E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L9xB5EH6BdGHS1zuQzfD/s2K8KP+tySdmP+96f85/0FCFlj+Gf7P8It3P0TR0ClKELyjUGr6viEB2uyvqEBSxm3iPqq2J0CEIDE9qtXfyfVL+zejP8A3mfJCFXuYv4jrtB7rPB30WeH5oQqSMsnJNuPD8lyfePkhCqiqOMVof1uoMFqfB3yQhXIfJHV0HgvuF1HivqEIXJYp+8fNfK+oQhXx8s1XAr7Re4f5j81ma/7Mfzu+TUIXr9D/K/uyq5HXCvcZ4Bafg/7QeS+IVMvLNkekcH0Tp2nkUIXnPk2POe1P7cfrda2h+zp/wAiELSXwoqjyrjH7HDfy1f/ALXpXiPfPihC7YcfUyZFTTbg3vN8QhCmfBKJO0HuO8D9Ujq6+vzK+IU4uA+T/9k=\",  \r\n  \"ImageContentName\": \"huury.jpg\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://YourEnterpriseName.midmetrics.io/api/chargeback/uploaddocument","description":"<p>Uploads a document (base64 encoded) to associate with a chargeback. Auto-creates a draft representment if one doesn’t exist.</p>\n<p>Examploe paylod:</p>\n<p>{<br />\"ChargebackId\": 45678,<br />\"ProcessorCaseId\": \"CASE98765\",<br />\"DocumentType\": \"Signed Contract\",<br />\"Title\": \"Customer Agreement\",<br />\"Notes\": \"Signed contract received from the customer on March 25, 2025.\",<br />\"ImageContent\": \"iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8...\", // shortened Base64 string<br />\"ImageContentName\": \"signed_contract.pdf\"<br />}</p>\n<p>ImageContent should be a base64-encoded string of the file contents</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"448aebba-5df7-4b56-a283-b0bead561b19","id":"448aebba-5df7-4b56-a283-b0bead561b19","name":"MidMetrics Public APIs","type":"collection"}},"urlObject":{"protocol":"https","path":["api","chargeback","uploaddocument"],"host":["YourEnterpriseName","midmetrics","io"],"query":[],"variable":[]}},"response":[{"id":"b0feaaf2-59ed-4b17-9170-7d55f0f91215","name":"Example Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"ChargebackId\": \"9924069185 - 01\",\r\n  \"ProcessorCaseId\": \"9924069185 - 01\",\r\n  \"DocumentType\": \"Signed Contract\",\r\n  \"Title\": \"Customer Agreement\",\r\n  \"Notes\": \"Signed contract received from the customer on March 25, 2025.\",\r\n  \"ImageContent\": \"SGVsbG8gZnJvbSBDaGF0R1BUISE=\",  // shortened Base64 string\r\n  \"ImageContentName\": \"signed_contract.pdf\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://YourEnterpriseName.midmetrics.io/api/chargeback/uploaddocument"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"144"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 28 Mar 2025 22:30:02 GMT"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Access-Control-Expose-Headers","value":"Request-Context"},{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"Request-Context","value":"appId=cid-v1:d5d7734f-f522-4898-ad87-d7cf6e51537a"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"\"File uploaded successfully.\""},{"id":"ff686d23-40af-404a-9630-4c73e06f1752","name":"Example with bad chargeback id","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"ChargebackId\": 45678,\r\n  \"ProcessorCaseId\": \"CASE98765\",\r\n  \"DocumentType\": \"Signed Contract\",\r\n  \"Title\": \"Customer Agreement\",\r\n  \"Notes\": \"Signed contract received from the customer on March 25, 2025.\",\r\n  \"ImageContent\": \"SGVsbG8gZnJvbSBDaGF0R1BUISE=\",  // shortened Base64 string\r\n  \"ImageContentName\": \"signed_contract.pdf\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://YourEnterpriseName.midmetrics.io/api/chargeback/uploaddocument"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"32"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 28 Mar 2025 22:25:12 GMT"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Access-Control-Expose-Headers","value":"Request-Context"},{"key":"Cache-Control","value":"no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"Request-Context","value":"appId=cid-v1:d5d7734f-f522-4898-ad87-d7cf6e51537a"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"No such chargeback\"\n}"}],"_postman_id":"6bb036c4-150f-4404-b7c0-de3bbb4213e8"},{"name":"SubmitRepresentment","id":"723d6ed9-4b6f-470f-b848-e3cd40419545","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"MidMetricsId","value":"","type":"text","uuid":"70f7c9cb-a3f7-414e-84f5-f9723309ab90"},{"key":"ProcessorCaseId","value":"","type":"text","uuid":"3e349bc9-341d-48d1-8d3e-fa2f4b833873"},{"key":"TrackingNumber","value":"","type":"text","uuid":"51a5fee4-45cc-4a87-a1ec-dd44222a4352"},{"key":"File","type":"file","uuid":"adf7fda2-4daa-44f5-aea2-8601b75c5e70","value":null}]},"url":"https://YourEnterpriseName.midmetrics.io/api/Chargeback/SubmitRepresentment","description":"<h3 id=\"submit-representment\">Submit Representment</h3>\n<p>This endpoint is used to submit a representment letter for a chargeback to the specified processor. A representment is a process where a merchant disputes a chargeback with supporting documentation. The <strong>file</strong> submitted should be the complete representment letter to be submitted to the processor.</p>\n<h4 id=\"request-format\">Request Format</h4>\n<ul>\n<li><p><strong>Method:</strong> POST</p>\n</li>\n<li><p><strong>Endpoint:</strong> <code>https://YourEnterpriseName.midmetrics.io/api/Chargeback/SubmitRepresentment</code></p>\n</li>\n</ul>\n<h4 id=\"request-body\">Request Body</h4>\n<p>The request body must be sent as <code>form-data</code> and should include the following parameters:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>MidMetricsId</code></td>\n<td>text</td>\n<td>The unique identifier for the Chargeback inside midmetrics. This value must be retrieved by the Events webhook</td>\n</tr>\n<tr>\n<td><code>ProcessorCaseId</code></td>\n<td>text</td>\n<td>The unique identifier for the processor case.  <br />  <br />For testing, use the value \"test.  <br />In test mode the system will verify the API call is valid and not process the request.</td>\n</tr>\n<tr>\n<td><code>TrackingNumber</code></td>\n<td>text</td>\n<td>The tracking number associated with the shipment.</td>\n</tr>\n<tr>\n<td><code>File</code></td>\n<td>file</td>\n<td>A file containing the Representment Letter.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-structure\">Response Structure</h4>\n<p>Upon successful submission, the response will return the following</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"ProcessorId\": {processorCaseId},\n    \"TrackingNumber\": {trackingNumber},\n    \"BytesSaved\": {bytesOfSubmittedFile},\n    \"Message\": \"Representment queued for submission\",\n}\n\n</code></pre>\n<ul>\n<li><p>ProcessorId**:** The processor id submitted with the request.</p>\n</li>\n<li><p>TrackingNumber**:** The tracking number submitted with the request.</p>\n</li>\n<li><p>BytesSaved**:** The number of bytes of the submitted file.</p>\n</li>\n<li><p>Message: String \"Representment queued for submission\" if submission succesful.</p>\n</li>\n</ul>\n<h3 id=\"example-request\">Example Request</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>POST /api/Chargeback/SubmitRepresentment\nContent-Type: multipart/form-data\n{\n    \"MidMetricsId\": \"100\",    \n    \"ProcessorCaseId\": \"123456\",\n    \"TrackingNumber\": \"ABC123456\",\n    \"File\": &lt;binary file&gt;\n}\n\n</code></pre>","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"448aebba-5df7-4b56-a283-b0bead561b19","id":"448aebba-5df7-4b56-a283-b0bead561b19","name":"MidMetrics Public APIs","type":"collection"}},"urlObject":{"protocol":"https","path":["api","Chargeback","SubmitRepresentment"],"host":["YourEnterpriseName","midmetrics","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"723d6ed9-4b6f-470f-b848-e3cd40419545"}],"id":"2aab7cd8-9a58-4545-a35b-ff3426e7c75b","description":"<p>The representments API allows you to upload a document (Base64 encoded) to associate with a chargeback. Auto-creates a draft representment if one doesn’t exist.</p>\n","_postman_id":"2aab7cd8-9a58-4545-a35b-ff3426e7c75b","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"448aebba-5df7-4b56-a283-b0bead561b19","id":"448aebba-5df7-4b56-a283-b0bead561b19","name":"MidMetrics Public APIs","type":"collection"}}}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]}},"event":[{"listen":"prerequest","script":{"id":"7f0636da-4530-40b4-a36e-e51bfd5bc06e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"9dc3948a-ddff-4e5e-ae0c-4e4a35d1f272","type":"text/javascript","exec":[""]}}],"variable":[{"key":"enterpriseName","value":"YourEnterpriseName"},{"key":"APIKey","value":"YourAPIKey"}]}