{
  "integrations": {
    "fdf5bc48-54b8-4f63-b546-ab179e420756": {
      "action": {
        "label": "Charge",
        "labelReady": "Charged",
        "value": "CHARGE"
      },
      "createdAt": 1713896300830,
      "domain": "https://secure.athenahealthpayment.com/*/*/epayment/collectepayment.esp?",
      "id": "fdf5bc48-54b8-4f63-b546-ab179e420756",
      "isAuto": true,
      "isAutoClose": false,
      "isAutoRunAutomation": true,
      "matchElement": {
        "attribute": null,
        "isEnabled": false,
        "matchingValue": "",
        "xPath": ""
      },
      "name": "Athena Health",
      "paths": {
        "address": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "company_name": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "customer_id": {
          "attribute": null,
          "regex": "#(\\d+)$",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//div[contains(@class,\"Heading\")]"
        },
        "email": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "first_name": {
          "regex": ", (\\S+)",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//div[contains(@class,\"Heading\")]"
        },
        "invoice_number": {
          "attribute": null,
          "regex": "",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "last_name": {
          "attribute": null,
          "regex": "Collect Payment: (\\S+),",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//div[contains(@class,\"Heading\")]"
        },
        "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[@name=\"OTHERPAYMENT\"]"
        },
        "zip": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        }
      }
    }
  },
  "steps": {
    "fdf5bc48-54b8-4f63-b546-ab179e420756": {
      "3758b0ec-cb8b-4c02-9bd9-b40d1dde8021": {
        "id": "3758b0ec-cb8b-4c02-9bd9-b40d1dde8021",
        "integrationId": "fdf5bc48-54b8-4f63-b546-ab179e420756",
        "steps": [
          {
            "automationLabel": "Amount",
            "id": "0af5b9ee-6fe4-4d41-aff3-6b577ae00dc6",
            "path": "//input[@name=\"OTHERPAYMENT\"]",
            "transactionApprovalSetting": {
              "label": "Base Amount",
              "value": "BASE_AMOUNT"
            },
            "type": {
              "label": "Input",
              "value": "input"
            },
            "useTransactionApproval": true,
            "value": ""
          },
          {
            "automationLabel": "Payment Type",
            "id": "659cf8e0-1b88-461c-b39d-c44c8fa90362",
            "path": "//select[@id=\"MODE\"]",
            "transactionPaymentTypeSettings": {},
            "type": {
              "label": "Dropdown",
              "value": "dropdown"
            },
            "value": {
              "label": "Cash / Other ",
              "value": "CASH"
            }
          },
          {
            "automationLabel": "Payment Method",
            "id": "4b729905-5fb8-4c26-97ae-02fe32201da4",
            "path": "//select[@id=\"PAYMENTMETHODID\"]",
            "transactionPaymentTypeSettings": {
              "AMERICAN_EXPRESS": {
                "label": "American Express",
                "value": "AMEX"
              },
              "CHECKING": {
                "label": "None",
                "value": "NONE_pj_extension_value"
              },
              "DEBIT": {
                "label": "None",
                "value": "NONE_pj_extension_value"
              },
              "DINERS": {
                "label": "None",
                "value": "NONE_pj_extension_value"
              },
              "DISCOVER": {
                "label": "Discover",
                "value": "DISCOVER"
              },
              "GENERAL_LEDGER": {
                "label": "None",
                "value": "NONE_pj_extension_value"
              },
              "JCB": {
                "label": "None",
                "value": "NONE_pj_extension_value"
              },
              "MASTERCARD": {
                "label": "MasterCard and Visa",
                "value": "MC/VISA"
              },
              "SAVINGS": {
                "label": "None",
                "value": "NONE_pj_extension_value"
              },
              "UNKNOWN": {
                "label": "None",
                "value": "NONE_pj_extension_value"
              },
              "VISA": {
                "label": "MasterCard and Visa",
                "value": "MC/VISA"
              }
            },
            "type": {
              "label": "Dropdown",
              "value": "dropdown"
            },
            "useTransactionPaymentType": true,
            "value": null
          },
          {
            "automationLabel": "Last 4",
            "id": "a64f7399-0a1a-4cc9-929c-894cd465e9ec",
            "path": "//input[@id=\"PAYMENTCHECKCCNUMBERID\"]",
            "transactionApprovalSetting": {
              "label": "Last Four Digits of Card",
              "value": "LAST_FOUR_DIGITS"
            },
            "type": {
              "label": "Input",
              "value": "input"
            },
            "useTransactionApproval": true,
            "value": ""
          }
        ],
        "type": "CHARGE"
      }
    }
  }
}