{
  "integrations": {
    "660d7218-2453-4f0b-b9ac-ad6974ac4ade": {
      "action": {
        "label": "Charge",
        "labelReady": "Charged",
        "value": "CHARGE"
      },
      "createdAt": 0,
      "domain": "https://*.clearcareonline.com/accounting/billing/receivables/payment/",
      "id": "660d7218-2453-4f0b-b9ac-ad6974ac4ade",
      "isAuto": true,
      "isAutoClose": false,
      "isAutoRunAutomation": true,
      "matchElement": {
        "attribute": null
      },
      "name": "Wellsky",
      "paths": {
        "address": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "company_name": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "customer_id": {
          "attribute": {
            "label": "href",
            "value": "href"
          },
          "regex": "^/profile/([\\d]*)",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//tr[contains(@class,\"ant-table-row\")]/td[4]/a[1]"
        },
        "email": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "first_name": {
          "regex": "\\b(\\w+)$",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//div[contains(@class,\"ant-select-selection-selected-value\")]"
        },
        "invoice_number": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "last_name": {
          "regex": "^\\W*([\\w]+)",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//div[contains(@class,\"ant-select-selection-selected-value\")]"
        },
        "note": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "phone": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "purchase_number": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "transaction_amount": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//input[@placeholder=\"Payment Amount\"]"
        },
        "zip": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        }
      }
    },
    "93922c76-8111-4146-962b-0b211ff38f12": {
      "action": {
        "label": "Charge",
        "labelReady": "Charged",
        "value": "CHARGE"
      },
      "createdAt": 0,
      "domain": "https://*.clearcareonline.com/accounting/billing/receivables/refund/",
      "id": "93922c76-8111-4146-962b-0b211ff38f12",
      "isAuto": true,
      "isAutoClose": false,
      "isAutoRunAutomation": true,
      "matchElement": {
        "attribute": null
      },
      "name": "Wellsky - Refunds",
      "paths": {
        "address": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "company_name": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "customer_id": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "email": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "first_name": {
          "regex": "\\b(\\w+)$",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//a[contains(@class,\"chzn-single\")]/span[1]"
        },
        "invoice_number": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "last_name": {
          "regex": "^\\W*([\\w]+)",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//a[contains(@class,\"chzn-single\")]/span[1]"
        },
        "note": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "phone": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "purchase_number": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "transaction_amount": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "zip": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        }
      }
    }
  },
  "steps": {
    "660d7218-2453-4f0b-b9ac-ad6974ac4ade": {
      "0c7579cc-3681-4ac3-aa02-5f206c1373af": {
        "domain": "https://abcsanantonio.clearcareonline.com/accounting/billing/receivables/payment/",
        "id": "0c7579cc-3681-4ac3-aa02-5f206c1373af",
        "integrationId": "660d7218-2453-4f0b-b9ac-ad6974ac4ade",
        "steps": [
          {
            "automationLabel": "Amount",
            "chosen": false,
            "id": "8caf87dd-419e-41e4-9b22-16f969246886",
            "path": "//input[@placeholder=\"Payment Amount\"]",
            "selected": false,
            "transactionApprovalSetting": {
              "label": "Base Amount",
              "value": "BASE_AMOUNT"
            },
            "type": {
              "label": "Input",
              "value": "input"
            },
            "useTransactionApproval": true,
            "value": ""
          },
          {
            "automationLabel": "Apply",
            "chosen": false,
            "id": "5ad68c35-917f-43c3-8fdf-fc57152ffa5a",
            "path": "//button[contains(@class,\"ant-btn-dashed\")]",
            "selected": false,
            "transactionPaymentTypeSettings": {},
            "type": {
              "label": "Click",
              "value": "click"
            },
            "value": ""
          },
          {
            "automationLabel": "Description",
            "chosen": false,
            "id": "d9a018fc-1bde-4423-8726-27aad78c0b34",
            "path": "//form[@id=\"paymentForm\"]/div[2]/div[3]/div[1]/div[2]/div[1]/span[1]/textarea[1]",
            "selected": false,
            "type": {
              "label": "Input",
              "value": "input"
            },
            "value": "PJ: {{lastModified}} {{vault.type}} ID:{{transactionId}} : Surcharge: {{amountSurcharge}}"
          },
          {
            "automationLabel": "Payment Method",
            "chosen": false,
            "id": "cc2253cb-d609-4694-97bf-b6ba2037549c",
            "path": "//form[@id=\"paymentForm\"]/div[2]/div[1]/div[1]/div[2]/div[1]/span[1]/select[1]",
            "selected": false,
            "transactionPaymentTypeSettings": {
              "AMERICAN_EXPRESS": {
                "label": "American Express",
                "value": "6"
              },
              "CHECKING": {
                "label": "Check",
                "value": "1"
              },
              "DEBIT": {
                "label": "Debit Card",
                "value": "9"
              },
              "DINERS": {
                "label": "None",
                "value": "NONE"
              },
              "DISCOVER": {
                "label": "Discover",
                "value": "7"
              },
              "GENERAL_LEDGER": {
                "label": "None",
                "value": "NONE"
              },
              "JCB": {
                "label": "Discover",
                "value": "7"
              },
              "MASTERCARD": {
                "label": "MasterCard",
                "value": "2"
              },
              "SAVINGS": {
                "label": "Check",
                "value": "1"
              },
              "UNKNOWN": {
                "label": "Visa",
                "value": "8"
              },
              "VISA": {
                "label": "Visa",
                "value": "8"
              }
            },
            "type": {
              "label": "Dropdown",
              "value": "dropdown"
            },
            "useTransactionPaymentType": true,
            "value": null
          },
          {
            "automationLabel": "Payment Type",
            "chosen": false,
            "id": "080240c7-9c16-4f99-a024-7dc122ea7022",
            "path": "//form[@id=\"paymentForm\"]/div[3]/div[1]/div[1]/div[2]/div[1]/span[1]/select[1]",
            "selected": false,
            "transactionPaymentTypeSettings": {},
            "type": {
              "label": "Dropdown",
              "value": "dropdown"
            },
            "value": {
              "label": "Payment",
              "value": "2000"
            }
          }
        ],
        "type": "CHARGE"
      }
    },
    "93922c76-8111-4146-962b-0b211ff38f12": {
      "3c30fed7-58c7-4295-aa39-92fc701138f5": {
        "domain": "https://abcsanantonio.clearcareonline.com/accounting/billing/receivables/refund/",
        "id": "3c30fed7-58c7-4295-aa39-92fc701138f5",
        "integrationId": "93922c76-8111-4146-962b-0b211ff38f12",
        "steps": [
          {
            "chosen": false,
            "id": "21c7af9c-b3b7-4068-adab-c7f77aed0e33",
            "path": "//input[@ng-model=\"form.amount\"]",
            "selected": false,
            "transactionApprovalSetting": {
              "label": "Total Amount",
              "value": "AMOUNT"
            },
            "type": {
              "label": "Input",
              "value": "input"
            },
            "useTransactionApproval": true,
            "value": ""
          },
          {
            "chosen": false,
            "id": "67361455-7eaf-4da7-847c-db9323c9de22",
            "path": "//input[contains(@class,\"apply_butn\")]",
            "selected": false,
            "type": {
              "label": "Click",
              "value": "click"
            },
            "value": ""
          },
          {
            "id": "ffe68509-356a-400e-ab45-6dafa887c7f2",
            "path": "//select[@ng-model=\"form.refund_method\"]",
            "transactionPaymentTypeSettings": {
              "AMERICAN_EXPRESS": {
                "label": "American Express",
                "value": "6"
              },
              "CHECKING": {
                "label": "None",
                "value": "NONE"
              },
              "DINERS": {
                "label": "None",
                "value": "NONE"
              },
              "DISCOVER": {
                "label": "Discover",
                "value": "7"
              },
              "GENERAL_LEDGER": {
                "label": "None",
                "value": "NONE"
              },
              "JCB": {
                "label": "None",
                "value": "NONE"
              },
              "MASTERCARD": {
                "label": "MasterCard",
                "value": "2"
              },
              "SAVINGS": {
                "label": "None",
                "value": "NONE"
              },
              "VISA": {
                "label": "Visa",
                "value": "8"
              }
            },
            "type": {
              "label": "Dropdown",
              "value": "dropdown"
            },
            "useTransactionPaymentType": true,
            "value": null
          },
          {
            "id": "652273cd-1391-4495-9297-98cb784c94a1",
            "path": "//textarea[@ng-model=\"form.description\"]",
            "transactionApprovalSetting": {
              "label": "Transaction ID",
              "value": "TRANSACTION_ID"
            },
            "type": {
              "label": "Input",
              "value": "input"
            },
            "useTransactionApproval": true,
            "value": ""
          },
          {
            "id": "732e085b-83b5-497d-bf5d-f71fc4f76452",
            "path": "//div[contains(@class,\"primary\")]",
            "type": {
              "label": "Click",
              "value": "click"
            },
            "value": ""
          }
        ],
        "type": "CHARGE"
      }
    }
  }
}