I have a request handler for a post endpoint used to validate receipts. The handler that takes one of two types as an incoming payload {location: \'foo\' | \'bar\', re
{location: \'foo\' | \'bar\', re