{
  "integrations": {
    "f029c372-31d8-44e2-b76c-5a6ab6320d70": {
      "action": {
        "value": "CHARGE",
        "label": "Charge",
        "labelReady": "Charged"
      },
      "avs": {
        "value": "ZIP",
        "label": "Match Zip"
      },
      "createdAt": 1761853292935,
      "cvvSettings": {
        "label": "Enable",
        "value": "enable"
      },
      "domain": "https://*.janeapp.com/*#patients/*",
      "id": "f029c372-31d8-44e2-b76c-5a6ab6320d70",
      "isAutoClose": true,
      "matchElement": {
        "attribute": null,
        "isEnabled": true,
        "matchingValue": "Payjunction Credit Card",
        "xPath": "//div[@class=\"list-view\"]/*"
      },
      "name": "JaneApp - Payment",
      "paths": {
        "transaction_amount": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//div[@data-testid=\"payment_method_amount__payjunction_credit card\"]//input",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "tax": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "invoice_number": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//li[contains(@class,\"patient-info\")]/strong[1]/span[1]",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "purchase_number": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "value": "hide",
            "label": "Hide"
          }
        },
        "first_name": {
          "regex": "^(\\w+)",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//li[contains(@class,\"patient-info\")]/strong[1]/span[1]",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "last_name": {
          "regex": "(\\w+)$",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//li[contains(@class,\"patient-info\")]/strong[1]/span[1]",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "customer_id": {
          "attribute": null,
          "regex": "patients/(\\d+)",
          "type": {
            "label": "URL",
            "value": "url"
          },
          "value": {
            "label": "hash (#patients/6330)",
            "value": "href:hash"
          },
          "visibility": {
            "value": "hide",
            "label": "Hide"
          }
        },
        "company_name": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "value": "hide",
            "label": "Hide"
          }
        },
        "email": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//li[contains(@class,\"patient-info\")]/a[1]",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "phone": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//a[contains(@href,\"tel\")]",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "address": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "zip": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "note": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        }
      },
      "isAuto": true,
      "isAutoRunAutomation": true
    }
  },
  "steps": {
    "f029c372-31d8-44e2-b76c-5a6ab6320d70": {
      "d1ca98a9-88a8-4a56-89df-89a1ff84870e": {
        "id": "d1ca98a9-88a8-4a56-89df-89a1ff84870e",
        "integrationId": "f029c372-31d8-44e2-b76c-5a6ab6320d70",
        "steps": [
          {
            "automationLabel": "Amount",
            "id": "5b4e18a4-75d4-4d2a-90d2-61cd5e47404d",
            "options": [],
            "path": "//div[@data-testid=\"payment_method_amount__payjunction_credit card\"]//input",
            "placementOption": {
              "label": "Replace",
              "value": "replace"
            },
            "transactionApprovalSetting": {
              "label": "Base Amount",
              "value": "BASE_AMOUNT"
            },
            "type": {
              "value": "input",
              "label": "Input"
            },
            "useTransactionApproval": true,
            "value": ""
          },
          {
            "automationLabel": "Click Details",
            "id": "20f13767-06ab-43d9-acfd-a0121fa3b9fc",
            "isSkip": false,
            "path": "//h3[text()=\"Payjunction Credit Card\"]/following-sibling::div/a",
            "type": {
              "value": "click",
              "label": "Click"
            },
            "value": ""
          },
          {
            "automationLabel": "Reference Number",
            "id": "2ea86ce7-e609-465d-88e2-e1cfdb351e25",
            "options": [],
            "path": "//h3[text()=\"Payjunction Credit Card\"]/following-sibling::div/following-sibling::div//input[@name=\"reference_number\"]",
            "placementOption": {
              "label": "Replace",
              "value": "replace"
            },
            "transactionApprovalSetting": {
              "label": "Transaction ID",
              "value": "TRANSACTION_ID"
            },
            "type": {
              "value": "input",
              "label": "Input"
            },
            "useTransactionApproval": true,
            "value": ""
          },
          {
            "automationLabel": "Wait",
            "id": "ec17f88d-15e1-404e-b161-b96d416afb66",
            "isSkip": false,
            "path": "//body",
            "type": {
              "value": "wait",
              "label": "Wait"
            },
            "value": 200
          },
          {
            "automationLabel": "Click Pay",
            "id": "60c8f0b6-e32d-4365-97f6-114f37001296",
            "isSkip": false,
            "path": "//div[contains(@class,\"pay-buttons\")]/div[1]/button[@data-testid=\"pay_button\"]",
            "type": {
              "value": "click",
              "label": "Click"
            },
            "value": null
          }
        ],
        "type": "CHARGE"
      }
    }
  }
}