British Captain and novelist Edgar Brodie (Gielgud) returns home on leave during the First World War, only to discover his obituary in the newspaper. He is brought to a man identifying himself only as "R", who asks him to undertake a secret mission: to identify and eliminate a German agent on his way to Arabia to stir up trouble in the Middle East. Upon agreeing, Brodie is given a new identity (Richard Ashenden), a fake death, and the assistance of a killer known variously as "the Hairless Mexican" and "the General" (Lorre), though he is neither bald, Mexican or a general.
Brodie's late "predecessor" thought that the enemy agent was staying at the Hotel Excelsior in neutral Switzerland. When "Ashenden" arrives there, he is surprised to find that "R" has also provided him with an attractive wife, Elsa Carrington (Carroll). Entering their suite, he also encounters her new admirer, fellow hotel guest Robert Marvin (Young), who is only slightly deterred by the arrival of her husband (and continues to flirt with Elsa for much of the film). When they are alone, Ashenden is displeased when Elsa reveals she insisted upon the assignment for the thrill of it.
Ashenden and the General go to contact a double agent, the church organist, only to find him dead. In his hand, however, they find a button, evidently torn off in the struggle. When they go to the casino to meet Elsa, the button is accidentally dropped onto a gambling table. Since it looks the same as his own buttons, an experienced mountaineer named Caypor assumes it is his.
The agents persuade Caypor to help them settle a concocted bet: which one of them can climb higher on a nearby mountain. As the moment approaches, Ashenden finds he is unable to commit cold-blooded murder, but the General has no such qualms and pushes the unsuspecting Caypor off a cliff.
However, a coded telegram informs them that Caypor is not their target. The General finds it very funny, but Elsa becomes terribly distraught when they are told. She decides to quit, despite having told Ashenden that she fell in love with him at first sight. In the lobby, she encounters Marvin. With no destination in mind, she persuades him to take her along with him. Meanwhile, the other two bribe a worker at a chocolate factory (the secret "German spy post office") to show them a very important message received the day before. They discover that it is addressed to none other than Marvin.
They set out in pursuit, taking the same train as Marvin and Elsa. Before they can arrange anything, they cross the border into Turkey - enemy territory - and a large number of soldiers board. Despite this, they manage to get Marvin alone in his compartment. Elsa tries to persuade them not to kill Marvin. Before Ashenden can do anything, one way or the other, the train is attacked and derailed by airplanes sent by "R". Marvin is pinned in the wreckage, but manages to fatally shoot the General before dying. The "Ashendens" quit the spy business.
What kind of bet did the agents ask?
concocted bet