{
  "integrations": {
    "cc40c9c1-d7b7-4185-86ac-db8293643719": {
      "action": {
        "label": "Charge",
        "labelReady": "Charged",
        "value": "CHARGE"
      },
      "avs": {
        "label": "Bypass",
        "value": "BYPASS"
      },
      "createdAt": 1744222360137,
      "cvvSettings": {
        "label": "Enable",
        "value": "enable"
      },
      "domain": "https://*.zenoti.com/Appointment/DlgAppointment1.aspx?*takepayment=1*",
      "id": "cc40c9c1-d7b7-4185-86ac-db8293643719",
      "isAuto": true,
      "isAutoClose": true,
      "isAutoRunAutomation": true,
      "matchElement": {
        "attribute": null,
        "isEnabled": false,
        "matchingValue": "",
        "xPath": ""
      },
      "name": "Zenoti Payment",
      "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": {
          "attribute": null,
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//a[@id=\"spGuestName\"]",
          "visibility": {
            "label": "Hide",
            "value": "hide"
          }
        },
        "email": {
          "regex": "",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "label": "Display",
            "value": "display"
          }
        },
        "first_name": {
          "regex": "^(\\w+)",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//a[@id=\"spGuestName\"]",
          "visibility": {
            "label": "Display",
            "value": "display"
          }
        },
        "invoice_number": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//span[@id=\"spRcptNo\"]",
          "visibility": {
            "label": "Display",
            "value": "display"
          }
        },
        "last_name": {
          "regex": "(\\w+)$",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//a[@id=\"spGuestName\"]",
          "visibility": {
            "label": "Display",
            "value": "display"
          }
        },
        "note": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "label": "Display",
            "value": "display"
          }
        },
        "phone": {
          "regex": "(\\d+)$",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//div[@id=\"divGuestContact\"]",
          "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": "//table[@id=\"tblrdm\"]/tbody[1]/tr[3]/td[4]",
          "visibility": {
            "label": "Display",
            "value": "display"
          }
        },
        "zip": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "label": "Display",
            "value": "display"
          }
        }
      }
    }
  },
  "steps": {
    "cc40c9c1-d7b7-4185-86ac-db8293643719": {
      "6f82fcc3-5dbc-47f7-a62b-4ee561301958": {
        "id": "6f82fcc3-5dbc-47f7-a62b-4ee561301958",
        "integrationId": "cc40c9c1-d7b7-4185-86ac-db8293643719",
        "steps": [
          {
            "automationLabel": "Choose Custom",
            "id": "09a4c0ad-eb98-4994-b9e7-3b06ddde47b8",
            "path": "//span[text()=\"custom\"]",
            "transactionPaymentTypeSettings": {},
            "type": {
              "label": "Click",
              "value": "click"
            },
            "value": ""
          },
          {
            "automationLabel": "Amount",
            "id": "7b1668d0-aa5b-40af-a59f-99f598f9d7bc",
            "options": [
              {
                "enabled": false,
                "label": "Format with \"$\"",
                "name": "FORMAT_INPUT_WITH_DOLLAR"
              }
            ],
            "path": "//input[@id=\"idamt\"]",
            "placementOption": {
              "label": "Replace",
              "value": "replace"
            },
            "transactionApprovalSetting": {
              "label": "Base Amount",
              "value": "BASE_AMOUNT"
            },
            "type": {
              "label": "Input",
              "value": "input"
            },
            "useTransactionApproval": true,
            "value": ""
          },
          {
            "automationLabel": "Tip",
            "id": "a2ca7373-b769-4dea-a5d1-e1e994f567b0",
            "isSkip": true,
            "options": [
              {
                "enabled": false,
                "label": "Format with \"$\"",
                "name": "FORMAT_INPUT_WITH_DOLLAR"
              }
            ],
            "path": "//input[@id=\"idtip\"]",
            "placementOption": {
              "label": "Replace",
              "value": "replace"
            },
            "transactionApprovalSetting": {
              "label": "Tip Amount",
              "value": "AMOUNT_TIP"
            },
            "type": {
              "label": "Input",
              "value": "input"
            },
            "useTransactionApproval": true,
            "value": ""
          },
          {
            "automationLabel": "Payment Data",
            "id": "ad7e0e3d-afa7-4fc0-8558-ffed58ee9325",
            "isSkip": false,
            "path": "//tr[@id=\"trBankName\"]//select[@id=\"selAgents\"]/following-sibling::div",
            "transactionPaymentTypeSettings": {},
            "type": {
              "label": "Click",
              "value": "click"
            },
            "value": ""
          },
          {
            "automationLabel": "Search Pay Junction",
            "id": "ad62bfed-edee-4845-8c9c-00c8110e1b14",
            "isSkip": false,
            "options": [
              {
                "enabled": false,
                "label": "Format with \"$\"",
                "name": "FORMAT_INPUT_WITH_DOLLAR"
              }
            ],
            "path": "//tr[@id=\"trBankName\"]//input[@class=\"chosen-search-input\"]",
            "placementOption": {
              "label": "Replace",
              "value": "replace"
            },
            "type": {
              "label": "Input",
              "value": "input"
            },
            "value": "Pay Junction"
          },
          {
            "automationLabel": "Choose Pay Junction",
            "id": "8a0b3930-d31e-4732-9af7-261d402956fe",
            "isSkip": false,
            "path": "//tr[@id=\"trBankName\"]//em[contains(text(), \"Pay Junction\")]",
            "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": "Add Payment",
            "id": "2dbf5c97-b5fd-4bda-98a7-288259a8f842",
            "path": "//td[@class=\"add_payment\"]//button[@id=\"addpayment\"]",
            "transactionPaymentTypeSettings": {},
            "type": {
              "label": "Click",
              "value": "click"
            },
            "value": ""
          }
        ],
        "type": "CHARGE"
      }
    }
  }
}