Point to Point Pricing

JSON Source Code

{
    "event": "before_booking",
    "conditions": {
        "0": {
            "command": "pickup_text",
            "operator": "contains",
            "value": "Surbiton Train Station"
        },
        "1": {
            "command": "dropoff_text",
            "operator": "contains",
            "value": "Gatwick Airport"
        },
        "match": "all",
        "frequency": "unlimited"
    },
    "actions": {
        "0": {
            "command": "change_mile_fee",
            "operator": "equals",
            "value": "50.00"
        },
        "1": {
            "command": "change_minute_fee",
            "operator": "equals",
            "value": "0.00"
        },
        "2": {
            "command": "change_pickup_fee",
            "operator": "equals",
            "value": "0.00"
        }
    }
}