You can pay for your purchase in one of two techniques/ways: by cash or by credit card.
You can pay for your purchase in one of two techniques/ways: by cash or by credit card.
You can pay for your purchase in one of two techniques/ways: by cash or by credit card.