payment protocol architecture