Payment creation and OAuth2 implementation