{
  "integrations": {
    "413514d7-aa4d-45c4-abab-6edae1c96f91": {
      "action": {
        "label": "Charge",
        "labelReady": "Charged",
        "value": "CHARGE"
      },
      "createdAt": 1707243334121,
      "domain": "https://clinichq.com/checkout/#/appointment/*/financial",
      "id": "413514d7-aa4d-45c4-abab-6edae1c96f91",
      "isAuto": true,
      "matchElement": {
        "attribute": null,
        "isEnabled": false,
        "matchingValue": "",
        "xPath": ""
      },
      "name": "ClinicHq",
      "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": "\\|\\s+(\\w+)",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//div[contains(@class,\"col-md-9\")]/div[1]/div[2]/div[1]/ng-include[1]/div[1]/div[1]/h4[1]"
        },
        "invoice_number": {
          "attribute": null,
          "regex": "\\d+",
          "type": {
            "label": "URL",
            "value": "url"
          },
          "value": {
            "label": "hash (#/appointment/32194703/financial)",
            "value": "href:hash"
          }
        },
        "last_name": {
          "regex": "(\\w+)$",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//div[contains(@class,\"col-md-9\")]/div[1]/div[2]/div[1]/ng-include[1]/div[1]/div[1]/h4[1]"
        },
        "note": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//div[contains(@class,\"col-md-9\")]/div[1]/div[2]/div[1]/ng-include[1]/div[1]/div[1]/h4[1]"
        },
        "phone": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "purchase_number": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "transaction_amount": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//strong[@id=\"labelRemainderDue\"]"
        },
        "zip": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        }
      }
    }
  },
  "steps": {
    "413514d7-aa4d-45c4-abab-6edae1c96f91": {
      "74f7f50c-8e85-4bb7-a14c-e1b2a762f263": {
        "id": "74f7f50c-8e85-4bb7-a14c-e1b2a762f263",
        "integrationId": "413514d7-aa4d-45c4-abab-6edae1c96f91",
        "steps": [
          {
            "automationLabel": "Select Payment Button",
            "id": "33791da3-3a5b-4e60-8091-4870f293387f",
            "path": "//button[contains(@class,\"payment-form-card-manual\")]",
            "transactionPaymentTypeSettings": {
              "AMERICAN_EXPRESS": {
                "path": ""
              },
              "CHECKING": {
                "path": ""
              },
              "DEBIT": {
                "path": ""
              },
              "DINERS": {
                "path": ""
              },
              "DISCOVER": {
                "path": ""
              },
              "GENERAL_LEDGER": {
                "path": ""
              },
              "JCB": {
                "path": ""
              },
              "MASTERCARD": {
                "path": ""
              },
              "SAVINGS": {
                "path": ""
              },
              "UNKNOWN": {
                "path": ""
              },
              "VISA": {
                "path": ""
              }
            },
            "type": {
              "label": "Click",
              "value": "click"
            },
            "value": ""
          },
          {
            "automationLabel": "Payment Type Chooser",
            "id": "b37363b9-f605-4722-9130-fb36303be05c",
            "path": "//select[@ng-model=\"payment.ccType\"]",
            "transactionPaymentTypeSettings": {
              "AMERICAN_EXPRESS": {
                "label": "American Express",
                "value": "string:American Express"
              },
              "CHECKING": {
                "label": "None",
                "value": "NONE_pj_extension_value"
              },
              "DEBIT": {
                "label": "Debit",
                "value": "string:Debit"
              },
              "DINERS": {
                "label": "Other",
                "value": "string:Other"
              },
              "DISCOVER": {
                "label": "Discover",
                "value": "string:Discover"
              },
              "GENERAL_LEDGER": {
                "label": "Other",
                "value": "string:Other"
              },
              "JCB": {
                "label": "Other",
                "value": "string:Other"
              },
              "MASTERCARD": {
                "label": "MasterCard",
                "value": "string:MasterCard"
              },
              "SAVINGS": {
                "label": "None",
                "value": "NONE_pj_extension_value"
              },
              "UNKNOWN": {
                "label": "Other",
                "value": "string:Other"
              },
              "VISA": {
                "label": "Visa",
                "value": "string:Visa"
              }
            },
            "type": {
              "label": "Dropdown",
              "value": "dropdown"
            },
            "useTransactionPaymentType": true,
            "value": null
          },
          {
            "automationLabel": "Last 4",
            "id": "9f8a2252-fabe-4630-be23-c4b50173c594",
            "path": "//input[@ng-model=\"payment.ccDigits\"]",
            "transactionApprovalSetting": {
              "label": "Last Four Digits of Card",
              "value": "LAST_FOUR_DIGITS"
            },
            "type": {
              "label": "Input",
              "value": "input"
            },
            "useTransactionApproval": true,
            "value": ""
          },
          {
            "automationLabel": "Notes",
            "id": "21e384ed-8c1e-42a2-97b7-62f92335397f",
            "path": "//textarea[@ng-model=\"payment.note\"]",
            "type": {
              "label": "Input",
              "value": "input"
            },
            "value": "PayJunction Transaction"
          },
          {
            "automationLabel": "Amount",
            "id": "92a62e04-5112-4f2e-87d9-30fb013ecc23",
            "path": "//input[@ng-model=\"payment.amount\"]",
            "transactionApprovalSetting": {
              "label": "Total Amount",
              "value": "AMOUNT"
            },
            "type": {
              "label": "Input",
              "value": "input"
            },
            "useTransactionApproval": true,
            "value": ""
          }
        ],
        "type": "CHARGE"
      }
    }
  }
}