v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-141713478.8 KB

Returns the list of Amazon Web Services account credits for the specified account. Each credit includes its identifier, type, monetary amounts, applicable products, expiration, sharing configuration, and current enabled status.

When the caller is the management account of a consolidated billing family and payerAccountFlag is true, the response aggregates credits across the entire family. Otherwise, the response includes only credits owned by the account specified in accountId.

post/#X-Amz-Target=AWSBilling.GetCredits

Headers

X-Amz-Target'AWSBilling.GetCredits' required

Request body

accountIdstring required

The Amazon Web Services account ID. Must be a 12-digit numeric string.

startDatestring date-time required

The start date for the credit period as Unix epoch seconds. Must be a past date that is not more than one year before the current date.

endDatestring date-time

The end date for the credit period as Unix epoch seconds. Must not be a future date and must be on or after <code>startDate</code>. Defaults to the current date when omitted.

payerAccountFlagboolean

When <code>true</code> and the caller is the management account, the response aggregates credits across the entire consolidated billing family. When <code>false</code> or omitted, returns only credits for the specified <code>accountId</code>.

Response

Success