Advertisement
Guest User

Untitled

a guest
Apr 19th, 2018
785
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 107.12 KB | None | 0 0
  1. {
  2.     "metadata": {
  3.         "links": {},
  4.         "transitions": {
  5.             "summary": {
  6.                 "method": "POST",
  7.                 "url": "https://breeze-api.development.carecloud.com/workflow/shamrock/practice_mode/practice_transactions/summary",
  8.                 "query_string": {
  9.                     "$schema": "http://json-schema.org/draft-04/schema#",
  10.                     "type": "object",
  11.                     "properties": {
  12.                         "practice_mgmt": {
  13.                             "type": "string",
  14.                             "pattern": "^[^\\s]+$"
  15.                         },
  16.                         "practice_id": {
  17.                             "type": "string",
  18.                             "pattern": "^[^\\s]+$"
  19.                         }
  20.                     },
  21.                     "required": [
  22.                         "practice_mgmt",
  23.                         "practice_id"
  24.                     ]
  25.                 }
  26.             },
  27.             "detail": {
  28.                 "method": "POST",
  29.                 "url": "https://breeze-api.development.carecloud.com/workflow/shamrock/practice_mode/practice_transactions/detail",
  30.                 "query_string": {
  31.                     "$schema": "http://json-schema.org/draft-04/schema#",
  32.                     "type": "object",
  33.                     "properties": {
  34.                         "practice_mgmt": {
  35.                             "type": "string",
  36.                             "pattern": "^[^\\s]+$"
  37.                         },
  38.                         "practice_id": {
  39.                             "type": "string",
  40.                             "pattern": "^[^\\s]+$"
  41.                         },
  42.                         "confirmation_number": {
  43.                             "type": "string"
  44.                         }
  45.                     },
  46.                     "required": [
  47.                         "practice_mgmt",
  48.                         "practice_id",
  49.                         "confirmation_number"
  50.                     ]
  51.                 },
  52.                 "post_model": {
  53.                     "$schema": "http://json-schema.org/draft-04/schema#",
  54.                     "type": "object",
  55.                     "properties": {
  56.                         "transaction_type": {
  57.                             "type": "string",
  58.                             "enum": [
  59.                                 "payment"
  60.                             ]
  61.                         }
  62.                     }
  63.                 }
  64.             },
  65.             "edit_detail": {
  66.                 "method": "POST",
  67.                 "url": "https://breeze-api.development.carecloud.com/workflow/shamrock/practice_mode/practice_transactions/edit_detail",
  68.                 "query_string": {
  69.                     "$schema": "http://json-schema.org/draft-04/schema#",
  70.                     "type": "object",
  71.                     "properties": {
  72.                         "practice_mgmt": {
  73.                             "type": "string",
  74.                             "pattern": "^[^\\s]+$"
  75.                         },
  76.                         "practice_id": {
  77.                             "type": "string",
  78.                             "pattern": "^[^\\s]+$"
  79.                         },
  80.                         "confirmation_number": {
  81.                             "type": "string"
  82.                         }
  83.                     },
  84.                     "required": [
  85.                         "practice_mgmt",
  86.                         "practice_id",
  87.                         "confirmation_number"
  88.                     ]
  89.                 },
  90.                 "post_model": {
  91.                     "$schema": "http://json-schema.org/draft-04/schema#",
  92.                     "type": "object",
  93.                     "properties": {
  94.                         "update_list": {
  95.                             "type": "array",
  96.                             "items": {
  97.                                 "type": "object",
  98.                                 "properties": {
  99.                                     "field_name": {
  100.                                         "type": "string"
  101.                                     },
  102.                                     "field_value": {
  103.                                         "type": "string"
  104.                                     }
  105.                                 }
  106.                             },
  107.                             "minItems": 1
  108.                         }
  109.                     }
  110.                 }
  111.             },
  112.             "refund_payment": {
  113.                 "method": "POST",
  114.                 "url": "https://breeze-api.development.carecloud.com/workflow/shamrock/practice_mode/practice_transaction/refund_payment",
  115.                 "query_string": {
  116.                     "$schema": "http://json-schema.org/draft-04/schema#",
  117.                     "type": "object",
  118.                     "properties": {
  119.                         "practice_mgmt": {
  120.                             "type": "string",
  121.                             "pattern": "^[^\\s]+$"
  122.                         },
  123.                         "practice_id": {
  124.                             "type": "string",
  125.                             "pattern": "^[^\\s]+$"
  126.                         },
  127.                         "patient_id": {
  128.                             "type": "string",
  129.                             "pattern": "^[^\\s]+$"
  130.                         }
  131.                     },
  132.                     "required": [
  133.                         "practice_mgmt",
  134.                         "practice_id",
  135.                         "patient_id"
  136.                     ]
  137.                 },
  138.                 "post_model": {
  139.                     "$schema": "http://json-schema.org/draft-04/schema#",
  140.                     "properties": {
  141.                         "deepstream_record_id": {
  142.                             "id": "/properties/deepstream_record_id",
  143.                             "type": "string"
  144.                         },
  145.                         "external_transaction_response": {
  146.                             "id": "/properties/external_transaction_response",
  147.                             "type": "object"
  148.                         },
  149.                         "line_items": {
  150.                             "id": "/properties/line_items",
  151.                             "items": {
  152.                                 "id": "/properties/line_items/items",
  153.                                 "properties": {
  154.                                     "amount": {
  155.                                         "id": "/properties/line_items/items/properties/amount",
  156.                                         "type": "number"
  157.                                     },
  158.                                     "processing_id": {
  159.                                         "id": "/properties/line_items/items/properties/processing_id",
  160.                                         "type": "string"
  161.                                     },
  162.                                     "description": {
  163.                                         "id": "/properties/line_items/items/properties/description",
  164.                                         "type": "string"
  165.                                     }
  166.                                 },
  167.                                 "type": "object",
  168.                                 "required": [
  169.                                     "processing_id",
  170.                                     "amount"
  171.                                 ]
  172.                             },
  173.                             "type": "array",
  174.                             "minItems": 1
  175.                         }
  176.                     },
  177.                     "type": "object",
  178.                     "required": [
  179.                         "deepstream_record_id",
  180.                         "line_items"
  181.                     ]
  182.                 }
  183.             }
  184.         },
  185.         "summary_post_model": {
  186.             "$schema": "http://json-schema.org/draft-04/schema#",
  187.             "type": "object",
  188.             "properties": {
  189.                 "transaction_type": {
  190.                     "type": "string",
  191.                     "enum": [
  192.                         "payment_made",
  193.                         "payment_refund"
  194.                     ]
  195.                 },
  196.                 "page_number": {
  197.                     "type": "number"
  198.                 },
  199.                 "page_transaction_count": {
  200.                     "type": "number"
  201.                 },
  202.                 "sort_order": {
  203.                     "type": "string",
  204.                     "enum": [
  205.                         "date",
  206.                         "last_name"
  207.                     ]
  208.                 },
  209.                 "sort_by": {
  210.                     "type": "string",
  211.                     "enum": [
  212.                         "asc",
  213.                         "desc"
  214.                     ]
  215.                 },
  216.                 "date_range": {
  217.                     "type": "object",
  218.                     "properties": {
  219.                         "start_date": {
  220.                             "type": "string"
  221.                         },
  222.                         "end_date": {
  223.                             "type": "string"
  224.                         }
  225.                     }
  226.                 },
  227.                 "filter_by": {
  228.                     "type": "object",
  229.                     "properties": {
  230.                         "type": {
  231.                             "type": "string",
  232.                             "enum": [
  233.                                 "user_id",
  234.                                 "patient_id",
  235.                                 "last_name",
  236.                                 "status"
  237.                             ]
  238.                         },
  239.                         "username": {
  240.                             "type": "string"
  241.                         },
  242.                         "user_id": {
  243.                             "type": "string"
  244.                         },
  245.                         "patient_id": {
  246.                             "type": "string"
  247.                         },
  248.                         "last_name": {
  249.                             "type": "string"
  250.                         },
  251.                         "status": {
  252.                             "type": "string",
  253.                             "enum": [
  254.                                 "failed",
  255.                                 "succeeded"
  256.                             ]
  257.                         }
  258.                     }
  259.                 }
  260.             }
  261.         }
  262.     },
  263.     "payload": {
  264.         "user_practices": [
  265.             {
  266.                 "user_id": "15606952-0662-401f-b175-dff0b5e96065",
  267.                 "practice_mgmt": "carecloud",
  268.                 "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  269.                 "practice_name": "CareCloud Clinic",
  270.                 "practice_photo": "https://documents.development.carecloud.com/photos/158e7c42b6bc9d129fdab2ce3a2f87a9/small",
  271.                 "practice_address": {
  272.                     "line1": "5200 BLUE LAGOON DR",
  273.                     "line2": "SUITE 900DFFGFFGFGFDGFLKNGLDKN",
  274.                     "city": "MIAMI",
  275.                     "state": "FL",
  276.                     "zip_code": "331267006"
  277.                 },
  278.                 "practice_phone": "9999999999",
  279.                 "locations": [
  280.                     {
  281.                         "id": 789,
  282.                         "name": "HOME OFFICE",
  283.                         "is_visible_appointment_scheduler": true,
  284.                         "guid": "1d5b98f3-2e8b-4928-9828-44277a2738d1",
  285.                         "address": {
  286.                             "line1": "609 E LAS OLAS BLVD",
  287.                             "line2": null,
  288.                             "line3": null,
  289.                             "city": "AVENEL",
  290.                             "zip_code": "07001",
  291.                             "county_name": null,
  292.                             "latitude": 26.1192,
  293.                             "longitude": -80.1371,
  294.                             "state_name": "NJ",
  295.                             "country_name": "UNITED STATES"
  296.                         },
  297.                         "phones": [
  298.                             {
  299.                                 "phone_number": "9547554629",
  300.                                 "phone_type": "Business",
  301.                                 "phone_ext": null,
  302.                                 "is_primary": false
  303.                             },
  304.                             {
  305.                                 "phone_number": "5555555555",
  306.                                 "phone_type": "Main",
  307.                                 "phone_ext": null,
  308.                                 "is_primary": true
  309.                             }
  310.                         ]
  311.                     },
  312.                     {
  313.                         "id": 20871,
  314.                         "name": "TEST CC RHC",
  315.                         "is_visible_appointment_scheduler": true,
  316.                         "guid": "b79d4e9c-bb53-45ab-8ace-4f61f509a8cb",
  317.                         "address": {
  318.                             "line1": "222 TEST ROAD",
  319.                             "line2": null,
  320.                             "line3": null,
  321.                             "city": "RAVENSWOOD",
  322.                             "zip_code": "26164-2220",
  323.                             "county_name": null,
  324.                             "latitude": 0,
  325.                             "longitude": 0,
  326.                             "state_name": "WV",
  327.                             "country_name": "UNITED STATES"
  328.                         },
  329.                         "phones": [
  330.                             {
  331.                                 "phone_number": "9999999999",
  332.                                 "phone_type": "Business",
  333.                                 "phone_ext": null,
  334.                                 "is_primary": true
  335.                             }
  336.                         ]
  337.                     },
  338.                     {
  339.                         "id": 20869,
  340.                         "name": "INTEGRATEDTEST",
  341.                         "is_visible_appointment_scheduler": true,
  342.                         "guid": "67f1005f-5482-4845-bdcd-14712324763a",
  343.                         "address": {
  344.                             "line1": "5500 BLUE LAGOON DR",
  345.                             "line2": null,
  346.                             "line3": null,
  347.                             "city": "MIAMI",
  348.                             "zip_code": "33126-2028",
  349.                             "county_name": null,
  350.                             "latitude": 25.7818,
  351.                             "longitude": -80.2831,
  352.                             "state_name": "FL",
  353.                             "country_name": "UNITED STATES"
  354.                         },
  355.                         "phones": []
  356.                     },
  357.                     {
  358.                         "id": 8776,
  359.                         "name": "WEST MEMORIAL CLINIC",
  360.                         "is_visible_appointment_scheduler": true,
  361.                         "guid": "539b0cd0-357d-4f51-9870-d784173e2293",
  362.                         "address": {
  363.                             "line1": "5200 BLUE LAGOON DR STE 900",
  364.                             "line2": null,
  365.                             "line3": null,
  366.                             "city": "MIAMI",
  367.                             "zip_code": "33126-7004",
  368.                             "county_name": null,
  369.                             "latitude": 25.7811,
  370.                             "longitude": -80.2829,
  371.                             "state_name": "FL",
  372.                             "country_name": "UNITED STATES"
  373.                         },
  374.                         "phones": [
  375.                             {
  376.                                 "phone_number": "8012654200",
  377.                                 "phone_type": "Main",
  378.                                 "phone_ext": null,
  379.                                 "is_primary": true
  380.                             },
  381.                             {
  382.                                 "phone_number": "8012654203",
  383.                                 "phone_type": "Business",
  384.                                 "phone_ext": null,
  385.                                 "is_primary": false
  386.                             }
  387.                         ]
  388.                     },
  389.                     {
  390.                         "id": 474,
  391.                         "name": "MAIN MEDICAL CENTER",
  392.                         "is_visible_appointment_scheduler": true,
  393.                         "guid": "cad70ba2-a50e-43d4-9bbd-f0ecbcd0abfb",
  394.                         "address": {
  395.                             "line1": "5200 BLUE LAGOON DR STE 900",
  396.                             "line2": null,
  397.                             "line3": null,
  398.                             "city": "MIAMI",
  399.                             "zip_code": "33126-7004",
  400.                             "county_name": null,
  401.                             "latitude": 25.7811,
  402.                             "longitude": -80.2829,
  403.                             "state_name": "FL",
  404.                             "country_name": "UNITED STATES"
  405.                         },
  406.                         "phones": [
  407.                             {
  408.                                 "phone_number": "7777777777",
  409.                                 "phone_type": "Fax",
  410.                                 "phone_ext": null,
  411.                                 "is_primary": false
  412.                             },
  413.                             {
  414.                                 "phone_number": "1234567890",
  415.                                 "phone_type": "Main",
  416.                                 "phone_ext": null,
  417.                                 "is_primary": true
  418.                             }
  419.                         ]
  420.                     },
  421.                     {
  422.                         "id": 2095,
  423.                         "name": "MEMORIAL HOSPITAL CLINIC",
  424.                         "is_visible_appointment_scheduler": true,
  425.                         "guid": "72a37288-13c3-4cc4-ae1f-3dabb84fcd3a",
  426.                         "address": {
  427.                             "line1": "5000 UNIVERSITY DR",
  428.                             "line2": null,
  429.                             "line3": null,
  430.                             "city": "CORAL GABLES",
  431.                             "zip_code": "33146-2008",
  432.                             "county_name": "Miami-dade",
  433.                             "latitude": 25.7247,
  434.                             "longitude": -80.2732,
  435.                             "state_name": "FL",
  436.                             "country_name": "UNITED STATES"
  437.                         },
  438.                         "phones": [
  439.                             {
  440.                                 "phone_number": "5555555777",
  441.                                 "phone_type": "Main",
  442.                                 "phone_ext": null,
  443.                                 "is_primary": true
  444.                             },
  445.                             {
  446.                                 "phone_number": "5555555555",
  447.                                 "phone_type": "Business",
  448.                                 "phone_ext": null,
  449.                                 "is_primary": false
  450.                             }
  451.                         ]
  452.                     },
  453.                     {
  454.                         "id": 8775,
  455.                         "name": "SOUTH MEDICAL CENTER",
  456.                         "is_visible_appointment_scheduler": true,
  457.                         "guid": "eb301b97-7002-4941-9657-d718ea4e4094",
  458.                         "address": {
  459.                             "line1": "6200 SUNSET DRIVE SUITE 500",
  460.                             "line2": null,
  461.                             "line3": null,
  462.                             "city": "SOUTH MIAMI",
  463.                             "zip_code": "33143-4828",
  464.                             "county_name": null,
  465.                             "latitude": 25.7041,
  466.                             "longitude": -80.2934,
  467.                             "state_name": "FL",
  468.                             "country_name": "UNITED STATES"
  469.                         },
  470.                         "phones": [
  471.                             {
  472.                                 "phone_number": "6666666666",
  473.                                 "phone_type": "Main",
  474.                                 "phone_ext": null,
  475.                                 "is_primary": true
  476.                             },
  477.                             {
  478.                                 "phone_number": "1111111111",
  479.                                 "phone_type": "Business",
  480.                                 "phone_ext": null,
  481.                                 "is_primary": false
  482.                             }
  483.                         ]
  484.                     }
  485.                 ],
  486.                 "is_retail_enabled": true
  487.             }
  488.         ],
  489.         "languages": [
  490.             {
  491.                 "code": "en",
  492.                 "default": true,
  493.                 "label": "English",
  494.                 "name": "english"
  495.             },
  496.             {
  497.                 "code": "es",
  498.                 "default": false,
  499.                 "label": "Español",
  500.                 "name": "spanish"
  501.             }
  502.         ],
  503.         "auth": {
  504.             "role": "integration",
  505.             "permissions": {
  506.                 "accept_appointment_request": true,
  507.                 "cancel_appointment": true,
  508.                 "schedule_appointment": true,
  509.                 "make_payment": true,
  510.                 "make_refund": true,
  511.                 "add_charges": true,
  512.                 "create_payment_plan": true,
  513.                 "access_langauge_settings": true,
  514.                 "access_authentication_settings": true,
  515.                 "access_appointment_settings": true,
  516.                 "access_payment_settings": true,
  517.                 "access_patient_forms": true,
  518.                 "access_intake_forms": true,
  519.                 "access_welcome_screen_settings": true,
  520.                 "access_office_news": true,
  521.                 "access_authentication_pin_number_settings": true,
  522.                 "access_transactions": true,
  523.                 "access_user_management": true,
  524.                 "location_settings": true
  525.             }
  526.         },
  527.         "transactions": {
  528.             "page_details": {
  529.                 "current_page": 5,
  530.                 "total_pages": 13,
  531.                 "total_entries": 302,
  532.                 "per_page": 25
  533.             },
  534.             "results": [
  535.                 {
  536.                     "metadata": {
  537.                         "created_dt": "2017-11-14T16:22:09.060Z",
  538.                         "updated_dt": "2017-11-14T16:22:08.929Z",
  539.                         "payment_made_id": "317e5e71b3071648",
  540.                         "user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  541.                         "practice_mgmt": "carecloud",
  542.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  543.                         "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  544.                         "username": "breezebetatester@gmail.com"
  545.                     },
  546.                     "payload": {
  547.                         "practice_mgmt": "carecloud",
  548.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  549.                         "confirmation": "317e5e71b3071648",
  550.                         "first_name": "BREEZE",
  551.                         "last_name": "USER",
  552.                         "date": "2017-11-14T16:22:08.929Z",
  553.                         "state": "Unknown"
  554.                     }
  555.                 },
  556.                 {
  557.                     "metadata": {
  558.                         "created_dt": "2017-11-14T12:52:07.078Z",
  559.                         "updated_dt": "2017-11-14T12:52:06.620Z",
  560.                         "payment_made_id": "bee37cf26519149a",
  561.                         "user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  562.                         "practice_mgmt": "carecloud",
  563.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  564.                         "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  565.                         "username": "breezebetatester@gmail.com"
  566.                     },
  567.                     "payload": {
  568.                         "practice_mgmt": "carecloud",
  569.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  570.                         "confirmation": "bee37cf26519149a",
  571.                         "first_name": "BREEZE",
  572.                         "last_name": "USER",
  573.                         "date": "2017-11-14T12:52:06.620Z",
  574.                         "state": "Unknown"
  575.                     }
  576.                 },
  577.                 {
  578.                     "metadata": {
  579.                         "created_dt": "2017-11-14T12:22:34.266Z",
  580.                         "updated_dt": "2017-11-14T12:22:33.917Z",
  581.                         "payment_made_id": "29f96911-1a24-4750-bdce-7148f85d89a5",
  582.                         "user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  583.                         "practice_mgmt": "carecloud",
  584.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  585.                         "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  586.                         "username": "breezebetatester@gmail.com"
  587.                     },
  588.                     "payload": {
  589.                         "practice_mgmt": "carecloud",
  590.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  591.                         "confirmation": "29f96911-1a24-4750-bdce-7148f85d89a5",
  592.                         "first_name": "BREEZE",
  593.                         "last_name": "USER",
  594.                         "date": "2017-11-14T12:22:33.917Z",
  595.                         "state": "Unknown"
  596.                     }
  597.                 },
  598.                 {
  599.                     "metadata": {
  600.                         "created_dt": "2017-11-14T12:02:06.791Z",
  601.                         "updated_dt": "2017-11-14T12:02:06.272Z",
  602.                         "payment_made_id": "aaf6092d-7bc8-4c05-b331-c590ff97e2f0",
  603.                         "user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  604.                         "practice_mgmt": "carecloud",
  605.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  606.                         "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  607.                         "username": "breezebetatester@gmail.com"
  608.                     },
  609.                     "payload": {
  610.                         "practice_mgmt": "carecloud",
  611.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  612.                         "confirmation": "aaf6092d-7bc8-4c05-b331-c590ff97e2f0",
  613.                         "first_name": "BREEZE",
  614.                         "last_name": "USER",
  615.                         "date": "2017-11-14T12:02:06.272Z",
  616.                         "state": "Unknown"
  617.                     }
  618.                 },
  619.                 {
  620.                     "metadata": {
  621.                         "created_dt": "2017-11-14T09:39:07.114Z",
  622.                         "updated_dt": "2017-11-14T09:39:06.993Z",
  623.                         "payment_made_id": "b2aff4a4-1481-4830-84fc-65d452ea2c8e",
  624.                         "user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  625.                         "practice_mgmt": "carecloud",
  626.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  627.                         "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  628.                         "appointment_id": "34a0e5f4-f762-4ddc-acdb-7194b9ce32d4",
  629.                         "username": "breezebetatester@gmail.com"
  630.                     },
  631.                     "payload": {
  632.                         "metadata": {
  633.                             "appointment_id": "34a0e5f4-f762-4ddc-acdb-7194b9ce32d4",
  634.                             "practice_mgmt": "carecloud",
  635.                             "business_entity_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  636.                             "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  637.                             "breeze_user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  638.                             "carepay": true,
  639.                             "prepped_for_processing": true,
  640.                             "externally_processed": false
  641.                         },
  642.                         "execution": "payeezy",
  643.                         "amount": 1,
  644.                         "payment_method": {
  645.                             "type": "card",
  646.                             "id": "b03c5e28-e2f2-43af-adc0-36c8cd3e5f0a",
  647.                             "card_data": {
  648.                                 "card_type": "Mastercard",
  649.                                 "last_four": "5100",
  650.                                 "cardholder_name": "Breeze User"
  651.                             }
  652.                         },
  653.                         "line_items": [
  654.                             {
  655.                                 "provider_id": "75e17222-3da0-4da1-86b6-c8ac1fe366fc",
  656.                                 "amount": 1,
  657.                                 "type": "co_pay",
  658.                                 "location_id": "eb301b97-7002-4941-9657-d718ea4e4094",
  659.                                 "papi_processing_exhausted": true,
  660.                                 "papi_processed": true,
  661.                                 "cc_persisted": true,
  662.                                 "papi_error_ids": [],
  663.                                 "processing_id": "0f1d4cffd35a4e1cacb541a52ed8451c",
  664.                                 "merchant_service_transaction_id": "ET107100",
  665.                                 "papi_charge_id": "d38c086a-a0b3-448b-aaef-d4434fe792fd",
  666.                                 "card_used_last_four": "5100",
  667.                                 "cc_credit_transaction_id": 94598176,
  668.                                 "provider_name": "Dr. Lauren Derosa",
  669.                                 "location_name": "SOUTH MEDICAL CENTER",
  670.                                 "status": "succeeded",
  671.                                 "description": "co_pay"
  672.                             }
  673.                         ],
  674.                         "deepstream_record_id": "payment_request/b2aff4a4-1481-4830-84fc-65d452ea2c8e",
  675.                         "payment_profile_id": "3e371cfd-67b2-4114-b503-1b3ad06fca5c",
  676.                         "organization_id": "cffc3d2a-df7a-4209-9696-188f2ac199be",
  677.                         "state": "Completed",
  678.                         "payment_group_id": "1100f5a8b1d34c478cd598119d130380",
  679.                         "__ds": {
  680.                             "_v": 4
  681.                         },
  682.                         "created_at": "2017-11-14T04:39:06.450Z",
  683.                         "updated_at": "2017-11-14T04:39:06.450Z",
  684.                         "practice_mgmt": "carecloud",
  685.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  686.                         "confirmation": "b2aff4a4-1481-4830-84fc-65d452ea2c8e",
  687.                         "first_name": "BREEZE",
  688.                         "last_name": "USER",
  689.                         "date": "2017-11-14T09:39:06.993Z"
  690.                     }
  691.                 },
  692.                 {
  693.                     "metadata": {
  694.                         "created_dt": "2017-11-14T08:14:23.587Z",
  695.                         "updated_dt": "2017-11-14T08:14:23.390Z",
  696.                         "payment_made_id": "97f60c1c-8373-4274-b579-243a2e8464e9",
  697.                         "user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  698.                         "practice_mgmt": "carecloud",
  699.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  700.                         "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  701.                         "username": "breezebetatester@gmail.com"
  702.                     },
  703.                     "payload": {
  704.                         "metadata": {
  705.                             "practice_mgmt": "carecloud",
  706.                             "business_entity_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  707.                             "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  708.                             "user_id": "56e3aea9-9908-4f02-990d-b10f58e053af",
  709.                             "breeze_user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  710.                             "carepay": true,
  711.                             "prepped_for_processing": true,
  712.                             "externally_processed": false
  713.                         },
  714.                         "execution": "payeezy",
  715.                         "amount": 1,
  716.                         "payment_method": {
  717.                             "type": "card",
  718.                             "id": "b03c5e28-e2f2-43af-adc0-36c8cd3e5f0a",
  719.                             "card_data": {
  720.                                 "card_type": "Mastercard",
  721.                                 "last_four": "5100",
  722.                                 "cardholder_name": "Breeze User"
  723.                             }
  724.                         },
  725.                         "line_items": [
  726.                             {
  727.                                 "description": "Check - Returned check  that is either NSF, Incomplete, etc.",
  728.                                 "provider_id": "9711eff1-a6f3-47d7-b17c-b74c4fa941d9",
  729.                                 "amount": 1,
  730.                                 "type": "debit_application",
  731.                                 "type_id": "66012411",
  732.                                 "location_id": "72a37288-13c3-4cc4-ae1f-3dabb84fcd3a",
  733.                                 "papi_processing_exhausted": true,
  734.                                 "papi_processed": true,
  735.                                 "cc_persisted": true,
  736.                                 "papi_error_ids": [],
  737.                                 "processing_id": "24d1d26a276d4c2c9d69e63d80807701",
  738.                                 "merchant_service_transaction_id": "ET175273",
  739.                                 "papi_charge_id": "73a700ef-aaea-4b18-ab52-33b6222f9094",
  740.                                 "card_used_last_four": "5100",
  741.                                 "cc_credit_transaction_id": 94598175,
  742.                                 "provider_name": "James Baik",
  743.                                 "location_name": "MEMORIAL HOSPITAL CLINIC",
  744.                                 "status": "succeeded"
  745.                             }
  746.                         ],
  747.                         "deepstream_record_id": "payment_request/97f60c1c-8373-4274-b579-243a2e8464e9",
  748.                         "payment_profile_id": "3e371cfd-67b2-4114-b503-1b3ad06fca5c",
  749.                         "organization_id": "cffc3d2a-df7a-4209-9696-188f2ac199be",
  750.                         "state": "Completed",
  751.                         "payment_group_id": "c40dc3d0d6d64fd3ab1040ef3785235c",
  752.                         "__ds": {
  753.                             "_v": 4
  754.                         },
  755.                         "created_at": "2017-11-14T03:14:22.547Z",
  756.                         "updated_at": "2017-11-14T03:14:22.547Z",
  757.                         "practice_mgmt": "carecloud",
  758.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  759.                         "confirmation": "97f60c1c-8373-4274-b579-243a2e8464e9",
  760.                         "first_name": "BREEZE",
  761.                         "last_name": "USER",
  762.                         "date": "2017-11-14T08:14:23.390Z"
  763.                     }
  764.                 },
  765.                 {
  766.                     "metadata": {
  767.                         "created_dt": "2017-11-07T14:59:50.883Z",
  768.                         "updated_dt": "2017-11-07T14:59:50.740Z",
  769.                         "payment_made_id": "67076200-03f2-409b-9b6b-3f4b085e342f",
  770.                         "user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  771.                         "practice_mgmt": "carecloud",
  772.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  773.                         "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  774.                         "username": "breezebetatester@gmail.com"
  775.                     },
  776.                     "payload": {
  777.                         "external_transaction_response": {
  778.                             "result": "SUCCESS",
  779.                             "createdTime": 1510066785455,
  780.                             "offline": false,
  781.                             "cardTransaction": {
  782.                                 "cardholderName": "DISCOVER TEST CARD",
  783.                                 "authCode": "OK5632",
  784.                                 "entryType": "SWIPED",
  785.                                 "token": "7297162975886668",
  786.                                 "extra": {
  787.                                     "cvmResult": "NO_CVM_REQUIRED",
  788.                                     "authorizingNetworkName": "DISCOVER"
  789.                                 },
  790.                                 "state": "CLOSED",
  791.                                 "referenceId": "731100002175",
  792.                                 "last4": "6668",
  793.                                 "transactionNo": "700381",
  794.                                 "type": "AUTH",
  795.                                 "cardType": "DISCOVER",
  796.                                 "vaultedCard": {
  797.                                     "cardholderName": "DISCOVER TEST CARD",
  798.                                     "first6": "601136",
  799.                                     "expirationDate": "1218",
  800.                                     "last4": "6668",
  801.                                     "token": "7297162975886668"
  802.                                 }
  803.                             },
  804.                             "id": "4PTR6R5370E9E",
  805.                             "amount": 2048,
  806.                             "taxAmount": 0,
  807.                             "order": {
  808.                                 "id": "4H0E7N0KJ6HWE"
  809.                             },
  810.                             "device": {
  811.                                 "id": "68b53a62-e0c5-4697-82a8-95405393b937"
  812.                             },
  813.                             "tender": {
  814.                                 "id": "8YDWVH0P2PK0G",
  815.                                 "enabled": true,
  816.                                 "visible": true,
  817.                                 "labelKey": "com.clover.tender.credit_card",
  818.                                 "label": "Credit Card",
  819.                                 "opensCashDrawer": false,
  820.                                 "editable": false
  821.                             },
  822.                             "employee": {
  823.                                 "id": "JWBHCRZG62XBE"
  824.                             }
  825.                         },
  826.                         "execution": "clover",
  827.                         "line_items": [
  828.                             {
  829.                                 "provider_id": "05c94925-30f9-4bb4-80b0-5aafb623bfa4",
  830.                                 "description": "99210 - A normal 15 minute office visit",
  831.                                 "type_id": "66011811",
  832.                                 "type": "debit_application",
  833.                                 "location_id": "a0a25bfa-fb6d-4ac3-a276-182b8b428e33",
  834.                                 "amount": 10.48,
  835.                                 "papi_processing_exhausted": true,
  836.                                 "papi_processed": true,
  837.                                 "cc_persisted": true,
  838.                                 "papi_error_ids": [],
  839.                                 "processing_id": "3f7da4abc934419cb7797c979a9c7ddc",
  840.                                 "merchant_service_transaction_id": "4PTR6R5370E9E",
  841.                                 "papi_charge_id": "fde34a24-7b59-40ab-ae27-868e3419554f",
  842.                                 "card_used_last_four": "6668",
  843.                                 "cc_credit_transaction_id": 94597888,
  844.                                 "provider_name": "Monique Adu",
  845.                                 "status": "succeeded"
  846.                             },
  847.                             {
  848.                                 "provider_id": "75e17222-3da0-4da1-86b6-c8ac1fe366fc",
  849.                                 "description": "Co-pay",
  850.                                 "type": "co_pay",
  851.                                 "location_id": "eb301b97-7002-4941-9657-d718ea4e4094",
  852.                                 "amount": 10,
  853.                                 "papi_processing_exhausted": true,
  854.                                 "papi_processed": true,
  855.                                 "cc_persisted": true,
  856.                                 "papi_error_ids": [],
  857.                                 "processing_id": "8c0edb6c28bc4ac28631368cb25b1b28",
  858.                                 "merchant_service_transaction_id": "4PTR6R5370E9E",
  859.                                 "papi_charge_id": "424a164e-2c24-442d-95fe-d502a3d43e54",
  860.                                 "card_used_last_four": "6668",
  861.                                 "cc_credit_transaction_id": 94597887,
  862.                                 "provider_name": "Dr. Lauren Derosa",
  863.                                 "location_name": "SOUTH MEDICAL CENTER",
  864.                                 "status": "succeeded"
  865.                             }
  866.                         ],
  867.                         "metadata": {
  868.                             "practice_mgmt": "carecloud",
  869.                             "business_entity_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  870.                             "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  871.                             "user_id": "56e3aea9-9908-4f02-990d-b10f58e053af",
  872.                             "breeze_user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  873.                             "carepay": true,
  874.                             "prepped_for_processing": true,
  875.                             "externally_processed": true
  876.                         },
  877.                         "payment_method": {
  878.                             "card_data": {
  879.                                 "last_four": "6668",
  880.                                 "card_type": "DISCOVER",
  881.                                 "expiration": "1218",
  882.                                 "tokenization_service": "clover",
  883.                                 "cardholder_name": "DISCOVER TEST CARD",
  884.                                 "token": "7297162975886668",
  885.                                 "save_card": false,
  886.                                 "is_default": false
  887.                             },
  888.                             "type": "new_card"
  889.                         },
  890.                         "amount": 20.48,
  891.                         "deepstream_record_id": "payment_request/67076200-03f2-409b-9b6b-3f4b085e342f",
  892.                         "payment_profile_id": "3e371cfd-67b2-4114-b503-1b3ad06fca5c",
  893.                         "organization_id": "cffc3d2a-df7a-4209-9696-188f2ac199be",
  894.                         "payment_captured": true,
  895.                         "state": "Completed",
  896.                         "payment_group_id": "8b018beab6bc45d985b2abca06617059",
  897.                         "__ds": {
  898.                             "_v": 4
  899.                         },
  900.                         "created_at": "2017-11-07T09:59:49.435Z",
  901.                         "updated_at": "2017-11-07T09:59:49.435Z",
  902.                         "practice_mgmt": "carecloud",
  903.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  904.                         "confirmation": "67076200-03f2-409b-9b6b-3f4b085e342f",
  905.                         "first_name": "BREEZE",
  906.                         "last_name": "USER",
  907.                         "date": "2017-11-07T14:59:50.740Z"
  908.                     }
  909.                 },
  910.                 {
  911.                     "metadata": {
  912.                         "created_dt": "2017-11-06T23:56:40.625Z",
  913.                         "updated_dt": "2017-11-06T23:56:40.486Z",
  914.                         "payment_made_id": "669ca750-964d-44f8-9867-629fcb58d874",
  915.                         "user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  916.                         "practice_mgmt": "carecloud",
  917.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  918.                         "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  919.                         "appointment_id": "173ef190-73ae-43de-ad2b-958b7a4b20cf",
  920.                         "username": "breezebetatester@gmail.com"
  921.                     },
  922.                     "payload": {
  923.                         "amount": 10,
  924.                         "execution": "android_pay",
  925.                         "line_items": [
  926.                             {
  927.                                 "amount": 10,
  928.                                 "type": "co_pay",
  929.                                 "location_id": "cad70ba2-a50e-43d4-9bbd-f0ecbcd0abfb",
  930.                                 "provider_id": "75e17222-3da0-4da1-86b6-c8ac1fe366fc",
  931.                                 "papi_processing_exhausted": true,
  932.                                 "papi_processed": true,
  933.                                 "cc_persisted": true,
  934.                                 "papi_error_ids": [],
  935.                                 "processing_id": "49bd54858f184ac5b8e52ad5922b78de",
  936.                                 "merchant_service_transaction_id": "ET184749",
  937.                                 "papi_charge_id": "21bd85c1-d181-40d1-83e7-bc56b308bd46",
  938.                                 "card_used_last_four": "3478",
  939.                                 "cc_credit_transaction_id": 94597885,
  940.                                 "provider_name": "Dr. Lauren Derosa",
  941.                                 "location_name": "MAIN MEDICAL CENTER",
  942.                                 "status": "succeeded",
  943.                                 "description": "co_pay"
  944.                             }
  945.                         ],
  946.                         "metadata": {
  947.                             "appointment_id": "173ef190-73ae-43de-ad2b-958b7a4b20cf",
  948.                             "practice_mgmt": "carecloud",
  949.                             "business_entity_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  950.                             "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  951.                             "breeze_user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  952.                             "carepay": true,
  953.                             "prepped_for_processing": true,
  954.                             "externally_processed": true
  955.                         },
  956.                         "payment_method": {
  957.                             "card_data": {
  958.                                 "last_four": "3478",
  959.                                 "card_type": "VISA",
  960.                                 "expiration": "1222",
  961.                                 "is_default": false,
  962.                                 "cardholder_name": "Not Provided",
  963.                                 "save_card": false,
  964.                                 "token": "1320504252823478",
  965.                                 "tokenization_service": "android_pay"
  966.                             },
  967.                             "type": "new_card"
  968.                         },
  969.                         "external_transaction_response": {
  970.                             "correlation_id": "228.1001259654382",
  971.                             "transaction_status": "approved",
  972.                             "validation_status": "success",
  973.                             "transaction_type": "purchase",
  974.                             "transaction_id": "ET184749",
  975.                             "transaction_tag": "2228244701",
  976.                             "method": "3ds",
  977.                             "amount": "1000",
  978.                             "currency": "USD",
  979.                             "cvv2": "I",
  980.                             "token": {
  981.                                 "token_type": "FDToken",
  982.                                 "token_data": {
  983.                                     "value": "1320504252823478"
  984.                                 }
  985.                             },
  986.                             "card": {
  987.                                 "type": "VISA",
  988.                                 "cardholder_name": "Not Provided",
  989.                                 "card_number": "3478",
  990.                                 "exp_date": "1222"
  991.                             },
  992.                             "bank_resp_code": "100",
  993.                             "bank_message": "Approved",
  994.                             "gateway_resp_code": "00",
  995.                             "gateway_message": "Transaction Normal"
  996.                         },
  997.                         "deepstream_record_id": "payment_request/669ca750-964d-44f8-9867-629fcb58d874",
  998.                         "payment_profile_id": "3e371cfd-67b2-4114-b503-1b3ad06fca5c",
  999.                         "organization_id": "cffc3d2a-df7a-4209-9696-188f2ac199be",
  1000.                         "payment_captured": true,
  1001.                         "state": "Completed",
  1002.                         "payment_group_id": "aa56e3f5ffb54e38a63f90f512f86fbc",
  1003.                         "__ds": {
  1004.                             "_v": 4
  1005.                         },
  1006.                         "created_at": "2017-11-06T18:56:39.598Z",
  1007.                         "updated_at": "2017-11-06T18:56:39.598Z",
  1008.                         "practice_mgmt": "carecloud",
  1009.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  1010.                         "confirmation": "669ca750-964d-44f8-9867-629fcb58d874",
  1011.                         "first_name": "BREEZE",
  1012.                         "last_name": "USER",
  1013.                         "date": "2017-11-06T23:56:40.486Z"
  1014.                     }
  1015.                 },
  1016.                 {
  1017.                     "metadata": {
  1018.                         "created_dt": "2017-11-06T23:56:40.476Z",
  1019.                         "updated_dt": "2017-11-06T23:56:40.354Z",
  1020.                         "payment_made_id": "692f24c4-8894-4cca-b129-56433c7be5b0",
  1021.                         "user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  1022.                         "practice_mgmt": "carecloud",
  1023.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  1024.                         "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  1025.                         "appointment_id": "173ef190-73ae-43de-ad2b-958b7a4b20cf",
  1026.                         "username": "breezebetatester@gmail.com"
  1027.                     },
  1028.                     "payload": {
  1029.                         "amount": 10,
  1030.                         "execution": "android_pay",
  1031.                         "line_items": [
  1032.                             {
  1033.                                 "amount": 10,
  1034.                                 "type": "co_pay",
  1035.                                 "location_id": "cad70ba2-a50e-43d4-9bbd-f0ecbcd0abfb",
  1036.                                 "provider_id": "75e17222-3da0-4da1-86b6-c8ac1fe366fc",
  1037.                                 "papi_processing_exhausted": true,
  1038.                                 "papi_processed": true,
  1039.                                 "cc_persisted": true,
  1040.                                 "papi_error_ids": [],
  1041.                                 "processing_id": "fc6a3ba56ce940c9977f6d55311e9f60",
  1042.                                 "merchant_service_transaction_id": "ET184749",
  1043.                                 "papi_charge_id": "e7885fb2-7239-4620-b8fd-33f807fc6c25",
  1044.                                 "card_used_last_four": "3478",
  1045.                                 "cc_credit_transaction_id": 94597884,
  1046.                                 "provider_name": "Dr. Lauren Derosa",
  1047.                                 "location_name": "MAIN MEDICAL CENTER",
  1048.                                 "status": "succeeded",
  1049.                                 "description": "co_pay"
  1050.                             }
  1051.                         ],
  1052.                         "metadata": {
  1053.                             "appointment_id": "173ef190-73ae-43de-ad2b-958b7a4b20cf",
  1054.                             "practice_mgmt": "carecloud",
  1055.                             "business_entity_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  1056.                             "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  1057.                             "breeze_user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  1058.                             "carepay": true,
  1059.                             "prepped_for_processing": true,
  1060.                             "externally_processed": true
  1061.                         },
  1062.                         "payment_method": {
  1063.                             "card_data": {
  1064.                                 "last_four": "3478",
  1065.                                 "card_type": "VISA",
  1066.                                 "expiration": "1222",
  1067.                                 "is_default": false,
  1068.                                 "cardholder_name": "Not Provided",
  1069.                                 "save_card": false,
  1070.                                 "token": "1320504252823478",
  1071.                                 "tokenization_service": "android_pay"
  1072.                             },
  1073.                             "type": "new_card"
  1074.                         },
  1075.                         "external_transaction_response": {
  1076.                             "correlation_id": "228.1001259654382",
  1077.                             "transaction_status": "approved",
  1078.                             "validation_status": "success",
  1079.                             "transaction_type": "purchase",
  1080.                             "transaction_id": "ET184749",
  1081.                             "transaction_tag": "2228244701",
  1082.                             "method": "3ds",
  1083.                             "amount": "1000",
  1084.                             "currency": "USD",
  1085.                             "cvv2": "I",
  1086.                             "token": {
  1087.                                 "token_type": "FDToken",
  1088.                                 "token_data": {
  1089.                                     "value": "1320504252823478"
  1090.                                 }
  1091.                             },
  1092.                             "card": {
  1093.                                 "type": "VISA",
  1094.                                 "cardholder_name": "Not Provided",
  1095.                                 "card_number": "3478",
  1096.                                 "exp_date": "1222"
  1097.                             },
  1098.                             "bank_resp_code": "100",
  1099.                             "bank_message": "Approved",
  1100.                             "gateway_resp_code": "00",
  1101.                             "gateway_message": "Transaction Normal"
  1102.                         },
  1103.                         "deepstream_record_id": "payment_request/692f24c4-8894-4cca-b129-56433c7be5b0",
  1104.                         "payment_profile_id": "3e371cfd-67b2-4114-b503-1b3ad06fca5c",
  1105.                         "organization_id": "cffc3d2a-df7a-4209-9696-188f2ac199be",
  1106.                         "payment_captured": true,
  1107.                         "state": "Completed",
  1108.                         "payment_group_id": "e4c9198129b14e35a1d250d82d4e9773",
  1109.                         "__ds": {
  1110.                             "_v": 4
  1111.                         },
  1112.                         "created_at": "2017-11-06T18:56:39.115Z",
  1113.                         "updated_at": "2017-11-06T18:56:39.115Z",
  1114.                         "practice_mgmt": "carecloud",
  1115.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  1116.                         "confirmation": "692f24c4-8894-4cca-b129-56433c7be5b0",
  1117.                         "first_name": "BREEZE",
  1118.                         "last_name": "USER",
  1119.                         "date": "2017-11-06T23:56:40.354Z"
  1120.                     }
  1121.                 },
  1122.                 {
  1123.                     "metadata": {
  1124.                         "created_dt": "2017-11-06T21:56:35.714Z",
  1125.                         "updated_dt": "2017-11-06T21:56:35.595Z",
  1126.                         "payment_made_id": "b3db3285-38f2-4de5-a45c-90c420b41b62",
  1127.                         "user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  1128.                         "practice_mgmt": "carecloud",
  1129.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  1130.                         "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  1131.                         "username": "breezebetatester@gmail.com"
  1132.                     },
  1133.                     "payload": {
  1134.                         "external_transaction_response": {
  1135.                             "result": "SUCCESS",
  1136.                             "createdTime": 1510005390513,
  1137.                             "offline": false,
  1138.                             "cardTransaction": {
  1139.                                 "cardholderName": "DISCOVER TEST CARD",
  1140.                                 "authCode": "OK3676",
  1141.                                 "entryType": "SWIPED",
  1142.                                 "token": "7297162975886668",
  1143.                                 "extra": {
  1144.                                     "cvmResult": "NO_CVM_REQUIRED",
  1145.                                     "authorizingNetworkName": "DISCOVER"
  1146.                                 },
  1147.                                 "state": "CLOSED",
  1148.                                 "referenceId": "731000002168",
  1149.                                 "last4": "6668",
  1150.                                 "transactionNo": "700380",
  1151.                                 "type": "AUTH",
  1152.                                 "cardType": "DISCOVER",
  1153.                                 "vaultedCard": {
  1154.                                     "cardholderName": "DISCOVER TEST CARD",
  1155.                                     "first6": "601136",
  1156.                                     "expirationDate": "1218",
  1157.                                     "last4": "6668",
  1158.                                     "token": "7297162975886668"
  1159.                                 }
  1160.                             },
  1161.                             "id": "HCRWZ0AZJPW5G",
  1162.                             "amount": 1100,
  1163.                             "taxAmount": 0,
  1164.                             "order": {
  1165.                                 "id": "X88C00Z1ZP0SM"
  1166.                             },
  1167.                             "device": {
  1168.                                 "id": "68b53a62-e0c5-4697-82a8-95405393b937"
  1169.                             },
  1170.                             "tender": {
  1171.                                 "id": "8YDWVH0P2PK0G",
  1172.                                 "enabled": true,
  1173.                                 "visible": true,
  1174.                                 "labelKey": "com.clover.tender.credit_card",
  1175.                                 "label": "Credit Card",
  1176.                                 "opensCashDrawer": false,
  1177.                                 "editable": false
  1178.                             },
  1179.                             "employee": {
  1180.                                 "id": "JWBHCRZG62XBE"
  1181.                             }
  1182.                         },
  1183.                         "execution": "clover",
  1184.                         "line_items": [
  1185.                             {
  1186.                                 "provider_id": "05c94925-30f9-4bb4-80b0-5aafb623bfa4",
  1187.                                 "description": "99210 - A normal 15 minute office visit",
  1188.                                 "type_id": "66011811",
  1189.                                 "type": "debit_application",
  1190.                                 "location_id": "539b0cd0-357d-4f51-9870-d784173e2293",
  1191.                                 "amount": 10.48,
  1192.                                 "papi_processing_exhausted": true,
  1193.                                 "papi_processed": true,
  1194.                                 "cc_persisted": true,
  1195.                                 "papi_error_ids": [],
  1196.                                 "processing_id": "6498867f923f4266b430eac769df7a8c",
  1197.                                 "merchant_service_transaction_id": "HCRWZ0AZJPW5G",
  1198.                                 "papi_charge_id": "2027db40-daf3-45fd-bd11-cd94b40ed84d",
  1199.                                 "card_used_last_four": "6668",
  1200.                                 "cc_credit_transaction_id": 94597876,
  1201.                                 "refunded_amount": 10.48,
  1202.                                 "provider_name": "Monique Adu",
  1203.                                 "location_name": "WEST MEMORIAL CLINIC",
  1204.                                 "status": "succeeded"
  1205.                             },
  1206.                             {
  1207.                                 "provider_id": "9711eff1-a6f3-47d7-b17c-b74c4fa941d9",
  1208.                                 "description": "Visit - A set fee for all cancellation regardless of time.",
  1209.                                 "type_id": "66011892",
  1210.                                 "type": "debit_application",
  1211.                                 "location_id": "a0a25bfa-fb6d-4ac3-a276-182b8b428e33",
  1212.                                 "amount": 0.52,
  1213.                                 "papi_processing_exhausted": true,
  1214.                                 "papi_processed": true,
  1215.                                 "cc_persisted": true,
  1216.                                 "papi_error_ids": [],
  1217.                                 "processing_id": "eff49ad128f3428db57a27cc77c392dc",
  1218.                                 "merchant_service_transaction_id": "HCRWZ0AZJPW5G",
  1219.                                 "papi_charge_id": "7f60edd9-b5ac-410a-922d-c67b7ea12f2e",
  1220.                                 "card_used_last_four": "6668",
  1221.                                 "cc_credit_transaction_id": 94597877,
  1222.                                 "refunded_amount": 0.52,
  1223.                                 "provider_name": "James Baik",
  1224.                                 "status": "succeeded"
  1225.                             }
  1226.                         ],
  1227.                         "metadata": {
  1228.                             "practice_mgmt": "carecloud",
  1229.                             "business_entity_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  1230.                             "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  1231.                             "user_id": "56e3aea9-9908-4f02-990d-b10f58e053af",
  1232.                             "breeze_user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  1233.                             "carepay": true,
  1234.                             "prepped_for_processing": true,
  1235.                             "externally_processed": true
  1236.                         },
  1237.                         "payment_method": {
  1238.                             "card_data": {
  1239.                                 "last_four": "6668",
  1240.                                 "card_type": "DISCOVER",
  1241.                                 "expiration": "1218",
  1242.                                 "tokenization_service": "clover",
  1243.                                 "cardholder_name": "DISCOVER TEST CARD",
  1244.                                 "token": "7297162975886668",
  1245.                                 "save_card": false,
  1246.                                 "is_default": false
  1247.                             },
  1248.                             "type": "new_card"
  1249.                         },
  1250.                         "amount": 11,
  1251.                         "deepstream_record_id": "payment_request/b3db3285-38f2-4de5-a45c-90c420b41b62",
  1252.                         "payment_profile_id": "3e371cfd-67b2-4114-b503-1b3ad06fca5c",
  1253.                         "organization_id": "cffc3d2a-df7a-4209-9696-188f2ac199be",
  1254.                         "payment_captured": true,
  1255.                         "state": "Completed",
  1256.                         "payment_group_id": "f9d5e538f55e4f73a9ddb54526610790",
  1257.                         "most_recent_refund_request": "refund_request/j9oqaf34-2eisd6fb97w",
  1258.                         "refund_requests": [
  1259.                             "refund_request/j9oq9kai-1dt9fx80x34",
  1260.                             "refund_request/j9oqaf34-2eisd6fb97w"
  1261.                         ],
  1262.                         "__ds": {
  1263.                             "_v": 8
  1264.                         },
  1265.                         "created_at": "2017-11-06T16:56:34.491Z",
  1266.                         "updated_at": "2017-11-06T16:56:34.491Z",
  1267.                         "practice_mgmt": "carecloud",
  1268.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  1269.                         "confirmation": "b3db3285-38f2-4de5-a45c-90c420b41b62",
  1270.                         "first_name": "BREEZE",
  1271.                         "last_name": "USER",
  1272.                         "date": "2017-11-06T21:56:35.595Z"
  1273.                     }
  1274.                 },
  1275.                 {
  1276.                     "metadata": {
  1277.                         "created_dt": "2017-11-06T18:12:17.350Z",
  1278.                         "updated_dt": "2017-11-06T18:12:17.199Z",
  1279.                         "payment_made_id": "fdc60b09-a60c-4e5d-a422-b49848f789ed",
  1280.                         "user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  1281.                         "practice_mgmt": "carecloud",
  1282.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  1283.                         "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  1284.                         "username": "breezebetatester@gmail.com"
  1285.                     },
  1286.                     "payload": {
  1287.                         "amount": 11,
  1288.                         "execution": "payeezy",
  1289.                         "line_items": [
  1290.                             {
  1291.                                 "amount": 10.48,
  1292.                                 "description": "99210 - A normal 15 minute office visit",
  1293.                                 "type_id": "66011811",
  1294.                                 "type": "debit_application",
  1295.                                 "location_id": "a0a25bfa-fb6d-4ac3-a276-182b8b428e33",
  1296.                                 "provider_id": "9711eff1-a6f3-47d7-b17c-b74c4fa941d9",
  1297.                                 "papi_processing_exhausted": true,
  1298.                                 "papi_processed": true,
  1299.                                 "cc_persisted": true,
  1300.                                 "papi_error_ids": [],
  1301.                                 "processing_id": "427cc0b8ac0e46b1a2f7239f5dffdb90",
  1302.                                 "merchant_service_transaction_id": "ET189307",
  1303.                                 "papi_charge_id": "db25aaf7-ed3c-4819-b239-97067758e62c",
  1304.                                 "card_used_last_four": "5100",
  1305.                                 "cc_credit_transaction_id": 94597793,
  1306.                                 "refunded_amount": 10.48,
  1307.                                 "provider_name": "James Baik",
  1308.                                 "status": "succeeded"
  1309.                             },
  1310.                             {
  1311.                                 "amount": 0.52,
  1312.                                 "description": "Visit - A set fee for all cancellation regardless of time.",
  1313.                                 "type_id": "66011892",
  1314.                                 "type": "debit_application",
  1315.                                 "location_id": "a0a25bfa-fb6d-4ac3-a276-182b8b428e33",
  1316.                                 "provider_id": "9711eff1-a6f3-47d7-b17c-b74c4fa941d9",
  1317.                                 "papi_processing_exhausted": true,
  1318.                                 "papi_processed": true,
  1319.                                 "cc_persisted": true,
  1320.                                 "papi_error_ids": [],
  1321.                                 "processing_id": "326310305b9d459d9b3dfb80cfe81e04",
  1322.                                 "merchant_service_transaction_id": "ET189307",
  1323.                                 "papi_charge_id": "db25aaf7-ed3c-4819-b239-97067758e62c",
  1324.                                 "card_used_last_four": "5100",
  1325.                                 "cc_credit_transaction_id": 94597793,
  1326.                                 "refunded_amount": 0.52,
  1327.                                 "provider_name": "James Baik",
  1328.                                 "status": "succeeded"
  1329.                             }
  1330.                         ],
  1331.                         "metadata": {
  1332.                             "practice_mgmt": "carecloud",
  1333.                             "business_entity_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  1334.                             "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  1335.                             "user_id": "56e3aea9-9908-4f02-990d-b10f58e053af",
  1336.                             "breeze_user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  1337.                             "carepay": true,
  1338.                             "prepped_for_processing": true,
  1339.                             "externally_processed": false
  1340.                         },
  1341.                         "payment_method": {
  1342.                             "id": "b03c5e28-e2f2-43af-adc0-36c8cd3e5f0a",
  1343.                             "type": "card",
  1344.                             "card_data": {
  1345.                                 "card_type": "Mastercard",
  1346.                                 "last_four": "5100",
  1347.                                 "cardholder_name": "Breeze User"
  1348.                             }
  1349.                         },
  1350.                         "deepstream_record_id": "payment_request/fdc60b09-a60c-4e5d-a422-b49848f789ed",
  1351.                         "payment_profile_id": "3e371cfd-67b2-4114-b503-1b3ad06fca5c",
  1352.                         "organization_id": "cffc3d2a-df7a-4209-9696-188f2ac199be",
  1353.                         "state": "Completed",
  1354.                         "payment_group_id": "3ea7b067face4b2d9a1b5bbd903ff3b8",
  1355.                         "most_recent_refund_request": "refund_request/j9oi883q-3d0m9t5yg2k9",
  1356.                         "refund_requests": [
  1357.                             "refund_request/j9oi883q-3d0m9t5yg2k9"
  1358.                         ],
  1359.                         "__ds": {
  1360.                             "_v": 6
  1361.                         },
  1362.                         "created_at": "2017-11-06T13:12:16.152Z",
  1363.                         "updated_at": "2017-11-06T13:12:16.152Z",
  1364.                         "practice_mgmt": "carecloud",
  1365.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  1366.                         "confirmation": "fdc60b09-a60c-4e5d-a422-b49848f789ed",
  1367.                         "first_name": "BREEZE",
  1368.                         "last_name": "USER",
  1369.                         "date": "2017-11-06T18:12:17.199Z"
  1370.                     }
  1371.                 },
  1372.                 {
  1373.                     "metadata": {
  1374.                         "created_dt": "2017-11-06T18:06:39.140Z",
  1375.                         "updated_dt": "2017-11-06T18:06:39.006Z",
  1376.                         "payment_made_id": "57a9094c-7f51-4073-9332-828ea5fc000e",
  1377.                         "user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  1378.                         "practice_mgmt": "carecloud",
  1379.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  1380.                         "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  1381.                         "username": "breezebetatester@gmail.com"
  1382.                     },
  1383.                     "payload": {
  1384.                         "amount": 1,
  1385.                         "execution": "payeezy",
  1386.                         "line_items": [
  1387.                             {
  1388.                                 "amount": 1,
  1389.                                 "description": "99210 - A normal 15 minute office visit",
  1390.                                 "type_id": "66011811",
  1391.                                 "type": "debit_application",
  1392.                                 "location_id": "a0a25bfa-fb6d-4ac3-a276-182b8b428e33",
  1393.                                 "provider_id": "9711eff1-a6f3-47d7-b17c-b74c4fa941d9",
  1394.                                 "papi_processing_exhausted": true,
  1395.                                 "papi_processed": true,
  1396.                                 "cc_persisted": true,
  1397.                                 "papi_error_ids": [],
  1398.                                 "processing_id": "03b66eff6a5d4cdb8a70ebb7a4373704",
  1399.                                 "merchant_service_transaction_id": "ET130609",
  1400.                                 "papi_charge_id": "02b4ad97-70c3-4306-a470-b32ce6f1158c",
  1401.                                 "card_used_last_four": "5100",
  1402.                                 "cc_credit_transaction_id": 94597789,
  1403.                                 "refunded_amount": 1,
  1404.                                 "provider_name": "James Baik",
  1405.                                 "status": "succeeded"
  1406.                             }
  1407.                         ],
  1408.                         "metadata": {
  1409.                             "practice_mgmt": "carecloud",
  1410.                             "business_entity_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  1411.                             "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  1412.                             "user_id": "56e3aea9-9908-4f02-990d-b10f58e053af",
  1413.                             "breeze_user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  1414.                             "carepay": true,
  1415.                             "prepped_for_processing": true,
  1416.                             "externally_processed": false
  1417.                         },
  1418.                         "payment_method": {
  1419.                             "id": "b03c5e28-e2f2-43af-adc0-36c8cd3e5f0a",
  1420.                             "type": "card",
  1421.                             "card_data": {
  1422.                                 "card_type": "Mastercard",
  1423.                                 "last_four": "5100",
  1424.                                 "cardholder_name": "Breeze User"
  1425.                             }
  1426.                         },
  1427.                         "deepstream_record_id": "payment_request/57a9094c-7f51-4073-9332-828ea5fc000e",
  1428.                         "payment_profile_id": "3e371cfd-67b2-4114-b503-1b3ad06fca5c",
  1429.                         "organization_id": "cffc3d2a-df7a-4209-9696-188f2ac199be",
  1430.                         "state": "Completed",
  1431.                         "payment_group_id": "9be0c51da35a4327a86556f32e1ac040",
  1432.                         "most_recent_refund_request": "refund_request/j9oi0piw-1p02ci725iz",
  1433.                         "refund_requests": [
  1434.                             "refund_request/j9oi0piw-1p02ci725iz"
  1435.                         ],
  1436.                         "__ds": {
  1437.                             "_v": 6
  1438.                         },
  1439.                         "created_at": "2017-11-06T13:06:38.426Z",
  1440.                         "updated_at": "2017-11-06T13:06:38.426Z",
  1441.                         "practice_mgmt": "carecloud",
  1442.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  1443.                         "confirmation": "57a9094c-7f51-4073-9332-828ea5fc000e",
  1444.                         "first_name": "BREEZE",
  1445.                         "last_name": "USER",
  1446.                         "date": "2017-11-06T18:06:39.006Z"
  1447.                     }
  1448.                 },
  1449.                 {
  1450.                     "metadata": {
  1451.                         "created_dt": "2017-11-06T17:56:57.662Z",
  1452.                         "updated_dt": "2017-11-06T17:56:57.297Z",
  1453.                         "payment_made_id": "41236d59-376a-46cd-9a83-b90dc8778338",
  1454.                         "user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  1455.                         "practice_mgmt": "carecloud",
  1456.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  1457.                         "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  1458.                         "username": "breezebetatester@gmail.com"
  1459.                     },
  1460.                     "payload": {
  1461.                         "amount": 5,
  1462.                         "execution": "payeezy",
  1463.                         "line_items": [
  1464.                             {
  1465.                                 "amount": 5,
  1466.                                 "description": "99210 - A normal 15 minute office visit",
  1467.                                 "type_id": "66011811",
  1468.                                 "type": "debit_application",
  1469.                                 "location_id": "a0a25bfa-fb6d-4ac3-a276-182b8b428e33",
  1470.                                 "provider_id": "9711eff1-a6f3-47d7-b17c-b74c4fa941d9",
  1471.                                 "papi_processing_exhausted": true,
  1472.                                 "papi_processed": true,
  1473.                                 "cc_persisted": true,
  1474.                                 "papi_error_ids": [],
  1475.                                 "processing_id": "312b11c719234f9daf989981b2ce6dd8",
  1476.                                 "merchant_service_transaction_id": "ET198264",
  1477.                                 "papi_charge_id": "02f92f5c-3ea4-43cc-8d9c-e707638f56ca",
  1478.                                 "card_used_last_four": "5100",
  1479.                                 "cc_credit_transaction_id": 94597787,
  1480.                                 "refunded_amount": 5,
  1481.                                 "provider_name": "James Baik",
  1482.                                 "status": "succeeded"
  1483.                             }
  1484.                         ],
  1485.                         "metadata": {
  1486.                             "practice_mgmt": "carecloud",
  1487.                             "business_entity_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  1488.                             "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  1489.                             "user_id": "56e3aea9-9908-4f02-990d-b10f58e053af",
  1490.                             "breeze_user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  1491.                             "carepay": true,
  1492.                             "prepped_for_processing": true,
  1493.                             "externally_processed": false
  1494.                         },
  1495.                         "payment_method": {
  1496.                             "id": "b03c5e28-e2f2-43af-adc0-36c8cd3e5f0a",
  1497.                             "type": "card",
  1498.                             "card_data": {
  1499.                                 "card_type": "Mastercard",
  1500.                                 "last_four": "5100",
  1501.                                 "cardholder_name": "Breeze User"
  1502.                             }
  1503.                         },
  1504.                         "deepstream_record_id": "payment_request/41236d59-376a-46cd-9a83-b90dc8778338",
  1505.                         "payment_profile_id": "3e371cfd-67b2-4114-b503-1b3ad06fca5c",
  1506.                         "organization_id": "cffc3d2a-df7a-4209-9696-188f2ac199be",
  1507.                         "state": "Completed",
  1508.                         "payment_group_id": "f0ae219e523e4f5483cfd3de335f0390",
  1509.                         "most_recent_refund_request": "refund_request/j9ohvskp-178caysfnw9",
  1510.                         "refund_requests": [
  1511.                             "refund_request/j9ohvskp-178caysfnw9"
  1512.                         ],
  1513.                         "__ds": {
  1514.                             "_v": 6
  1515.                         },
  1516.                         "created_at": "2017-11-06T12:56:55.747Z",
  1517.                         "updated_at": "2017-11-06T12:56:55.747Z",
  1518.                         "practice_mgmt": "carecloud",
  1519.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  1520.                         "confirmation": "41236d59-376a-46cd-9a83-b90dc8778338",
  1521.                         "first_name": "BREEZE",
  1522.                         "last_name": "USER",
  1523.                         "date": "2017-11-06T17:56:57.297Z"
  1524.                     }
  1525.                 },
  1526.                 {
  1527.                     "metadata": {
  1528.                         "created_dt": "2017-11-06T17:26:29.143Z",
  1529.                         "updated_dt": "2017-11-06T17:26:28.996Z",
  1530.                         "payment_made_id": "371caccb-a05c-43dc-877c-cd552ed47d5a",
  1531.                         "user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  1532.                         "practice_mgmt": "carecloud",
  1533.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  1534.                         "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  1535.                         "username": "breezebetatester@gmail.com"
  1536.                     },
  1537.                     "payload": {
  1538.                         "external_transaction_response": {
  1539.                             "result": "SUCCESS",
  1540.                             "clientCreatedTime": 1509989176000,
  1541.                             "createdTime": 1509989176000,
  1542.                             "modifiedTime": 1509989177000,
  1543.                             "offline": false,
  1544.                             "cardTransaction": {
  1545.                                 "cardholderName": "",
  1546.                                 "authCode": "OK1949",
  1547.                                 "entryType": "SWIPED",
  1548.                                 "paymentRef": {
  1549.                                     "id": "ZHGZRABV2KQ76"
  1550.                                 },
  1551.                                 "extra": {
  1552.                                     "card": "{\"DiscNRID\":\"150998917663154\",\"DiscTransQualifier\":\"02\",\"DiscProcCode\":\"000000\",\"DiscPOSEntry\":\"0220\",\"DiscRespCode\":\"00\",\"DiscPOSData\":\"0200010010700\"}",
  1553.                                     "func": "CREDIT",
  1554.                                     "authorizingNetworkName": "DISCOVER",
  1555.                                     "common": "{\"LocalDateTime\":\"20171106172615\",\"POSEntryMode\":\"902\",\"POSID\":\"7415\",\"MerchID\":\"RCTST0000008099\",\"TermEntryCapablt\":\"03\",\"CardCaptCap\":\"1\",\"STAN\":\"002166\",\"POSCondCode\":\"00\",\"TermLocInd\":\"0\",\"TermID\":\"00000001\",\"TrnmsnDateTime\":\"20171106172615\"}",
  1556.                                     "athNtwkId": "04",
  1557.                                     "cvmResult": "NO_CVM_REQUIRED"
  1558.                                 },
  1559.                                 "state": "CLOSED",
  1560.                                 "referenceId": "731000002166",
  1561.                                 "last4": "6668",
  1562.                                 "type": "AUTH",
  1563.                                 "transactionNo": "700379",
  1564.                                 "cardType": "DISCOVER"
  1565.                             },
  1566.                             "id": "ZHGZRABV2KQ76",
  1567.                             "amount": 200,
  1568.                             "taxAmount": 0,
  1569.                             "order": {
  1570.                                 "id": "7CW3F3V7XR31G"
  1571.                             },
  1572.                             "device": {
  1573.                                 "id": "68b53a62-e0c5-4697-82a8-95405393b937"
  1574.                             },
  1575.                             "tender": {
  1576.                                 "id": "8YDWVH0P2PK0G",
  1577.                                 "enabled": true,
  1578.                                 "visible": true,
  1579.                                 "labelKey": "com.clover.tender.credit_card",
  1580.                                 "label": "Credit Card",
  1581.                                 "opensCashDrawer": false,
  1582.                                 "href": "https://sandbox.dev.clover.com/v3/merchants/6VR6H15HZ1HSG/tenders/8YDWVH0P2PK0G",
  1583.                                 "editable": false
  1584.                             },
  1585.                             "refunds": {
  1586.                                 "elements": []
  1587.                             },
  1588.                             "employee": {
  1589.                                 "id": "JWBHCRZG62XBE"
  1590.                             },
  1591.                             "cashbackAmount": 0
  1592.                         },
  1593.                         "execution": "clover",
  1594.                         "line_items": [
  1595.                             {
  1596.                                 "provider_id": "9711eff1-a6f3-47d7-b17c-b74c4fa941d9",
  1597.                                 "description": "99210 - A normal 15 minute office visit",
  1598.                                 "type_id": "66011811",
  1599.                                 "type": "debit_application",
  1600.                                 "location_id": "a0a25bfa-fb6d-4ac3-a276-182b8b428e33",
  1601.                                 "amount": 2,
  1602.                                 "papi_processing_exhausted": true,
  1603.                                 "papi_processed": true,
  1604.                                 "cc_persisted": true,
  1605.                                 "papi_error_ids": [],
  1606.                                 "processing_id": "f03252900a644d69ab076eb37a612494",
  1607.                                 "merchant_service_transaction_id": "ZHGZRABV2KQ76",
  1608.                                 "papi_charge_id": "a103b395-00ff-40fe-92f3-8146287664b5",
  1609.                                 "card_used_last_four": "6668",
  1610.                                 "cc_credit_transaction_id": 94597785,
  1611.                                 "refunded_amount": 2,
  1612.                                 "provider_name": "James Baik",
  1613.                                 "status": "succeeded"
  1614.                             }
  1615.                         ],
  1616.                         "metadata": {
  1617.                             "practice_mgmt": "carecloud",
  1618.                             "business_entity_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  1619.                             "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  1620.                             "user_id": "56e3aea9-9908-4f02-990d-b10f58e053af",
  1621.                             "breeze_user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  1622.                             "carepay": true,
  1623.                             "prepped_for_processing": true,
  1624.                             "externally_processed": true
  1625.                         },
  1626.                         "payment_method": {
  1627.                             "card_data": {
  1628.                                 "last_four": "6668",
  1629.                                 "card_type": "DISCOVER",
  1630.                                 "expiration": "1217",
  1631.                                 "tokenization_service": "clover",
  1632.                                 "cardholder_name": "BREEZE USER",
  1633.                                 "token": "NO-TOKEN",
  1634.                                 "save_card": false,
  1635.                                 "is_default": false
  1636.                             },
  1637.                             "type": "new_card"
  1638.                         },
  1639.                         "amount": 2,
  1640.                         "deepstream_record_id": "payment_request/371caccb-a05c-43dc-877c-cd552ed47d5a",
  1641.                         "payment_profile_id": "3e371cfd-67b2-4114-b503-1b3ad06fca5c",
  1642.                         "organization_id": "cffc3d2a-df7a-4209-9696-188f2ac199be",
  1643.                         "payment_captured": true,
  1644.                         "state": "Completed",
  1645.                         "payment_group_id": "5f1247e7b9b549eca1f6ac55002ff5f1",
  1646.                         "most_recent_refund_request": "refund_request/j9oglbk1-tgzujvkl57",
  1647.                         "refund_requests": [
  1648.                             "refund_request/j9oglbk1-tgzujvkl57"
  1649.                         ],
  1650.                         "__ds": {
  1651.                             "_v": 6
  1652.                         },
  1653.                         "created_at": "2017-11-06T12:26:28.114Z",
  1654.                         "updated_at": "2017-11-06T12:26:28.114Z",
  1655.                         "practice_mgmt": "carecloud",
  1656.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  1657.                         "confirmation": "371caccb-a05c-43dc-877c-cd552ed47d5a",
  1658.                         "first_name": "BREEZE",
  1659.                         "last_name": "USER",
  1660.                         "date": "2017-11-06T17:26:28.996Z"
  1661.                     }
  1662.                 },
  1663.                 {
  1664.                     "metadata": {
  1665.                         "created_dt": "2017-11-06T17:18:09.128Z",
  1666.                         "updated_dt": "2017-11-06T17:18:08.909Z",
  1667.                         "payment_made_id": "ac823969-7562-4fcb-b59f-4611b37e4807",
  1668.                         "user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  1669.                         "practice_mgmt": "carecloud",
  1670.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  1671.                         "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  1672.                         "username": "breezebetatester@gmail.com"
  1673.                     },
  1674.                     "payload": {
  1675.                         "external_transaction_response": {
  1676.                             "result": "SUCCESS",
  1677.                             "createdTime": 1509988677241,
  1678.                             "offline": false,
  1679.                             "cardTransaction": {
  1680.                                 "cardholderName": "DISCOVER TEST CARD",
  1681.                                 "authCode": "OK8969",
  1682.                                 "entryType": "SWIPED",
  1683.                                 "token": "7297162975886668",
  1684.                                 "extra": {
  1685.                                     "cvmResult": "NO_CVM_REQUIRED",
  1686.                                     "authorizingNetworkName": "DISCOVER"
  1687.                                 },
  1688.                                 "state": "CLOSED",
  1689.                                 "referenceId": "731000002163",
  1690.                                 "last4": "6668",
  1691.                                 "transactionNo": "700378",
  1692.                                 "type": "AUTH",
  1693.                                 "cardType": "DISCOVER",
  1694.                                 "vaultedCard": {
  1695.                                     "cardholderName": "DISCOVER TEST CARD",
  1696.                                     "first6": "601136",
  1697.                                     "expirationDate": "1218",
  1698.                                     "last4": "6668",
  1699.                                     "token": "7297162975886668"
  1700.                                 }
  1701.                             },
  1702.                             "id": "JK35MX582993Y",
  1703.                             "amount": 200,
  1704.                             "taxAmount": 0,
  1705.                             "order": {
  1706.                                 "id": "4GPGG3WYXAYWE"
  1707.                             },
  1708.                             "device": {
  1709.                                 "id": "68b53a62-e0c5-4697-82a8-95405393b937"
  1710.                             },
  1711.                             "tender": {
  1712.                                 "id": "8YDWVH0P2PK0G",
  1713.                                 "enabled": true,
  1714.                                 "visible": true,
  1715.                                 "labelKey": "com.clover.tender.credit_card",
  1716.                                 "label": "Credit Card",
  1717.                                 "opensCashDrawer": false,
  1718.                                 "editable": false
  1719.                             },
  1720.                             "employee": {
  1721.                                 "id": "JWBHCRZG62XBE"
  1722.                             }
  1723.                         },
  1724.                         "execution": "clover",
  1725.                         "line_items": [
  1726.                             {
  1727.                                 "provider_id": "db719498-1f8c-45b4-bee7-778c1e4c2eec",
  1728.                                 "description": "Botox - Botox per unit",
  1729.                                 "type_id": "66011904",
  1730.                                 "type": "debit_application",
  1731.                                 "location_id": "1d5b98f3-2e8b-4928-9828-44277a2738d1",
  1732.                                 "amount": 2,
  1733.                                 "papi_processing_exhausted": true,
  1734.                                 "papi_processed": true,
  1735.                                 "cc_persisted": true,
  1736.                                 "papi_error_ids": [],
  1737.                                 "processing_id": "2c6f10c1655742e3b342cdad4fa2d001",
  1738.                                 "merchant_service_transaction_id": "JK35MX582993Y",
  1739.                                 "papi_charge_id": "82562876-b3ef-48e2-bd58-dbf1a8dd1793",
  1740.                                 "card_used_last_four": "6668",
  1741.                                 "cc_credit_transaction_id": 94597782,
  1742.                                 "refunded_amount": 2,
  1743.                                 "provider_name": "Dr. Cynthia Branch",
  1744.                                 "location_name": "HOME OFFICE",
  1745.                                 "status": "succeeded"
  1746.                             }
  1747.                         ],
  1748.                         "metadata": {
  1749.                             "practice_mgmt": "carecloud",
  1750.                             "business_entity_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  1751.                             "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  1752.                             "user_id": "56e3aea9-9908-4f02-990d-b10f58e053af",
  1753.                             "breeze_user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  1754.                             "carepay": true,
  1755.                             "prepped_for_processing": true,
  1756.                             "externally_processed": true
  1757.                         },
  1758.                         "payment_method": {
  1759.                             "card_data": {
  1760.                                 "last_four": "6668",
  1761.                                 "card_type": "DISCOVER",
  1762.                                 "expiration": "1218",
  1763.                                 "tokenization_service": "clover",
  1764.                                 "cardholder_name": "DISCOVER TEST CARD",
  1765.                                 "token": "7297162975886668",
  1766.                                 "save_card": false,
  1767.                                 "is_default": false
  1768.                             },
  1769.                             "type": "new_card"
  1770.                         },
  1771.                         "amount": 2,
  1772.                         "deepstream_record_id": "payment_request/ac823969-7562-4fcb-b59f-4611b37e4807",
  1773.                         "payment_profile_id": "3e371cfd-67b2-4114-b503-1b3ad06fca5c",
  1774.                         "organization_id": "cffc3d2a-df7a-4209-9696-188f2ac199be",
  1775.                         "payment_captured": true,
  1776.                         "state": "Completed",
  1777.                         "payment_group_id": "cc292522d60847638073fd5c4c83a8e5",
  1778.                         "most_recent_refund_request": "refund_request/j9ogarif-uqlllyydf7i",
  1779.                         "refund_requests": [
  1780.                             "refund_request/j9ogarif-uqlllyydf7i"
  1781.                         ],
  1782.                         "__ds": {
  1783.                             "_v": 6
  1784.                         },
  1785.                         "created_at": "2017-11-06T12:18:02.629Z",
  1786.                         "updated_at": "2017-11-06T12:18:02.629Z",
  1787.                         "practice_mgmt": "carecloud",
  1788.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  1789.                         "confirmation": "ac823969-7562-4fcb-b59f-4611b37e4807",
  1790.                         "first_name": "BREEZE",
  1791.                         "last_name": "USER",
  1792.                         "date": "2017-11-06T17:18:08.909Z"
  1793.                     }
  1794.                 },
  1795.                 {
  1796.                     "metadata": {
  1797.                         "created_dt": "2017-11-06T17:04:38.963Z",
  1798.                         "updated_dt": "2017-11-06T17:04:38.850Z",
  1799.                         "payment_made_id": "cac2beb5-3b06-4a67-bf9c-417a83b14475",
  1800.                         "user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  1801.                         "practice_mgmt": "carecloud",
  1802.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  1803.                         "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  1804.                         "username": "breezebetatester@gmail.com"
  1805.                     },
  1806.                     "payload": {
  1807.                         "external_transaction_response": {
  1808.                             "result": "SUCCESS",
  1809.                             "clientCreatedTime": 1509987865000,
  1810.                             "createdTime": 1509987865000,
  1811.                             "modifiedTime": 1509987867000,
  1812.                             "offline": false,
  1813.                             "cardTransaction": {
  1814.                                 "cardholderName": "",
  1815.                                 "authCode": "OK4633",
  1816.                                 "entryType": "SWIPED",
  1817.                                 "paymentRef": {
  1818.                                     "id": "N58XER9JY0986"
  1819.                                 },
  1820.                                 "extra": {
  1821.                                     "card": "{\"DiscNRID\":\"150998786662826\",\"DiscTransQualifier\":\"02\",\"DiscProcCode\":\"000000\",\"DiscPOSEntry\":\"0220\",\"DiscRespCode\":\"00\",\"DiscPOSData\":\"0200010010700\"}",
  1822.                                     "func": "CREDIT",
  1823.                                     "authorizingNetworkName": "DISCOVER",
  1824.                                     "common": "{\"LocalDateTime\":\"20171106170425\",\"POSEntryMode\":\"902\",\"POSID\":\"7415\",\"MerchID\":\"RCTST0000008099\",\"TermEntryCapablt\":\"03\",\"CardCaptCap\":\"1\",\"STAN\":\"002161\",\"POSCondCode\":\"00\",\"TermLocInd\":\"0\",\"TermID\":\"00000001\",\"TrnmsnDateTime\":\"20171106170425\"}",
  1825.                                     "athNtwkId": "04",
  1826.                                     "cvmResult": "NO_CVM_REQUIRED"
  1827.                                 },
  1828.                                 "state": "CLOSED",
  1829.                                 "referenceId": "731000002161",
  1830.                                 "last4": "6668",
  1831.                                 "type": "AUTH",
  1832.                                 "transactionNo": "700377",
  1833.                                 "cardType": "DISCOVER"
  1834.                             },
  1835.                             "id": "N58XER9JY0986",
  1836.                             "amount": 500,
  1837.                             "taxAmount": 0,
  1838.                             "order": {
  1839.                                 "id": "AB4NGRMSVTXVA"
  1840.                             },
  1841.                             "device": {
  1842.                                 "id": "68b53a62-e0c5-4697-82a8-95405393b937"
  1843.                             },
  1844.                             "tender": {
  1845.                                 "id": "8YDWVH0P2PK0G",
  1846.                                 "enabled": true,
  1847.                                 "visible": true,
  1848.                                 "labelKey": "com.clover.tender.credit_card",
  1849.                                 "label": "Credit Card",
  1850.                                 "opensCashDrawer": false,
  1851.                                 "href": "https://sandbox.dev.clover.com/v3/merchants/6VR6H15HZ1HSG/tenders/8YDWVH0P2PK0G",
  1852.                                 "editable": false
  1853.                             },
  1854.                             "refunds": {
  1855.                                 "elements": []
  1856.                             },
  1857.                             "employee": {
  1858.                                 "id": "JWBHCRZG62XBE"
  1859.                             },
  1860.                             "cashbackAmount": 0
  1861.                         },
  1862.                         "execution": "clover",
  1863.                         "line_items": [
  1864.                             {
  1865.                                 "provider_id": "05c94925-30f9-4bb4-80b0-5aafb623bfa4",
  1866.                                 "description": "99210 - A normal 15 minute office visit",
  1867.                                 "type_id": "66011811",
  1868.                                 "type": "debit_application",
  1869.                                 "location_id": "539b0cd0-357d-4f51-9870-d784173e2293",
  1870.                                 "amount": 5,
  1871.                                 "papi_processing_exhausted": true,
  1872.                                 "papi_processed": true,
  1873.                                 "cc_persisted": true,
  1874.                                 "papi_error_ids": [],
  1875.                                 "processing_id": "c8bfb7cefe1c43ed8dc3b61eddf95a67",
  1876.                                 "merchant_service_transaction_id": "N58XER9JY0986",
  1877.                                 "papi_charge_id": "c2e6caca-ff3e-4a50-a257-551ac9a8b48c",
  1878.                                 "card_used_last_four": "6668",
  1879.                                 "cc_credit_transaction_id": 94597780,
  1880.                                 "refunded_amount": 5,
  1881.                                 "provider_name": "Monique Adu",
  1882.                                 "location_name": "WEST MEMORIAL CLINIC",
  1883.                                 "status": "succeeded"
  1884.                             }
  1885.                         ],
  1886.                         "metadata": {
  1887.                             "practice_mgmt": "carecloud",
  1888.                             "business_entity_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  1889.                             "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  1890.                             "user_id": "56e3aea9-9908-4f02-990d-b10f58e053af",
  1891.                             "breeze_user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  1892.                             "carepay": true,
  1893.                             "prepped_for_processing": true,
  1894.                             "externally_processed": true
  1895.                         },
  1896.                         "payment_method": {
  1897.                             "card_data": {
  1898.                                 "last_four": "6668",
  1899.                                 "card_type": "DISCOVER",
  1900.                                 "expiration": "1217",
  1901.                                 "tokenization_service": "clover",
  1902.                                 "cardholder_name": "BREEZE USER",
  1903.                                 "token": "NO-TOKEN",
  1904.                                 "save_card": false,
  1905.                                 "is_default": false
  1906.                             },
  1907.                             "type": "new_card"
  1908.                         },
  1909.                         "amount": 5,
  1910.                         "deepstream_record_id": "payment_request/cac2beb5-3b06-4a67-bf9c-417a83b14475",
  1911.                         "payment_profile_id": "3e371cfd-67b2-4114-b503-1b3ad06fca5c",
  1912.                         "organization_id": "cffc3d2a-df7a-4209-9696-188f2ac199be",
  1913.                         "payment_captured": true,
  1914.                         "state": "Completed",
  1915.                         "payment_group_id": "44a0c60667c04bd298f4cf98b4f22997",
  1916.                         "most_recent_refund_request": "refund_request/j9ofudb2-123c7fs6yngi",
  1917.                         "refund_requests": [
  1918.                             "refund_request/j9ofudb2-123c7fs6yngi"
  1919.                         ],
  1920.                         "__ds": {
  1921.                             "_v": 6
  1922.                         },
  1923.                         "created_at": "2017-11-06T12:04:36.914Z",
  1924.                         "updated_at": "2017-11-06T12:04:36.914Z",
  1925.                         "practice_mgmt": "carecloud",
  1926.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  1927.                         "confirmation": "cac2beb5-3b06-4a67-bf9c-417a83b14475",
  1928.                         "first_name": "BREEZE",
  1929.                         "last_name": "USER",
  1930.                         "date": "2017-11-06T17:04:38.850Z"
  1931.                     }
  1932.                 },
  1933.                 {
  1934.                     "metadata": {
  1935.                         "created_dt": "2017-11-06T16:26:52.923Z",
  1936.                         "updated_dt": "2017-11-06T16:26:52.571Z",
  1937.                         "payment_made_id": "1e9c9ac8-27b1-4b11-9431-f1e88c7b4d4d",
  1938.                         "user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  1939.                         "practice_mgmt": "carecloud",
  1940.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  1941.                         "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  1942.                         "username": "breezebetatester@gmail.com"
  1943.                     },
  1944.                     "payload": {
  1945.                         "external_transaction_response": {
  1946.                             "result": "SUCCESS",
  1947.                             "clientCreatedTime": 1509985545000,
  1948.                             "createdTime": 1509985545000,
  1949.                             "modifiedTime": 1509985547000,
  1950.                             "offline": false,
  1951.                             "cardTransaction": {
  1952.                                 "cardholderName": "",
  1953.                                 "authCode": "OK2515",
  1954.                                 "entryType": "SWIPED",
  1955.                                 "paymentRef": {
  1956.                                     "id": "RJNT48W9NHPGM"
  1957.                                 },
  1958.                                 "extra": {
  1959.                                     "card": "{\"DiscNRID\":\"150998554662510\",\"DiscTransQualifier\":\"02\",\"DiscProcCode\":\"000000\",\"DiscPOSEntry\":\"0220\",\"DiscRespCode\":\"00\",\"DiscPOSData\":\"0200010010700\"}",
  1960.                                     "func": "CREDIT",
  1961.                                     "authorizingNetworkName": "DISCOVER",
  1962.                                     "common": "{\"LocalDateTime\":\"20171106162545\",\"POSEntryMode\":\"902\",\"POSID\":\"7415\",\"MerchID\":\"RCTST0000008099\",\"TermEntryCapablt\":\"03\",\"CardCaptCap\":\"1\",\"STAN\":\"002157\",\"POSCondCode\":\"00\",\"TermLocInd\":\"0\",\"TermID\":\"00000001\",\"TrnmsnDateTime\":\"20171106162545\"}",
  1963.                                     "athNtwkId": "04",
  1964.                                     "cvmResult": "NO_CVM_REQUIRED"
  1965.                                 },
  1966.                                 "state": "CLOSED",
  1967.                                 "referenceId": "731000002157",
  1968.                                 "last4": "6668",
  1969.                                 "type": "AUTH",
  1970.                                 "transactionNo": "700376",
  1971.                                 "cardType": "DISCOVER"
  1972.                             },
  1973.                             "id": "RJNT48W9NHPGM",
  1974.                             "amount": 3000,
  1975.                             "taxAmount": 0,
  1976.                             "order": {
  1977.                                 "id": "QZ2AHXM61QYTG"
  1978.                             },
  1979.                             "device": {
  1980.                                 "id": "68b53a62-e0c5-4697-82a8-95405393b937"
  1981.                             },
  1982.                             "tender": {
  1983.                                 "id": "8YDWVH0P2PK0G",
  1984.                                 "enabled": true,
  1985.                                 "visible": true,
  1986.                                 "labelKey": "com.clover.tender.credit_card",
  1987.                                 "label": "Credit Card",
  1988.                                 "opensCashDrawer": false,
  1989.                                 "href": "https://sandbox.dev.clover.com/v3/merchants/6VR6H15HZ1HSG/tenders/8YDWVH0P2PK0G",
  1990.                                 "editable": false
  1991.                             },
  1992.                             "refunds": {
  1993.                                 "elements": []
  1994.                             },
  1995.                             "employee": {
  1996.                                 "id": "J3R5HHF60V0AA"
  1997.                             },
  1998.                             "cashbackAmount": 0
  1999.                         },
  2000.                         "execution": "clover",
  2001.                         "line_items": [
  2002.                             {
  2003.                                 "provider_id": "05c94925-30f9-4bb4-80b0-5aafb623bfa4",
  2004.                                 "description": "99210 - A normal 15 minute office visit",
  2005.                                 "type_id": "66011811",
  2006.                                 "type": "debit_application",
  2007.                                 "location_id": "539b0cd0-357d-4f51-9870-d784173e2293",
  2008.                                 "amount": 10,
  2009.                                 "papi_processing_exhausted": true,
  2010.                                 "papi_processed": true,
  2011.                                 "cc_persisted": true,
  2012.                                 "papi_error_ids": [],
  2013.                                 "processing_id": "38e523671797435a8810c33d388200d9",
  2014.                                 "merchant_service_transaction_id": "RJNT48W9NHPGM",
  2015.                                 "papi_charge_id": "32537d7e-783e-4bb6-8283-e8f3bae97a86",
  2016.                                 "card_used_last_four": "6668",
  2017.                                 "cc_credit_transaction_id": 94597772,
  2018.                                 "refunded_amount": 10,
  2019.                                 "provider_name": "Monique Adu",
  2020.                                 "location_name": "WEST MEMORIAL CLINIC",
  2021.                                 "status": "succeeded"
  2022.                             },
  2023.                             {
  2024.                                 "provider_id": "75e17222-3da0-4da1-86b6-c8ac1fe366fc",
  2025.                                 "description": "Co-pay",
  2026.                                 "type": "co_pay",
  2027.                                 "location_id": "cad70ba2-a50e-43d4-9bbd-f0ecbcd0abfb",
  2028.                                 "amount": 20,
  2029.                                 "papi_processing_exhausted": true,
  2030.                                 "papi_processed": true,
  2031.                                 "cc_persisted": true,
  2032.                                 "papi_error_ids": [],
  2033.                                 "processing_id": "8b29559f6973414ebbf82883ef1635ce",
  2034.                                 "merchant_service_transaction_id": "RJNT48W9NHPGM",
  2035.                                 "papi_charge_id": "5ef4361a-74ba-4ad2-b50a-8297ea1d4b2b",
  2036.                                 "card_used_last_four": "6668",
  2037.                                 "cc_credit_transaction_id": 94597770,
  2038.                                 "refunded_amount": 20,
  2039.                                 "provider_name": "Dr. Lauren Derosa",
  2040.                                 "location_name": "MAIN MEDICAL CENTER",
  2041.                                 "status": "succeeded"
  2042.                             }
  2043.                         ],
  2044.                         "metadata": {
  2045.                             "practice_mgmt": "carecloud",
  2046.                             "business_entity_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  2047.                             "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  2048.                             "user_id": "56e3aea9-9908-4f02-990d-b10f58e053af",
  2049.                             "breeze_user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  2050.                             "carepay": true,
  2051.                             "prepped_for_processing": true,
  2052.                             "externally_processed": true
  2053.                         },
  2054.                         "payment_method": {
  2055.                             "card_data": {
  2056.                                 "last_four": "6668",
  2057.                                 "card_type": "DISCOVER",
  2058.                                 "expiration": "1217",
  2059.                                 "tokenization_service": "clover",
  2060.                                 "cardholder_name": "BREEZE USER",
  2061.                                 "token": "NO-TOKEN",
  2062.                                 "save_card": false,
  2063.                                 "is_default": false
  2064.                             },
  2065.                             "type": "new_card"
  2066.                         },
  2067.                         "amount": 30,
  2068.                         "deepstream_record_id": "payment_request/1e9c9ac8-27b1-4b11-9431-f1e88c7b4d4d",
  2069.                         "payment_profile_id": "3e371cfd-67b2-4114-b503-1b3ad06fca5c",
  2070.                         "organization_id": "cffc3d2a-df7a-4209-9696-188f2ac199be",
  2071.                         "payment_captured": true,
  2072.                         "state": "Completed",
  2073.                         "payment_group_id": "6fdbf6b6626642aa91b1cb165548e66a",
  2074.                         "most_recent_refund_request": "refund_request/j9ofitmc-2eo2t2bgxup",
  2075.                         "refund_requests": [
  2076.                             "refund_request/j9oeiuia-7ry4ib3x8u4i",
  2077.                             "refund_request/j9ofitmc-2eo2t2bgxup"
  2078.                         ],
  2079.                         "__ds": {
  2080.                             "_v": 8
  2081.                         },
  2082.                         "created_at": "2017-11-06T11:26:49.730Z",
  2083.                         "updated_at": "2017-11-06T11:26:49.730Z",
  2084.                         "practice_mgmt": "carecloud",
  2085.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  2086.                         "confirmation": "1e9c9ac8-27b1-4b11-9431-f1e88c7b4d4d",
  2087.                         "first_name": "BREEZE",
  2088.                         "last_name": "USER",
  2089.                         "date": "2017-11-06T16:26:52.571Z"
  2090.                     }
  2091.                 },
  2092.                 {
  2093.                     "metadata": {
  2094.                         "created_dt": "2017-11-06T16:22:17.651Z",
  2095.                         "updated_dt": "2017-11-06T16:22:17.536Z",
  2096.                         "payment_made_id": "fb43a880-d8fe-485f-b2f2-341c3714794f",
  2097.                         "user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  2098.                         "practice_mgmt": "carecloud",
  2099.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  2100.                         "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  2101.                         "username": "breezebetatester@gmail.com"
  2102.                     },
  2103.                     "payload": {
  2104.                         "external_transaction_response": {
  2105.                             "result": "SUCCESS",
  2106.                             "clientCreatedTime": 1509985299000,
  2107.                             "createdTime": 1509985299000,
  2108.                             "modifiedTime": 1509985302000,
  2109.                             "offline": false,
  2110.                             "cardTransaction": {
  2111.                                 "cardholderName": "",
  2112.                                 "authCode": "OK1385",
  2113.                                 "entryType": "SWIPED",
  2114.                                 "paymentRef": {
  2115.                                     "id": "0MX2J9HMTNNFC"
  2116.                                 },
  2117.                                 "extra": {
  2118.                                     "card": "{\"DiscNRID\":\"150998530062471\",\"DiscTransQualifier\":\"02\",\"DiscProcCode\":\"000000\",\"DiscPOSEntry\":\"0220\",\"DiscRespCode\":\"00\",\"DiscPOSData\":\"0200010010700\"}",
  2119.                                     "func": "CREDIT",
  2120.                                     "authorizingNetworkName": "DISCOVER",
  2121.                                     "common": "{\"LocalDateTime\":\"20171106162139\",\"POSEntryMode\":\"902\",\"POSID\":\"7415\",\"MerchID\":\"RCTST0000008099\",\"TermEntryCapablt\":\"03\",\"CardCaptCap\":\"1\",\"STAN\":\"002155\",\"POSCondCode\":\"00\",\"TermLocInd\":\"0\",\"TermID\":\"00000001\",\"TrnmsnDateTime\":\"20171106162139\"}",
  2122.                                     "athNtwkId": "04",
  2123.                                     "cvmResult": "NO_CVM_REQUIRED"
  2124.                                 },
  2125.                                 "state": "CLOSED",
  2126.                                 "referenceId": "731000002155",
  2127.                                 "last4": "6668",
  2128.                                 "type": "AUTH",
  2129.                                 "transactionNo": "700375",
  2130.                                 "cardType": "DISCOVER"
  2131.                             },
  2132.                             "id": "0MX2J9HMTNNFC",
  2133.                             "amount": 3000,
  2134.                             "taxAmount": 0,
  2135.                             "order": {
  2136.                                 "id": "P98J6520W763G"
  2137.                             },
  2138.                             "device": {
  2139.                                 "id": "68b53a62-e0c5-4697-82a8-95405393b937"
  2140.                             },
  2141.                             "tender": {
  2142.                                 "id": "8YDWVH0P2PK0G",
  2143.                                 "enabled": true,
  2144.                                 "visible": true,
  2145.                                 "labelKey": "com.clover.tender.credit_card",
  2146.                                 "label": "Credit Card",
  2147.                                 "opensCashDrawer": false,
  2148.                                 "href": "https://sandbox.dev.clover.com/v3/merchants/6VR6H15HZ1HSG/tenders/8YDWVH0P2PK0G",
  2149.                                 "editable": false
  2150.                             },
  2151.                             "refunds": {
  2152.                                 "elements": []
  2153.                             },
  2154.                             "employee": {
  2155.                                 "id": "J3R5HHF60V0AA"
  2156.                             },
  2157.                             "cashbackAmount": 0
  2158.                         },
  2159.                         "execution": "clover",
  2160.                         "line_items": [
  2161.                             {
  2162.                                 "provider_id": "05c94925-30f9-4bb4-80b0-5aafb623bfa4",
  2163.                                 "description": "99210 - A normal 15 minute office visit",
  2164.                                 "type_id": "66011811",
  2165.                                 "type": "debit_application",
  2166.                                 "location_id": "539b0cd0-357d-4f51-9870-d784173e2293",
  2167.                                 "amount": 10,
  2168.                                 "papi_processing_exhausted": true,
  2169.                                 "papi_processed": true,
  2170.                                 "cc_persisted": true,
  2171.                                 "papi_error_ids": [],
  2172.                                 "processing_id": "b6a6a75408214b57945d281dc8b1f435",
  2173.                                 "merchant_service_transaction_id": "0MX2J9HMTNNFC",
  2174.                                 "papi_charge_id": "472b4b47-55a9-43a7-9af3-120b3e7e246b",
  2175.                                 "card_used_last_four": "6668",
  2176.                                 "cc_credit_transaction_id": 94597768,
  2177.                                 "refunded_amount": 10,
  2178.                                 "provider_name": "Monique Adu",
  2179.                                 "location_name": "WEST MEMORIAL CLINIC",
  2180.                                 "status": "succeeded"
  2181.                             },
  2182.                             {
  2183.                                 "provider_id": "75e17222-3da0-4da1-86b6-c8ac1fe366fc",
  2184.                                 "description": "Co-pay",
  2185.                                 "type": "co_pay",
  2186.                                 "location_id": "cad70ba2-a50e-43d4-9bbd-f0ecbcd0abfb",
  2187.                                 "amount": 20,
  2188.                                 "papi_processing_exhausted": true,
  2189.                                 "papi_processed": true,
  2190.                                 "cc_persisted": true,
  2191.                                 "papi_error_ids": [],
  2192.                                 "processing_id": "e428798dbdd14c8e9a305ca41c56ec73",
  2193.                                 "merchant_service_transaction_id": "0MX2J9HMTNNFC",
  2194.                                 "papi_charge_id": "f57c92da-b261-42c3-8894-5b59b8a94e9a",
  2195.                                 "card_used_last_four": "6668",
  2196.                                 "cc_credit_transaction_id": 94597767,
  2197.                                 "refunded_amount": 20,
  2198.                                 "provider_name": "Dr. Lauren Derosa",
  2199.                                 "location_name": "MAIN MEDICAL CENTER",
  2200.                                 "status": "succeeded"
  2201.                             }
  2202.                         ],
  2203.                         "metadata": {
  2204.                             "practice_mgmt": "carecloud",
  2205.                             "business_entity_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  2206.                             "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  2207.                             "user_id": "56e3aea9-9908-4f02-990d-b10f58e053af",
  2208.                             "breeze_user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  2209.                             "carepay": true,
  2210.                             "prepped_for_processing": true,
  2211.                             "externally_processed": true
  2212.                         },
  2213.                         "payment_method": {
  2214.                             "card_data": {
  2215.                                 "last_four": "6668",
  2216.                                 "card_type": "DISCOVER",
  2217.                                 "expiration": "1217",
  2218.                                 "tokenization_service": "clover",
  2219.                                 "cardholder_name": "BREEZE USER",
  2220.                                 "token": "NO-TOKEN",
  2221.                                 "save_card": false,
  2222.                                 "is_default": false
  2223.                             },
  2224.                             "type": "new_card"
  2225.                         },
  2226.                         "amount": 30,
  2227.                         "deepstream_record_id": "payment_request/fb43a880-d8fe-485f-b2f2-341c3714794f",
  2228.                         "payment_profile_id": "3e371cfd-67b2-4114-b503-1b3ad06fca5c",
  2229.                         "organization_id": "cffc3d2a-df7a-4209-9696-188f2ac199be",
  2230.                         "payment_captured": true,
  2231.                         "state": "Completed",
  2232.                         "payment_group_id": "554ceeec77a948cb8faad1d3102fae0e",
  2233.                         "most_recent_refund_request": "refund_request/j9ofjsb9-2nl2zecx384",
  2234.                         "refund_requests": [
  2235.                             "refund_request/j9oebfdt-1kf8s0q9zui",
  2236.                             "refund_request/j9ofjsb9-2nl2zecx384"
  2237.                         ],
  2238.                         "__ds": {
  2239.                             "_v": 8
  2240.                         },
  2241.                         "created_at": "2017-11-06T11:22:16.785Z",
  2242.                         "updated_at": "2017-11-06T11:22:16.785Z",
  2243.                         "practice_mgmt": "carecloud",
  2244.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  2245.                         "confirmation": "fb43a880-d8fe-485f-b2f2-341c3714794f",
  2246.                         "first_name": "BREEZE",
  2247.                         "last_name": "USER",
  2248.                         "date": "2017-11-06T16:22:17.536Z"
  2249.                     }
  2250.                 },
  2251.                 {
  2252.                     "metadata": {
  2253.                         "created_dt": "2017-11-06T15:25:03.685Z",
  2254.                         "updated_dt": "2017-11-06T15:25:03.570Z",
  2255.                         "payment_made_id": "da6179c9-8daf-4447-bd83-d686eb0aa1c8",
  2256.                         "user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  2257.                         "practice_mgmt": "carecloud",
  2258.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  2259.                         "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  2260.                         "username": "breezebetatester@gmail.com"
  2261.                     },
  2262.                     "payload": {
  2263.                         "amount": 50,
  2264.                         "execution": "payeezy",
  2265.                         "line_items": [
  2266.                             {
  2267.                                 "amount": 13.66,
  2268.                                 "description": "BalFo - These are previous charges that are being brought over from a previous PMS (Practice Management Syst",
  2269.                                 "type_id": "66011902",
  2270.                                 "type": "debit_application",
  2271.                                 "location_id": "1d5b98f3-2e8b-4928-9828-44277a2738d1",
  2272.                                 "provider_id": "05c94925-30f9-4bb4-80b0-5aafb623bfa4",
  2273.                                 "papi_processing_exhausted": true,
  2274.                                 "papi_processed": true,
  2275.                                 "cc_persisted": true,
  2276.                                 "papi_error_ids": [],
  2277.                                 "processing_id": "f443002a7d9c4a328529c4900cd09de7",
  2278.                                 "merchant_service_transaction_id": "ET166262",
  2279.                                 "papi_charge_id": "1cd7a66c-be3d-44e7-85e5-a9f55d8bc7e5",
  2280.                                 "card_used_last_four": "5100",
  2281.                                 "cc_credit_transaction_id": 94597749,
  2282.                                 "provider_name": "Monique Adu",
  2283.                                 "location_name": "HOME OFFICE",
  2284.                                 "status": "succeeded"
  2285.                             },
  2286.                             {
  2287.                                 "amount": 11.34,
  2288.                                 "description": "Botox - Botox per unit",
  2289.                                 "type_id": "66011904",
  2290.                                 "type": "debit_application",
  2291.                                 "location_id": "1d5b98f3-2e8b-4928-9828-44277a2738d1",
  2292.                                 "provider_id": "05c94925-30f9-4bb4-80b0-5aafb623bfa4",
  2293.                                 "papi_processing_exhausted": true,
  2294.                                 "papi_processed": true,
  2295.                                 "cc_persisted": true,
  2296.                                 "papi_error_ids": [],
  2297.                                 "processing_id": "5220828d7f0d4bc88665dc019f39e90f",
  2298.                                 "merchant_service_transaction_id": "ET166262",
  2299.                                 "papi_charge_id": "1cd7a66c-be3d-44e7-85e5-a9f55d8bc7e5",
  2300.                                 "card_used_last_four": "5100",
  2301.                                 "cc_credit_transaction_id": 94597749,
  2302.                                 "provider_name": "Monique Adu",
  2303.                                 "location_name": "HOME OFFICE",
  2304.                                 "status": "succeeded"
  2305.                             },
  2306.                             {
  2307.                                 "amount": 25,
  2308.                                 "description": "Co-pay",
  2309.                                 "type": "co_pay",
  2310.                                 "location_id": "cad70ba2-a50e-43d4-9bbd-f0ecbcd0abfb",
  2311.                                 "provider_id": "75e17222-3da0-4da1-86b6-c8ac1fe366fc",
  2312.                                 "papi_processing_exhausted": true,
  2313.                                 "papi_processed": true,
  2314.                                 "cc_persisted": true,
  2315.                                 "papi_error_ids": [],
  2316.                                 "processing_id": "fc22fb604f0a48e3a42b6746ab3e0623",
  2317.                                 "merchant_service_transaction_id": "ET179927",
  2318.                                 "papi_charge_id": "e8cda543-41c6-4188-8ba9-6cfd5431be8f",
  2319.                                 "card_used_last_four": "5100",
  2320.                                 "cc_credit_transaction_id": 94597748,
  2321.                                 "refunded_amount": 25,
  2322.                                 "provider_name": "Dr. Lauren Derosa",
  2323.                                 "location_name": "MAIN MEDICAL CENTER",
  2324.                                 "status": "succeeded"
  2325.                             }
  2326.                         ],
  2327.                         "metadata": {
  2328.                             "practice_mgmt": "carecloud",
  2329.                             "business_entity_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  2330.                             "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  2331.                             "user_id": "56e3aea9-9908-4f02-990d-b10f58e053af",
  2332.                             "breeze_user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  2333.                             "carepay": true,
  2334.                             "prepped_for_processing": true,
  2335.                             "externally_processed": false
  2336.                         },
  2337.                         "payment_method": {
  2338.                             "id": "b03c5e28-e2f2-43af-adc0-36c8cd3e5f0a",
  2339.                             "type": "card",
  2340.                             "card_data": {
  2341.                                 "card_type": "Mastercard",
  2342.                                 "last_four": "5100",
  2343.                                 "cardholder_name": "Breeze User"
  2344.                             }
  2345.                         },
  2346.                         "deepstream_record_id": "payment_request/da6179c9-8daf-4447-bd83-d686eb0aa1c8",
  2347.                         "payment_profile_id": "3e371cfd-67b2-4114-b503-1b3ad06fca5c",
  2348.                         "organization_id": "cffc3d2a-df7a-4209-9696-188f2ac199be",
  2349.                         "state": "Completed",
  2350.                         "payment_group_id": "5f6b10314fe44b04ae70018d78acbc1c",
  2351.                         "most_recent_refund_request": "refund_request/j9odqa6d-1bedmd82901",
  2352.                         "refund_requests": [
  2353.                             "refund_request/j9odqa6d-1bedmd82901"
  2354.                         ],
  2355.                         "__ds": {
  2356.                             "_v": 8
  2357.                         },
  2358.                         "created_at": "2017-11-06T10:25:02.704Z",
  2359.                         "updated_at": "2017-11-06T10:25:02.704Z",
  2360.                         "practice_mgmt": "carecloud",
  2361.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  2362.                         "confirmation": "da6179c9-8daf-4447-bd83-d686eb0aa1c8",
  2363.                         "first_name": "BREEZE",
  2364.                         "last_name": "USER",
  2365.                         "date": "2017-11-06T15:25:03.570Z"
  2366.                     }
  2367.                 },
  2368.                 {
  2369.                     "metadata": {
  2370.                         "created_dt": "2017-11-06T15:23:27.585Z",
  2371.                         "updated_dt": "2017-11-06T15:23:27.447Z",
  2372.                         "payment_made_id": "6ba99721-72ad-410e-8944-a4a3c355f306",
  2373.                         "user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  2374.                         "practice_mgmt": "carecloud",
  2375.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  2376.                         "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  2377.                         "username": "breezebetatester@gmail.com"
  2378.                     },
  2379.                     "payload": {
  2380.                         "amount": 47.53,
  2381.                         "execution": "payeezy",
  2382.                         "line_items": [
  2383.                             {
  2384.                                 "amount": 20.48,
  2385.                                 "description": "99210 - A normal 15 minute office visit",
  2386.                                 "type_id": "66011811",
  2387.                                 "type": "debit_application",
  2388.                                 "location_id": "539b0cd0-357d-4f51-9870-d784173e2293",
  2389.                                 "provider_id": "6870394c-48d8-448b-b6e1-00548e603edf",
  2390.                                 "papi_processing_exhausted": true,
  2391.                                 "papi_processed": true,
  2392.                                 "cc_persisted": true,
  2393.                                 "papi_error_ids": [],
  2394.                                 "processing_id": "4c2b993279d945c6a1928f5dfc33b4e0",
  2395.                                 "merchant_service_transaction_id": "ET182035",
  2396.                                 "papi_charge_id": "82388904-3c49-4a8b-9e8b-db2b2a885fc0",
  2397.                                 "card_used_last_four": "5100",
  2398.                                 "cc_credit_transaction_id": 94597746,
  2399.                                 "refunded_amount": 20.48,
  2400.                                 "provider_name": "Nicholas Barron",
  2401.                                 "location_name": "WEST MEMORIAL CLINIC",
  2402.                                 "status": "succeeded"
  2403.                             },
  2404.                             {
  2405.                                 "amount": 2.05,
  2406.                                 "description": "Visit - A set fee for all cancellation regardless of time.",
  2407.                                 "type_id": "66011892",
  2408.                                 "type": "debit_application",
  2409.                                 "location_id": "a0a25bfa-fb6d-4ac3-a276-182b8b428e33",
  2410.                                 "provider_id": "6870394c-48d8-448b-b6e1-00548e603edf",
  2411.                                 "papi_processing_exhausted": true,
  2412.                                 "papi_processed": true,
  2413.                                 "cc_persisted": true,
  2414.                                 "papi_error_ids": [],
  2415.                                 "processing_id": "e96c122db52d43149cdf1669725d6c68",
  2416.                                 "merchant_service_transaction_id": "ET174361",
  2417.                                 "papi_charge_id": "12a69dce-d5a2-4eb1-9087-9af4e118b914",
  2418.                                 "card_used_last_four": "5100",
  2419.                                 "cc_credit_transaction_id": 94597747,
  2420.                                 "refunded_amount": 2.05,
  2421.                                 "provider_name": "Nicholas Barron",
  2422.                                 "status": "succeeded"
  2423.                             },
  2424.                             {
  2425.                                 "amount": 25,
  2426.                                 "description": "Co-pay",
  2427.                                 "type": "co_pay",
  2428.                                 "location_id": "cad70ba2-a50e-43d4-9bbd-f0ecbcd0abfb",
  2429.                                 "provider_id": "75e17222-3da0-4da1-86b6-c8ac1fe366fc",
  2430.                                 "papi_processing_exhausted": true,
  2431.                                 "papi_processed": true,
  2432.                                 "cc_persisted": true,
  2433.                                 "papi_error_ids": [],
  2434.                                 "processing_id": "3db843ce4a4e4d39aaf9312fa087c06c",
  2435.                                 "merchant_service_transaction_id": "ET158105",
  2436.                                 "papi_charge_id": "9e52701a-ff7f-42ed-a398-fdd07fe3b82d",
  2437.                                 "card_used_last_four": "5100",
  2438.                                 "cc_credit_transaction_id": 94597745,
  2439.                                 "refunded_amount": 25,
  2440.                                 "provider_name": "Dr. Lauren Derosa",
  2441.                                 "location_name": "MAIN MEDICAL CENTER",
  2442.                                 "status": "succeeded"
  2443.                             }
  2444.                         ],
  2445.                         "metadata": {
  2446.                             "practice_mgmt": "carecloud",
  2447.                             "business_entity_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  2448.                             "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  2449.                             "user_id": "56e3aea9-9908-4f02-990d-b10f58e053af",
  2450.                             "breeze_user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  2451.                             "carepay": true,
  2452.                             "prepped_for_processing": true,
  2453.                             "externally_processed": false
  2454.                         },
  2455.                         "payment_method": {
  2456.                             "id": "b03c5e28-e2f2-43af-adc0-36c8cd3e5f0a",
  2457.                             "type": "card",
  2458.                             "card_data": {
  2459.                                 "card_type": "Mastercard",
  2460.                                 "last_four": "5100",
  2461.                                 "cardholder_name": "Breeze User"
  2462.                             }
  2463.                         },
  2464.                         "deepstream_record_id": "payment_request/6ba99721-72ad-410e-8944-a4a3c355f306",
  2465.                         "payment_profile_id": "3e371cfd-67b2-4114-b503-1b3ad06fca5c",
  2466.                         "organization_id": "cffc3d2a-df7a-4209-9696-188f2ac199be",
  2467.                         "state": "Completed",
  2468.                         "payment_group_id": "88f9b5f90f6943439371ad2d7d236ca8",
  2469.                         "most_recent_refund_request": "refund_request/j9odsd1u-2mepe6hcr94",
  2470.                         "refund_requests": [
  2471.                             "refund_request/j9odsd0h-1s1bpb0fziw",
  2472.                             "refund_request/j9odsd2f-n9cje8g4eri",
  2473.                             "refund_request/j9odsd1u-2mepe6hcr94"
  2474.                         ],
  2475.                         "__ds": {
  2476.                             "_v": 10
  2477.                         },
  2478.                         "created_at": "2017-11-06T10:23:26.636Z",
  2479.                         "updated_at": "2017-11-06T10:23:26.636Z",
  2480.                         "practice_mgmt": "carecloud",
  2481.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  2482.                         "confirmation": "6ba99721-72ad-410e-8944-a4a3c355f306",
  2483.                         "first_name": "BREEZE",
  2484.                         "last_name": "USER",
  2485.                         "date": "2017-11-06T15:23:27.447Z"
  2486.                     }
  2487.                 },
  2488.                 {
  2489.                     "metadata": {
  2490.                         "created_dt": "2017-11-03T18:54:18.501Z",
  2491.                         "updated_dt": "2017-11-03T18:54:18.400Z",
  2492.                         "payment_made_id": "ac1f2db6-844f-4ab3-87ac-dfaac771f9f6",
  2493.                         "user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  2494.                         "practice_mgmt": "carecloud",
  2495.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  2496.                         "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  2497.                         "username": "breezebetatester@gmail.com"
  2498.                     },
  2499.                     "payload": {
  2500.                         "external_transaction_response": {
  2501.                             "result": "SUCCESS",
  2502.                             "createdTime": 1509735253295,
  2503.                             "offline": false,
  2504.                             "cardTransaction": {
  2505.                                 "cardholderName": "DISCOVER TEST CARD",
  2506.                                 "authCode": "OK3943",
  2507.                                 "entryType": "SWIPED",
  2508.                                 "token": "7297162975886668",
  2509.                                 "extra": {
  2510.                                     "cvmResult": "NO_CVM_REQUIRED",
  2511.                                     "authorizingNetworkName": "DISCOVER"
  2512.                                 },
  2513.                                 "state": "CLOSED",
  2514.                                 "referenceId": "730700002145",
  2515.                                 "last4": "6668",
  2516.                                 "transactionNo": "700374",
  2517.                                 "type": "AUTH",
  2518.                                 "cardType": "DISCOVER",
  2519.                                 "vaultedCard": {
  2520.                                     "cardholderName": "DISCOVER TEST CARD",
  2521.                                     "first6": "601136",
  2522.                                     "expirationDate": "1218",
  2523.                                     "last4": "6668",
  2524.                                     "token": "7297162975886668"
  2525.                                 }
  2526.                             },
  2527.                             "id": "0735K3BA371HR",
  2528.                             "amount": 400,
  2529.                             "taxAmount": 0,
  2530.                             "order": {
  2531.                                 "id": "ZG0YNDTBTZ3DM"
  2532.                             },
  2533.                             "device": {
  2534.                                 "id": "68b53a62-e0c5-4697-82a8-95405393b937"
  2535.                             },
  2536.                             "tender": {
  2537.                                 "id": "8YDWVH0P2PK0G",
  2538.                                 "enabled": true,
  2539.                                 "visible": true,
  2540.                                 "labelKey": "com.clover.tender.credit_card",
  2541.                                 "label": "Credit Card",
  2542.                                 "opensCashDrawer": false,
  2543.                                 "editable": false
  2544.                             },
  2545.                             "employee": {
  2546.                                 "id": "J3R5HHF60V0AA"
  2547.                             }
  2548.                         },
  2549.                         "execution": "clover",
  2550.                         "line_items": [
  2551.                             {
  2552.                                 "provider_id": "49f1cc41-2120-439a-96d5-d0ca70cf767e",
  2553.                                 "description": "Laser - Full laser treatment",
  2554.                                 "type_id": "66011763",
  2555.                                 "type": "debit_application",
  2556.                                 "location_id": "72a37288-13c3-4cc4-ae1f-3dabb84fcd3a",
  2557.                                 "amount": 4,
  2558.                                 "papi_processing_exhausted": true,
  2559.                                 "papi_processed": true,
  2560.                                 "cc_persisted": true,
  2561.                                 "papi_error_ids": [],
  2562.                                 "processing_id": "7130b10171a04f129beb74404deaba65",
  2563.                                 "merchant_service_transaction_id": "0735K3BA371HR",
  2564.                                 "papi_charge_id": "85e48df2-bb6c-4dce-8915-c12fb67aa85a",
  2565.                                 "card_used_last_four": "6668",
  2566.                                 "cc_credit_transaction_id": 94597670,
  2567.                                 "refunded_amount": 4,
  2568.                                 "provider_name": "Mrs. Harvey Bones",
  2569.                                 "location_name": "MEMORIAL HOSPITAL CLINIC",
  2570.                                 "status": "succeeded"
  2571.                             }
  2572.                         ],
  2573.                         "metadata": {
  2574.                             "practice_mgmt": "carecloud",
  2575.                             "business_entity_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  2576.                             "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  2577.                             "user_id": "56e3aea9-9908-4f02-990d-b10f58e053af",
  2578.                             "breeze_user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  2579.                             "carepay": true,
  2580.                             "prepped_for_processing": true,
  2581.                             "externally_processed": true
  2582.                         },
  2583.                         "payment_method": {
  2584.                             "card_data": {
  2585.                                 "last_four": "6668",
  2586.                                 "card_type": "DISCOVER",
  2587.                                 "expiration": "1218",
  2588.                                 "tokenization_service": "clover",
  2589.                                 "cardholder_name": "DISCOVER TEST CARD",
  2590.                                 "token": "7297162975886668",
  2591.                                 "save_card": false,
  2592.                                 "is_default": false
  2593.                             },
  2594.                             "type": "new_card"
  2595.                         },
  2596.                         "amount": 4,
  2597.                         "deepstream_record_id": "payment_request/ac1f2db6-844f-4ab3-87ac-dfaac771f9f6",
  2598.                         "payment_profile_id": "3e371cfd-67b2-4114-b503-1b3ad06fca5c",
  2599.                         "organization_id": "cffc3d2a-df7a-4209-9696-188f2ac199be",
  2600.                         "payment_captured": true,
  2601.                         "state": "Completed",
  2602.                         "payment_group_id": "4c04a49b3907453fb76e116bfa394508",
  2603.                         "most_recent_refund_request": "refund_request/j9k9etyf-1oy07k46pbp",
  2604.                         "refund_requests": [
  2605.                             "refund_request/j9k9etyf-1oy07k46pbp"
  2606.                         ],
  2607.                         "__ds": {
  2608.                             "_v": 6
  2609.                         },
  2610.                         "created_at": "2017-11-03T14:54:17.338Z",
  2611.                         "updated_at": "2017-11-03T14:54:17.338Z",
  2612.                         "practice_mgmt": "carecloud",
  2613.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  2614.                         "confirmation": "ac1f2db6-844f-4ab3-87ac-dfaac771f9f6",
  2615.                         "first_name": "BREEZE",
  2616.                         "last_name": "USER",
  2617.                         "date": "2017-11-03T18:54:18.400Z"
  2618.                     }
  2619.                 },
  2620.                 {
  2621.                     "metadata": {
  2622.                         "created_dt": "2017-11-03T14:38:56.789Z",
  2623.                         "updated_dt": "2017-11-03T14:38:56.644Z",
  2624.                         "payment_made_id": "0ce5e5e4-e8c6-4327-a13a-3fffa3284cf1",
  2625.                         "user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  2626.                         "practice_mgmt": "carecloud",
  2627.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  2628.                         "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  2629.                         "username": "breezebetatester@gmail.com"
  2630.                     },
  2631.                     "payload": {
  2632.                         "external_transaction_response": {
  2633.                             "result": "SUCCESS",
  2634.                             "createdTime": 1509719931089,
  2635.                             "offline": false,
  2636.                             "cardTransaction": {
  2637.                                 "cardholderName": "DISCOVER TEST CARD",
  2638.                                 "authCode": "OK5296",
  2639.                                 "entryType": "SWIPED",
  2640.                                 "token": "7297162975886668",
  2641.                                 "extra": {
  2642.                                     "cvmResult": "NO_CVM_REQUIRED",
  2643.                                     "authorizingNetworkName": "DISCOVER"
  2644.                                 },
  2645.                                 "state": "CLOSED",
  2646.                                 "referenceId": "730700002142",
  2647.                                 "last4": "6668",
  2648.                                 "transactionNo": "700373",
  2649.                                 "type": "AUTH",
  2650.                                 "cardType": "DISCOVER",
  2651.                                 "vaultedCard": {
  2652.                                     "cardholderName": "DISCOVER TEST CARD",
  2653.                                     "first6": "601136",
  2654.                                     "expirationDate": "1218",
  2655.                                     "last4": "6668",
  2656.                                     "token": "7297162975886668"
  2657.                                 }
  2658.                             },
  2659.                             "id": "PP2CBB3JNT7YR",
  2660.                             "amount": 300,
  2661.                             "taxAmount": 0,
  2662.                             "order": {
  2663.                                 "id": "FJSDS5BZWPCMJ"
  2664.                             },
  2665.                             "device": {
  2666.                                 "id": "68b53a62-e0c5-4697-82a8-95405393b937"
  2667.                             },
  2668.                             "tender": {
  2669.                                 "id": "8YDWVH0P2PK0G",
  2670.                                 "enabled": true,
  2671.                                 "visible": true,
  2672.                                 "labelKey": "com.clover.tender.credit_card",
  2673.                                 "label": "Credit Card",
  2674.                                 "opensCashDrawer": false,
  2675.                                 "editable": false
  2676.                             },
  2677.                             "employee": {
  2678.                                 "id": "J3R5HHF60V0AA"
  2679.                             }
  2680.                         },
  2681.                         "execution": "clover",
  2682.                         "line_items": [
  2683.                             {
  2684.                                 "provider_id": "49f1cc41-2120-439a-96d5-d0ca70cf767e",
  2685.                                 "description": "Laser - Full laser treatment",
  2686.                                 "type_id": "66011763",
  2687.                                 "type": "debit_application",
  2688.                                 "location_id": "72a37288-13c3-4cc4-ae1f-3dabb84fcd3a",
  2689.                                 "amount": 3,
  2690.                                 "papi_processing_exhausted": true,
  2691.                                 "papi_processed": true,
  2692.                                 "cc_persisted": true,
  2693.                                 "papi_error_ids": [],
  2694.                                 "processing_id": "956873bce40f410cbe52d022a52446f2",
  2695.                                 "merchant_service_transaction_id": "PP2CBB3JNT7YR",
  2696.                                 "papi_charge_id": "e77c8819-36fa-4205-9b65-111facaf9155",
  2697.                                 "card_used_last_four": "6668",
  2698.                                 "cc_credit_transaction_id": 94597641,
  2699.                                 "provider_name": "Mrs. Harvey Bones",
  2700.                                 "location_name": "MEMORIAL HOSPITAL CLINIC",
  2701.                                 "status": "succeeded"
  2702.                             }
  2703.                         ],
  2704.                         "metadata": {
  2705.                             "practice_mgmt": "carecloud",
  2706.                             "business_entity_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  2707.                             "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  2708.                             "user_id": "56e3aea9-9908-4f02-990d-b10f58e053af",
  2709.                             "breeze_user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  2710.                             "carepay": true,
  2711.                             "prepped_for_processing": true,
  2712.                             "externally_processed": true
  2713.                         },
  2714.                         "payment_method": {
  2715.                             "card_data": {
  2716.                                 "last_four": "6668",
  2717.                                 "card_type": "DISCOVER",
  2718.                                 "expiration": "1218",
  2719.                                 "tokenization_service": "clover",
  2720.                                 "cardholder_name": "DISCOVER TEST CARD",
  2721.                                 "token": "7297162975886668",
  2722.                                 "save_card": false,
  2723.                                 "is_default": false
  2724.                             },
  2725.                             "type": "new_card"
  2726.                         },
  2727.                         "amount": 3,
  2728.                         "deepstream_record_id": "payment_request/0ce5e5e4-e8c6-4327-a13a-3fffa3284cf1",
  2729.                         "payment_profile_id": "3e371cfd-67b2-4114-b503-1b3ad06fca5c",
  2730.                         "organization_id": "cffc3d2a-df7a-4209-9696-188f2ac199be",
  2731.                         "payment_captured": true,
  2732.                         "state": "Completed",
  2733.                         "payment_group_id": "52be06f7a58940109352424ef3f3dcf3",
  2734.                         "__ds": {
  2735.                             "_v": 4
  2736.                         },
  2737.                         "created_at": "2017-11-03T10:38:55.391Z",
  2738.                         "updated_at": "2017-11-03T10:38:55.391Z",
  2739.                         "practice_mgmt": "carecloud",
  2740.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  2741.                         "confirmation": "0ce5e5e4-e8c6-4327-a13a-3fffa3284cf1",
  2742.                         "first_name": "BREEZE",
  2743.                         "last_name": "USER",
  2744.                         "date": "2017-11-03T14:38:56.644Z"
  2745.                     }
  2746.                 },
  2747.                 {
  2748.                     "metadata": {
  2749.                         "created_dt": "2017-11-03T13:21:04.282Z",
  2750.                         "updated_dt": "2017-11-03T13:21:03.780Z",
  2751.                         "payment_made_id": "48886699-53d4-4d65-94fb-095af7649cb4",
  2752.                         "user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  2753.                         "practice_mgmt": "carecloud",
  2754.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  2755.                         "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  2756.                         "username": "breezebetatester@gmail.com"
  2757.                     },
  2758.                     "payload": {
  2759.                         "external_transaction_response": {
  2760.                             "result": "SUCCESS",
  2761.                             "createdTime": 1509715258238,
  2762.                             "offline": false,
  2763.                             "cardTransaction": {
  2764.                                 "cardholderName": "DISCOVER TEST CARD",
  2765.                                 "authCode": "OK7583",
  2766.                                 "entryType": "SWIPED",
  2767.                                 "token": "7297162975886668",
  2768.                                 "extra": {
  2769.                                     "cvmResult": "NO_CVM_REQUIRED",
  2770.                                     "authorizingNetworkName": "DISCOVER"
  2771.                                 },
  2772.                                 "state": "CLOSED",
  2773.                                 "referenceId": "730700002140",
  2774.                                 "last4": "6668",
  2775.                                 "transactionNo": "700372",
  2776.                                 "type": "AUTH",
  2777.                                 "cardType": "DISCOVER",
  2778.                                 "vaultedCard": {
  2779.                                     "cardholderName": "DISCOVER TEST CARD",
  2780.                                     "first6": "601136",
  2781.                                     "expirationDate": "1218",
  2782.                                     "last4": "6668",
  2783.                                     "token": "7297162975886668"
  2784.                                 }
  2785.                             },
  2786.                             "id": "TPZDYSMDS3SQ8",
  2787.                             "amount": 500,
  2788.                             "taxAmount": 0,
  2789.                             "order": {
  2790.                                 "id": "3PA91PBCWZ4PW"
  2791.                             },
  2792.                             "device": {
  2793.                                 "id": "68b53a62-e0c5-4697-82a8-95405393b937"
  2794.                             },
  2795.                             "tender": {
  2796.                                 "id": "8YDWVH0P2PK0G",
  2797.                                 "enabled": true,
  2798.                                 "visible": true,
  2799.                                 "labelKey": "com.clover.tender.credit_card",
  2800.                                 "label": "Credit Card",
  2801.                                 "opensCashDrawer": false,
  2802.                                 "editable": false
  2803.                             },
  2804.                             "employee": {
  2805.                                 "id": "J3R5HHF60V0AA"
  2806.                             }
  2807.                         },
  2808.                         "execution": "clover",
  2809.                         "line_items": [
  2810.                             {
  2811.                                 "provider_id": "49f1cc41-2120-439a-96d5-d0ca70cf767e",
  2812.                                 "description": "Laser - Full laser treatment",
  2813.                                 "type_id": "66011763",
  2814.                                 "type": "debit_application",
  2815.                                 "location_id": "72a37288-13c3-4cc4-ae1f-3dabb84fcd3a",
  2816.                                 "amount": 5,
  2817.                                 "papi_processing_exhausted": true,
  2818.                                 "papi_processed": true,
  2819.                                 "cc_persisted": true,
  2820.                                 "papi_error_ids": [],
  2821.                                 "processing_id": "4a0a182533024ce6bc61550e232a0cf4",
  2822.                                 "merchant_service_transaction_id": "TPZDYSMDS3SQ8",
  2823.                                 "papi_charge_id": "2813bc62-a05c-4927-a688-2af964e13034",
  2824.                                 "card_used_last_four": "6668",
  2825.                                 "cc_credit_transaction_id": 94597637,
  2826.                                 "provider_name": "Mrs. Harvey Bones",
  2827.                                 "location_name": "MEMORIAL HOSPITAL CLINIC",
  2828.                                 "status": "succeeded"
  2829.                             }
  2830.                         ],
  2831.                         "metadata": {
  2832.                             "practice_mgmt": "carecloud",
  2833.                             "business_entity_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  2834.                             "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  2835.                             "user_id": "56e3aea9-9908-4f02-990d-b10f58e053af",
  2836.                             "breeze_user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  2837.                             "carepay": true,
  2838.                             "prepped_for_processing": true,
  2839.                             "externally_processed": true
  2840.                         },
  2841.                         "payment_method": {
  2842.                             "card_data": {
  2843.                                 "last_four": "6668",
  2844.                                 "card_type": "DISCOVER",
  2845.                                 "expiration": "1218",
  2846.                                 "tokenization_service": "clover",
  2847.                                 "cardholder_name": "DISCOVER TEST CARD",
  2848.                                 "token": "7297162975886668",
  2849.                                 "save_card": false,
  2850.                                 "is_default": false
  2851.                             },
  2852.                             "type": "new_card"
  2853.                         },
  2854.                         "amount": 5,
  2855.                         "deepstream_record_id": "payment_request/48886699-53d4-4d65-94fb-095af7649cb4",
  2856.                         "payment_profile_id": "3e371cfd-67b2-4114-b503-1b3ad06fca5c",
  2857.                         "organization_id": "cffc3d2a-df7a-4209-9696-188f2ac199be",
  2858.                         "payment_captured": true,
  2859.                         "state": "Completed",
  2860.                         "payment_group_id": "6568987818f04e7ea17661d2e151c839",
  2861.                         "__ds": {
  2862.                             "_v": 4
  2863.                         },
  2864.                         "created_at": "2017-11-03T09:21:02.906Z",
  2865.                         "updated_at": "2017-11-03T09:21:02.906Z",
  2866.                         "practice_mgmt": "carecloud",
  2867.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  2868.                         "confirmation": "48886699-53d4-4d65-94fb-095af7649cb4",
  2869.                         "first_name": "BREEZE",
  2870.                         "last_name": "USER",
  2871.                         "date": "2017-11-03T13:21:03.780Z"
  2872.                     }
  2873.                 },
  2874.                 {
  2875.                     "metadata": {
  2876.                         "created_dt": "2017-11-02T18:13:24.862Z",
  2877.                         "updated_dt": "2017-11-02T18:13:24.746Z",
  2878.                         "payment_made_id": "735324bb-0b0a-4a69-9413-b55f875429eb",
  2879.                         "user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  2880.                         "practice_mgmt": "carecloud",
  2881.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  2882.                         "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  2883.                         "username": "breezebetatester@gmail.com"
  2884.                     },
  2885.                     "payload": {
  2886.                         "amount": 15,
  2887.                         "execution": "payeezy",
  2888.                         "line_items": [
  2889.                             {
  2890.                                 "amount": 10,
  2891.                                 "description": "Laser - Full laser treatment",
  2892.                                 "type_id": "66011763",
  2893.                                 "type": "debit_application",
  2894.                                 "location_id": "72a37288-13c3-4cc4-ae1f-3dabb84fcd3a",
  2895.                                 "provider_id": "49f1cc41-2120-439a-96d5-d0ca70cf767e",
  2896.                                 "papi_processing_exhausted": true,
  2897.                                 "papi_processed": true,
  2898.                                 "cc_persisted": true,
  2899.                                 "papi_error_ids": [],
  2900.                                 "processing_id": "9e95c1293cd44a0fbddca96ad60cabaf",
  2901.                                 "merchant_service_transaction_id": "ET134402",
  2902.                                 "papi_charge_id": "1fa6c08b-fc9c-4a5a-888a-0821642cfad8",
  2903.                                 "card_used_last_four": "5100",
  2904.                                 "cc_credit_transaction_id": 94597621,
  2905.                                 "refunded_amount": 10,
  2906.                                 "provider_name": "Mrs. Harvey Bones",
  2907.                                 "location_name": "MEMORIAL HOSPITAL CLINIC",
  2908.                                 "status": "succeeded"
  2909.                             },
  2910.                             {
  2911.                                 "amount": 1.06,
  2912.                                 "description": "Late - There is a set fee for all late charges. This is customizable.",
  2913.                                 "type_id": "66011776",
  2914.                                 "type": "debit_application",
  2915.                                 "location_id": "cad70ba2-a50e-43d4-9bbd-f0ecbcd0abfb",
  2916.                                 "provider_id": "05c94925-30f9-4bb4-80b0-5aafb623bfa4",
  2917.                                 "papi_processing_exhausted": true,
  2918.                                 "papi_processed": true,
  2919.                                 "cc_persisted": true,
  2920.                                 "papi_error_ids": [],
  2921.                                 "processing_id": "191cc02ab1ff406486bc30da5b228b5f",
  2922.                                 "merchant_service_transaction_id": "ET179093",
  2923.                                 "papi_charge_id": "20348e7f-a4db-47bb-a803-e0693b5ff759",
  2924.                                 "card_used_last_four": "5100",
  2925.                                 "cc_credit_transaction_id": 94597620,
  2926.                                 "refunded_amount": 1.06,
  2927.                                 "provider_name": "Monique Adu",
  2928.                                 "location_name": "MAIN MEDICAL CENTER",
  2929.                                 "status": "succeeded"
  2930.                             },
  2931.                             {
  2932.                                 "amount": 3.94,
  2933.                                 "description": "Unapplied Amount",
  2934.                                 "type": "unapplied",
  2935.                                 "papi_processing_exhausted": true,
  2936.                                 "papi_processed": true,
  2937.                                 "cc_persisted": true,
  2938.                                 "papi_error_ids": [],
  2939.                                 "processing_id": "9392591c93294086bd9b0a0c8628df81",
  2940.                                 "merchant_service_transaction_id": "ET104540",
  2941.                                 "papi_charge_id": "2096be2c-a4c8-4882-bf8d-c70b82f54f0e",
  2942.                                 "card_used_last_four": "5100",
  2943.                                 "cc_credit_transaction_id": 94597622,
  2944.                                 "refunded_amount": 3.94,
  2945.                                 "status": "succeeded"
  2946.                             }
  2947.                         ],
  2948.                         "metadata": {
  2949.                             "practice_mgmt": "carecloud",
  2950.                             "business_entity_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  2951.                             "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  2952.                             "user_id": "56e3aea9-9908-4f02-990d-b10f58e053af",
  2953.                             "breeze_user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  2954.                             "carepay": true,
  2955.                             "prepped_for_processing": true,
  2956.                             "externally_processed": false
  2957.                         },
  2958.                         "payment_method": {
  2959.                             "id": "b03c5e28-e2f2-43af-adc0-36c8cd3e5f0a",
  2960.                             "type": "card",
  2961.                             "card_data": {
  2962.                                 "card_type": "Mastercard",
  2963.                                 "last_four": "5100",
  2964.                                 "cardholder_name": "Breeze User"
  2965.                             }
  2966.                         },
  2967.                         "deepstream_record_id": "payment_request/735324bb-0b0a-4a69-9413-b55f875429eb",
  2968.                         "payment_profile_id": "3e371cfd-67b2-4114-b503-1b3ad06fca5c",
  2969.                         "organization_id": "cffc3d2a-df7a-4209-9696-188f2ac199be",
  2970.                         "state": "Completed",
  2971.                         "payment_group_id": "0ccb06a2bad14f21bc733d553ae39d45",
  2972.                         "most_recent_refund_request": "refund_request/jak38cfv-1eyae9jofhr",
  2973.                         "refund_requests": [
  2974.                             "refund_request/jak38cfo-tt41v0giwd",
  2975.                             "refund_request/jak38cfy-8yt1pi81tp9",
  2976.                             "refund_request/jak38cfv-1eyae9jofhr"
  2977.                         ],
  2978.                         "__ds": {
  2979.                             "_v": 10
  2980.                         },
  2981.                         "created_at": "2017-11-02T14:13:23.681Z",
  2982.                         "updated_at": "2017-11-02T14:13:23.681Z",
  2983.                         "practice_mgmt": "carecloud",
  2984.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  2985.                         "confirmation": "735324bb-0b0a-4a69-9413-b55f875429eb",
  2986.                         "first_name": "BREEZE",
  2987.                         "last_name": "USER",
  2988.                         "date": "2017-11-02T18:13:24.746Z"
  2989.                     }
  2990.                 },
  2991.                 {
  2992.                     "metadata": {
  2993.                         "created_dt": "2017-11-02T13:28:12.491Z",
  2994.                         "updated_dt": "2017-11-02T13:28:02.156Z",
  2995.                         "payment_made_id": "4b17ab49-50c7-4d52-8cef-18b823575b0c",
  2996.                         "user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  2997.                         "practice_mgmt": "carecloud",
  2998.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  2999.                         "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  3000.                         "username": "breezebetatester@gmail.com"
  3001.                     },
  3002.                     "payload": {
  3003.                         "external_transaction_response": {
  3004.                             "result": "SUCCESS",
  3005.                             "createdTime": 1509629276846,
  3006.                             "offline": false,
  3007.                             "cardTransaction": {
  3008.                                 "cardholderName": "DISCOVER TEST CARD",
  3009.                                 "authCode": "OK4659",
  3010.                                 "entryType": "SWIPED",
  3011.                                 "token": "7297162975886668",
  3012.                                 "extra": {
  3013.                                     "cvmResult": "NO_CVM_REQUIRED",
  3014.                                     "authorizingNetworkName": "DISCOVER"
  3015.                                 },
  3016.                                 "state": "CLOSED",
  3017.                                 "referenceId": "730600002137",
  3018.                                 "last4": "6668",
  3019.                                 "transactionNo": "700370",
  3020.                                 "type": "AUTH",
  3021.                                 "cardType": "DISCOVER",
  3022.                                 "vaultedCard": {
  3023.                                     "cardholderName": "DISCOVER TEST CARD",
  3024.                                     "first6": "601136",
  3025.                                     "expirationDate": "1218",
  3026.                                     "last4": "6668",
  3027.                                     "token": "7297162975886668"
  3028.                                 }
  3029.                             },
  3030.                             "id": "15YSDJH74TTEM",
  3031.                             "amount": 500,
  3032.                             "taxAmount": 0,
  3033.                             "order": {
  3034.                                 "id": "CK4XVPSJ8TESY"
  3035.                             },
  3036.                             "device": {
  3037.                                 "id": "68b53a62-e0c5-4697-82a8-95405393b937"
  3038.                             },
  3039.                             "tender": {
  3040.                                 "id": "8YDWVH0P2PK0G",
  3041.                                 "enabled": true,
  3042.                                 "visible": true,
  3043.                                 "labelKey": "com.clover.tender.credit_card",
  3044.                                 "label": "Credit Card",
  3045.                                 "opensCashDrawer": false,
  3046.                                 "editable": false
  3047.                             },
  3048.                             "employee": {
  3049.                                 "id": "J3R5HHF60V0AA"
  3050.                             }
  3051.                         },
  3052.                         "execution": "clover",
  3053.                         "line_items": [
  3054.                             {
  3055.                                 "provider_id": "05c94925-30f9-4bb4-80b0-5aafb623bfa4",
  3056.                                 "description": "Co-insurance",
  3057.                                 "type": "co_insurance",
  3058.                                 "location_id": "539b0cd0-357d-4f51-9870-d784173e2293",
  3059.                                 "amount": 5,
  3060.                                 "papi_processing_exhausted": true,
  3061.                                 "papi_processed": true,
  3062.                                 "cc_persisted": true,
  3063.                                 "papi_error_ids": [],
  3064.                                 "processing_id": "64eaf9d477e64108bbcb6763fa707cef",
  3065.                                 "merchant_service_transaction_id": "15YSDJH74TTEM",
  3066.                                 "papi_charge_id": "e95e05ef-8e29-44ca-8068-2b500762fa1d",
  3067.                                 "card_used_last_four": "6668",
  3068.                                 "cc_credit_transaction_id": 94597589,
  3069.                                 "provider_name": "Monique Adu",
  3070.                                 "location_name": "WEST MEMORIAL CLINIC",
  3071.                                 "status": "succeeded"
  3072.                             }
  3073.                         ],
  3074.                         "metadata": {
  3075.                             "practice_mgmt": "carecloud",
  3076.                             "business_entity_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  3077.                             "patient_id": "19434eb8-8560-4935-80be-03f679ca95e7",
  3078.                             "user_id": "56e3aea9-9908-4f02-990d-b10f58e053af",
  3079.                             "breeze_user_id": "e09ab454-82ab-451c-a774-8abeade99ff9",
  3080.                             "carepay": true,
  3081.                             "prepped_for_processing": true,
  3082.                             "externally_processed": true
  3083.                         },
  3084.                         "payment_method": {
  3085.                             "card_data": {
  3086.                                 "last_four": "6668",
  3087.                                 "card_type": "DISCOVER",
  3088.                                 "expiration": "1218",
  3089.                                 "tokenization_service": "clover",
  3090.                                 "cardholder_name": "DISCOVER TEST CARD",
  3091.                                 "token": "7297162975886668",
  3092.                                 "save_card": false,
  3093.                                 "is_default": false
  3094.                             },
  3095.                             "type": "new_card"
  3096.                         },
  3097.                         "amount": 5,
  3098.                         "deepstream_record_id": "payment_request/4b17ab49-50c7-4d52-8cef-18b823575b0c",
  3099.                         "payment_profile_id": "3e371cfd-67b2-4114-b503-1b3ad06fca5c",
  3100.                         "organization_id": "cffc3d2a-df7a-4209-9696-188f2ac199be",
  3101.                         "payment_captured": true,
  3102.                         "state": "Completed",
  3103.                         "payment_group_id": "70aeb7b28bde4bc183f6a59c126f2375",
  3104.                         "__ds": {
  3105.                             "_v": 4
  3106.                         },
  3107.                         "created_at": "2017-11-02T09:28:00.979Z",
  3108.                         "updated_at": "2017-11-02T09:28:00.979Z",
  3109.                         "practice_mgmt": "carecloud",
  3110.                         "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  3111.                         "confirmation": "4b17ab49-50c7-4d52-8cef-18b823575b0c",
  3112.                         "first_name": "BREEZE",
  3113.                         "last_name": "USER",
  3114.                         "date": "2017-11-02T13:28:02.156Z"
  3115.                     }
  3116.                 }
  3117.             ],
  3118.             "request": {
  3119.                 "sort_by": "date",
  3120.                 "sort_order": "desc",
  3121.                 "filter_by": {
  3122.                     "last_name": "user",
  3123.                     "type": "last_name"
  3124.                 },
  3125.                 "start_dt": "2017-09-21",
  3126.                 "end_dt": "2217-01-01",
  3127.                 "transaction_type": "payment_made",
  3128.                 "request_payload": {
  3129.                     "page_number": 5,
  3130.                     "page_transaction_count": 25,
  3131.                     "sort_by": "date",
  3132.                     "sort_order": "desc",
  3133.                     "filter_by": {
  3134.                         "last_name": "user",
  3135.                         "type": "last_name"
  3136.                     },
  3137.                     "date_range": {
  3138.                         "start_date": "2017-09-21",
  3139.                         "end_date": ""
  3140.                     }
  3141.                 },
  3142.                 "query_string": {
  3143.                     "practice_id": "77b81aa8-1155-4da7-9fd9-2f6967b09a93",
  3144.                     "practice_mgmt": "carecloud"
  3145.                 }
  3146.             }
  3147.         }
  3148.     },
  3149.     "state": "practice_transactions"
  3150. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement