This code would run in an application on your landing page, when they are redirected there from the AWS Marketplace Management Portal. The redirect is a POST request that includes the token. SaaS website must call the ResolveCustomer operation on AWS Metering Service to redeem this token for a Customer Identifier and a Product Code.