{
  "integrations": {
    "3f29d0e4-a191-4cf9-a109-a382e6a371fe": {
      "action": {
        "label": "Charge",
        "labelReady": "Charged",
        "value": "CHARGE"
      },
      "avs": {
        "label": "Off",
        "value": "OFF"
      },
      "createdAt": 1749154558897,
      "cvvSettings": {
        "label": "Enable",
        "value": "enable"
      },
      "domain": "https://*.mdchartsemrwc.com/glance.asp?patient_n=*",
      "id": "3f29d0e4-a191-4cf9-a109-a382e6a371fe",
      "isAuto": true,
      "isAutoClose": false,
      "isAutoRunAutomation": true,
      "matchElement": {
        "attribute": null,
        "isEnabled": true,
        "matchingValue": "Record payment",
        "xPath": "//div[contains(text(), 'Record payment')]"
      },
      "name": "MD Charts - Transaction Table",
      "paths": {
        "address": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "label": "Display",
            "value": "display"
          }
        },
        "company_name": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "label": "Display",
            "value": "display"
          }
        },
        "customer_id": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//iframe[@id=\"workspace\"]//span[text()='BID:']/following-sibling::span[1]",
          "visibility": {
            "label": "Hide",
            "value": "hide"
          }
        },
        "email": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "label": "Display",
            "value": "display"
          }
        },
        "first_name": {
          "attribute": null,
          "regex": "^\\w+",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//iframe[@id=\"workspace\"]//div[contains(@class,\"text-bg-2\")]/a[1]",
          "visibility": {
            "label": "Display",
            "value": "display"
          }
        },
        "invoice_number": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "label": "Display",
            "value": "display"
          }
        },
        "last_name": {
          "regex": "\\w+$",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//iframe[@id=\"workspace\"]//div[contains(@class,\"text-bg-2\")]/a[1]",
          "visibility": {
            "label": "Display",
            "value": "display"
          }
        },
        "note": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "label": "Display",
            "value": "display"
          }
        },
        "phone": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//iframe[@id=\"workspace\"]//span[text()='Phone:']/following-sibling::span[1]",
          "visibility": {
            "label": "Display",
            "value": "display"
          }
        },
        "purchase_number": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "label": "Hide",
            "value": "hide"
          }
        },
        "tax": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "label": "Display",
            "value": "display"
          }
        },
        "transaction_amount": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "label": "Display",
            "value": "display"
          }
        },
        "zip": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "label": "Display",
            "value": "display"
          }
        }
      }
    },
    "488c651e-9d4c-489a-8051-781d81935e85": {
      "action": {
        "label": "Charge",
        "labelReady": "Charged",
        "value": "CHARGE"
      },
      "avs": {
        "label": "Off",
        "value": "OFF"
      },
      "createdAt": 1749054934051,
      "cvvSettings": {
        "label": "Enable",
        "value": "enable"
      },
      "domain": "https://*.mdchartsemrwc.com/glance.asp?patient_n=*",
      "id": "488c651e-9d4c-489a-8051-781d81935e85",
      "isAuto": true,
      "isAutoClose": false,
      "isAutoRunAutomation": true,
      "matchElement": {
        "attribute": null,
        "isEnabled": true,
        "matchingValue": "Checkin Payments",
        "xPath": "//div[contains(@class,\"page-modal-size\")]/div[1]/div[1]"
      },
      "name": "MD Charts - Patient Chart",
      "paths": {
        "address": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "label": "Display",
            "value": "display"
          }
        },
        "company_name": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "label": "Display",
            "value": "display"
          }
        },
        "customer_id": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//iframe[@id=\"workspace\"]//span[text()='BID:']/following-sibling::span[1]",
          "visibility": {
            "label": "Hide",
            "value": "hide"
          }
        },
        "email": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "label": "Display",
            "value": "display"
          }
        },
        "first_name": {
          "regex": "^\\w+",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//iframe[@id=\"workspace\"]//div[contains(@class,\"text-bg-2\")]/a[1]",
          "visibility": {
            "label": "Display",
            "value": "display"
          }
        },
        "invoice_number": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "label": "Display",
            "value": "display"
          }
        },
        "last_name": {
          "regex": "\\w+$",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//iframe[@id=\"workspace\"]//div[contains(@class,\"text-bg-2\")]/a[1]",
          "visibility": {
            "label": "Display",
            "value": "display"
          }
        },
        "note": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "label": "Display",
            "value": "display"
          }
        },
        "phone": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//iframe[@id=\"workspace\"]//span[text()='Phone:']/following-sibling::span[1]",
          "visibility": {
            "label": "Display",
            "value": "display"
          }
        },
        "purchase_number": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "label": "Hide",
            "value": "hide"
          }
        },
        "tax": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "label": "Display",
            "value": "display"
          }
        },
        "transaction_amount": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//iframe[@id=\"workspace\"]//input[@id=\"totalDueField\"]",
          "visibility": {
            "label": "Display",
            "value": "display"
          }
        },
        "zip": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "label": "Display",
            "value": "display"
          }
        }
      }
    }
  },
  "steps": {
    "3f29d0e4-a191-4cf9-a109-a382e6a371fe": {
      "124839cb-b1e7-40d6-b42a-6e771939f1cd": {
        "id": "124839cb-b1e7-40d6-b42a-6e771939f1cd",
        "integrationId": "3f29d0e4-a191-4cf9-a109-a382e6a371fe",
        "steps": [
          {
            "automationLabel": "Input Amount",
            "id": "b82ae73a-f0b9-466b-af78-78740c4f1e9d",
            "options": [
              {
                "enabled": false,
                "label": "Format with \"$\"",
                "name": "FORMAT_INPUT_WITH_DOLLAR"
              }
            ],
            "path": "//div[contains(@id,\"new_payment\")]/iframe[1]//input[@name=\"AMOUNT\"]",
            "placementOption": {
              "label": "Replace",
              "value": "replace"
            },
            "transactionApprovalSetting": {
              "label": "Total Amount",
              "value": "AMOUNT"
            },
            "type": {
              "label": "Input",
              "value": "input"
            },
            "useTransactionApproval": true,
            "value": ""
          }
        ],
        "type": "CHARGE"
      }
    },
    "488c651e-9d4c-489a-8051-781d81935e85": {
      "e31049bf-b2ca-4e83-a7ca-62eab96c08ec": {
        "id": "e31049bf-b2ca-4e83-a7ca-62eab96c08ec",
        "integrationId": "488c651e-9d4c-489a-8051-781d81935e85",
        "steps": [
          {
            "automationLabel": "Update Patient Payment",
            "id": "f723cbc6-58b1-40a0-98b5-fbb88eaba894",
            "options": [
              {
                "enabled": false,
                "label": "Format with \"$\"",
                "name": "FORMAT_INPUT_WITH_DOLLAR"
              }
            ],
            "path": "//iframe[@id=\"workspace\"]//input[@id=\"patientPaymentField\"]",
            "placementOption": {
              "label": "Replace",
              "value": "replace"
            },
            "transactionApprovalSetting": {
              "label": "Total Amount",
              "value": "AMOUNT"
            },
            "type": {
              "label": "Input",
              "value": "input"
            },
            "useTransactionApproval": true,
            "value": ""
          },
          {
            "automationLabel": "Add Payment Comment",
            "id": "8a5c242a-975a-46d5-b63a-e79926e80714",
            "isSkip": true,
            "options": [
              {
                "enabled": false,
                "label": "Format with \"$\"",
                "name": "FORMAT_INPUT_WITH_DOLLAR"
              }
            ],
            "path": "//iframe[@id=\"workspace\"]//input[@id=\"commentField\"]",
            "placementOption": {
              "label": "Replace",
              "value": "replace"
            },
            "type": {
              "label": "Input",
              "value": "input"
            },
            "useTransactionApproval": false,
            "value": "Payment was processed by PayJunction. Transaction ID: {{transactionId}}"
          }
        ],
        "type": "CHARGE"
      }
    }
  }
}