Cloud Marketplaces
AWS Marketplace Integration

Handling Unsubscribe Notifications

1min
marketplace customers can unsubscribe at arbitrary times when this occurs, aws sends notification via an sns topic https //docs aws amazon com/marketplace/latest/userguide/saas integrate subscription html#saas subscription monitor changes from that point amberflo only has 1 hour to submit any remaining billable amounts you must subscribe to this topic and do the following upon receipt of a unsubscribe pending message suspend any active billable operations for this customer report any remaining usage to be included in the final bill within 30 minutes of the unsubscribe notification, deactivate the customer in amberflo via the api https //docs amberflo io/reference/put customers customer id when the customer is deactivated, amberflo will calculate the final invoice and submit any remaining billable amount to aws marketplace (this process takes about 20 minutes, which is why the cancelation must be done within 30 minutes )