Report Metered Records

BatchMeterUsage code example

The example sends a metering record to AWS Marketplace to charge your customers for pay-as-you-go fees. Your application will need to aggregate usage for the customer for the hour and set the quantity as seen below. AWS Marketplace can only accept records for up to an hour in the past.

ProductCode is supplied after the AWS Marketplace team has published the product to limited status. CustomerID is obtained from the ResolveCustomer response.

APIIntergration_2.png