Enhancement/apple/custom payload

This pull request closes enhancement #6