# PaymentMethodAWSSpec

**object**  
**allowedOrganizations**: list of strings or null  
*Optional*  
If set, only these organization IDs are allowed to use this payment method.

**autoPurchaseBeamLicenses**: boolean  
*Required*  
Specifies whether Beam usage should be billed through monthly charges (true) or by the minute (false).

**awsAccountId**: string  
*Optional*  
The AWS account ID.

**awsCustomerId**: string or null  
*Optional*  
Unique AWS account identifier specific to AWS SaaS Marketplace.

**awsOfferId**: string  
*Optional*  
Unique AWS private offer identifier.

**awsProductCode**: string  
*Optional*  
The MK.IO product code in the AWS SaaS Marketplace.

**awsStatus**: string or null  
*Optional*

**endDate**: string or null  
*Required*  
*format: date*  
The date this payment method expires, in yyyy-mm-dd format. It is not valid on this day. If not set, this payment method never expires. If startDate is also set, endDate must be after startDate.

**notes**: string  
*Optional*  
*<=256 characters*  
Note to the customer.

**productPublicationName**: string  
*Required*  
The name of the product publication that details the pricing for this payment method.

**startDate**: string or null  
*Required*  
*format: date*  
The date this payment method becomes eligible to be active, in yyyy-mm-dd format. It is valid on this day. If not set, there is no lower bound. If both startDate and endDate are set, endDate must be after startDate.

**type**: string  
*Required*  
Payment method type. Defaults to `direct` if not specified.
