{
  "integrations": {
    "b5c27ecd-ac70-498c-88cb-6870bf0f3af9": {
      "action": {
        "value": "CHARGE",
        "label": "Charge",
        "labelReady": "Charged"
      },
      "avs": {
        "value": "ZIP",
        "label": "Match Zip"
      },
      "createdAt": 1738177939725,
      "cvvSettings": {
        "label": "Enable",
        "value": "enable"
      },
      "domain": "https://app.suno.tech/patients/*/billing/*/refund/new",
      "id": "b5c27ecd-ac70-498c-88cb-6870bf0f3af9",
      "isAutoClose": true,
      "name": "Suno Refund",
      "paths": {
        "transaction_amount": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//input[@id=\"amount\"]",
          "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": "",
          "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": "//div[@data-testid=\"patient-profile-header-expanded-details\"][1]",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "last_name": {
          "regex": "(\\w+)$",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//div[@data-testid=\"patient-profile-header-expanded-details\"][1]",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "customer_id": {
          "attribute": null,
          "regex": "",
          "type": {
            "label": "URL",
            "value": "url"
          },
          "value": {
            "label": "path: 674122",
            "value": "pathname:1"
          },
          "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": "",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "phone": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "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,
      "matchElement": {
        "isEnabled": false,
        "xPath": "",
        "matchingValue": "",
        "attribute": null
      }
    },
    "cea49a07-84b0-42fe-abaa-c9ceb38a2aca": {
      "action": {
        "value": "CHARGE",
        "label": "Charge",
        "labelReady": "Charged"
      },
      "avs": {
        "value": "ZIP",
        "label": "Match Zip"
      },
      "createdAt": 1737670398348,
      "cvvSettings": {
        "label": "Enable",
        "value": "enable"
      },
      "domain": "https://app.suno.tech/patients/*/billing/*/payment",
      "id": "cea49a07-84b0-42fe-abaa-c9ceb38a2aca",
      "isAutoClose": true,
      "matchElement": {
        "attribute": null,
        "isEnabled": true,
        "matchingValue": "Post Payment",
        "xPath": "//div[contains(@data-testid,\"patient-details-title\")]"
      },
      "name": "Suno",
      "paths": {
        "transaction_amount": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//input[@id=\"amount\"]",
          "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": "",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "purchase_number": {
          "attribute": null,
          "regex": "",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "first_name": {
          "regex": "(\\w+) ",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//div[@data-testid=\"patient-profile-header-expanded-details\"][1]",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "last_name": {
          "regex": " (\\w+)$",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//div[@data-testid=\"patient-profile-header-expanded-details\"][1]",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "customer_id": {
          "attribute": null,
          "regex": "",
          "type": {
            "label": "URL",
            "value": "url"
          },
          "value": {
            "label": "path: 598481",
            "value": "pathname:1"
          },
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "company_name": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "email": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "phone": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "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": {
    "8a8c8481-529f-458a-8e95-3f89bf885183": {
      "3f936fc4-f4fc-45e5-aad4-3d39dd691f92": {
        "id": "3f936fc4-f4fc-45e5-aad4-3d39dd691f92",
        "integrationId": "8a8c8481-529f-458a-8e95-3f89bf885183",
        "steps": [
          {
            "id": "b58d0a1c-152a-4291-a1dc-b77fdf86dcab",
            "path": "//div[contains(@class,\"grid-submit\")]/input[1]",
            "type": {
              "value": "click",
              "label": "Click"
            },
            "value": ""
          }
        ],
        "type": "INVOICE"
      }
    },
    "b5c27ecd-ac70-498c-88cb-6870bf0f3af9": {
      "1423dbe2-b222-4540-97f2-dcd4aef87969": {
        "id": "1423dbe2-b222-4540-97f2-dcd4aef87969",
        "integrationId": "b5c27ecd-ac70-498c-88cb-6870bf0f3af9",
        "steps": [
          {
            "automationLabel": "Amount",
            "id": "50bcc0ae-b958-420b-842e-be28182ae4b9",
            "options": [],
            "path": "//input[@id=\"amount\"]",
            "placementOption": {
              "label": "Replace",
              "value": "replace"
            },
            "transactionApprovalSetting": {
              "label": "Base Amount",
              "value": "BASE_AMOUNT"
            },
            "type": {
              "value": "input",
              "label": "Input"
            },
            "useTransactionApproval": true,
            "value": ""
          },
          {
            "automationLabel": "Method",
            "id": "6aa6bd55-e9e6-43e9-b346-2a9547dadf68",
            "path": "//div[contains(@id,\"method\")]",
            "type": {
              "value": "dropdown",
              "label": "Dropdown"
            },
            "value": {
              "label": "Other",
              "value": "Other"
            }
          },
          {
            "automationLabel": "Description",
            "id": "ad9805e8-8115-44e4-8360-964c83f4a1ad",
            "options": [],
            "path": "//input[@id=\"description\"]",
            "placementOption": {
              "label": "Replace",
              "value": "replace"
            },
            "type": {
              "value": "input",
              "label": "Input"
            },
            "value": "PJ Approval Code:  {{response.processor.approvalCode}} | {{vault.accountType}} {{vault.lastFour}}"
          }
        ],
        "type": "REFUND"
      }
    },
    "cea49a07-84b0-42fe-abaa-c9ceb38a2aca": {
      "e82f949f-0d0f-42a6-965e-147e8b9b0e91": {
        "id": "e82f949f-0d0f-42a6-965e-147e8b9b0e91",
        "integrationId": "cea49a07-84b0-42fe-abaa-c9ceb38a2aca",
        "steps": [
          {
            "automationLabel": "Amount",
            "id": "13a94e89-631e-4b34-bccb-4fab0158f912",
            "options": [],
            "path": "//input[@id=\"amount\"]",
            "placementOption": {
              "label": "Replace",
              "value": "replace"
            },
            "transactionApprovalSetting": {
              "label": "Base Amount",
              "value": "BASE_AMOUNT"
            },
            "type": {
              "value": "input",
              "label": "Input"
            },
            "useTransactionApproval": true,
            "value": ""
          },
          {
            "automationLabel": "Payment Method",
            "id": "8d587f34-b44f-4024-89f8-9176f700fdcc",
            "path": "//div[contains(@id,\"method\")]",
            "type": {
              "value": "dropdown",
              "label": "Dropdown"
            },
            "value": {
              "label": "Other",
              "value": "Other"
            }
          },
          {
            "automationLabel": "Reference",
            "id": "d34df302-e5c4-4b32-b88a-08116931f056",
            "options": [],
            "path": "//input[@id=\"payment-reference\"]",
            "placementOption": {
              "label": "Replace",
              "value": "replace"
            },
            "transactionApprovalSetting": {
              "label": "Transaction ID",
              "value": "TRANSACTION_ID"
            },
            "type": {
              "value": "input",
              "label": "Input"
            },
            "value": "PJ ID: {{transactionId}}"
          },
          {
            "automationLabel": "Note",
            "id": "a51c2dc3-a0e6-46d6-b137-eb722178a1d5",
            "options": [],
            "path": "//input[@id=\"description\"]",
            "placementOption": {
              "label": "Replace",
              "value": "replace"
            },
            "type": {
              "value": "input",
              "label": "Input"
            },
            "value": "PJ Approval Code:  {{response.processor.approvalCode}} | {{vault.accountType}} {{vault.lastFour}}"
          }
        ],
        "type": "CHARGE"
      }
    }
  }
}