Version v0.2.3. Exposing the buildPayload method