The following examples show you how to authorize payments.