AWS Billing
You can use the Billing API to programatically list the billing views available to you for a given time period. A billing view represents a set of billing…
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
You can use the Billing API to programatically list the billing views available to you for a given time period. A billing view represents a set of billing data. The Billing API provides the following endpoint: https://billing.us-east-1.api.aws
Endpoints 32
- POSTAssociate contract
/#X-Amz-Target=AWSBilling.AssociateContractPrivate Pricing contracts let eligible payer accounts manage private pricing agreements with Amazon Web Services. This operation associates a private pricing… - POSTAssociate source views
/#X-Amz-Target=AWSBilling.AssociateSourceViewsAssociates one or more source billing views with an existing billing view. This allows creating aggregate billing views that combine data from multiple sources. - POSTCancel contractual investment attestation
/#X-Amz-Target=AWSBilling.CancelContractualInvestmentAttestationCancels a contractual investment attestation. This operation is idempotent, so retrying is safe. You can cancel an attestation only while it is still pending… - POSTCreate billing view
/#X-Amz-Target=AWSBilling.CreateBillingViewCreates a billing view with the specified billing view attributes. - POSTCreate contractual investment attestation
/#X-Amz-Target=AWSBilling.CreateContractualInvestmentAttestationCreates an attestation that claims an investment award for a completed milestone or outcome within a private pricing contract. Supply a clientToken to make… - POSTDelete billing view
/#X-Amz-Target=AWSBilling.DeleteBillingViewDeletes the specified billing view. - POSTDisassociate contract
/#X-Amz-Target=AWSBilling.DisassociateContractRemoves the association between a private pricing contract and your Amazon Web Services account. The account must have been associated with the contract… - POSTDisassociate source views
/#X-Amz-Target=AWSBilling.DisassociateSourceViewsRemoves the association between one or more source billing views and an existing billing view. This allows modifying the composition of aggregate billing views. - POSTGet billing preferences
/#X-Amz-Target=AWSBilling.GetBillingPreferencesRetrieves billing preferences for the specified feature. Each feature controls a distinct billing capability: which accounts can share Reserved Instances or… - POSTGet billing view
/#X-Amz-Target=AWSBilling.GetBillingViewReturns the metadata associated to the specified billing view ARN. - POSTGet contract information
/#X-Amz-Target=AWSBilling.GetContractInformationReturns information about a specific private pricing contract, including its term (duration), eligible payer accounts, investment accounts, and legal… - POSTGet credit allocation history
/#X-Amz-Target=AWSBilling.GetCreditAllocationHistoryReturns the per-billing-month allocation history for credits applied to an Amazon Web Services account's bills. Traverses the consolidated billing family to… - POSTGet credits
/#X-Amz-Target=AWSBilling.GetCreditsReturns the list of Amazon Web Services account credits for the specified account. Each credit includes its identifier, type, monetary amounts, applicable… - POSTGet enterprise support charge summary
/#X-Amz-Target=AWSBilling.GetEnterpriseSupportChargeSummaryReturns a summary of Enterprise Support data aggregated across all accounts in the Enterprise Support profile. - POSTGet enterprise support contract details
/#X-Amz-Target=AWSBilling.GetEnterpriseSupportContractDetailsReturns Enterprise Support contract details. - POSTGet resource policy
/#X-Amz-Target=AWSBilling.GetResourcePolicyReturns the resource-based policy document attached to the resource in JSON format. - POSTList billing view segments
/#X-Amz-Target=AWSBilling.ListBillingViewSegmentsLists the segments of a billing view over a given time period. Each segment identifies the billing domain ( PRO_FORMA or BILLABLE ) and the account… - POSTList billing views
/#X-Amz-Target=AWSBilling.ListBillingViewsLists the billing views available for a given time period. Every Amazon Web Services account has a unique PRIMARY billing view that represents the billing… - POSTList business support account charges
/#X-Amz-Target=AWSBilling.ListBusinessSupportAccountChargesReturns Business Support charges broken down at the linked account level for a given billing month. - POSTList business support subscription history
/#X-Amz-Target=AWSBilling.ListBusinessSupportSubscriptionHistoryReturns the history of Business Support subscription contracts across accounts. - POSTList contracts
/#X-Amz-Target=AWSBilling.ListContractsLists the private pricing contracts that your Amazon Web Services account is an eligible payer account of. This operation is read-only and paginated. - POSTList contractual investment attestations
/#X-Amz-Target=AWSBilling.ListContractualInvestmentAttestationsLists the investment attestations submitted under a specific private pricing contract. Use this operation to track attestation status, including the terminal… - POSTList contractual investment summaries
/#X-Amz-Target=AWSBilling.ListContractualInvestmentSummariesLists the investment summaries within a specific private pricing contract. This operation is read-only and paginated. - POSTList contractual investments
/#X-Amz-Target=AWSBilling.ListContractualInvestmentsLists the investments within a specific investment summary. This operation is read-only and paginated. - POSTList enterprise support linked account charges
/#X-Amz-Target=AWSBilling.ListEnterpriseSupportLinkedAccountChargesReturns Support-eligible spend broken down at linked account level. - POSTList source views for billing view
/#X-Amz-Target=AWSBilling.ListSourceViewsForBillingViewLists the source views (managed Amazon Web Services billing views) associated with the billing view. - POSTList tags for resource
/#X-Amz-Target=AWSBilling.ListTagsForResourceLists tags associated with the billing view resource. - POSTRedeem credits
/#X-Amz-Target=AWSBilling.RedeemCreditsRedeems an Amazon Web Services promotional credit code on behalf of the calling account. On success, a new credit is added to the account's credit ledger with… - POSTTag resource
/#X-Amz-Target=AWSBilling.TagResourceAn API operation for adding one or more tags (key-value pairs) to a resource. - POSTUntag resource
/#X-Amz-Target=AWSBilling.UntagResourceRemoves one or more tags from a resource. Specify only tag keys in your request. Don't specify the value. - POSTUpdate billing preferences
/#X-Amz-Target=AWSBilling.UpdateBillingPreferencesUpdates billing preferences for the specified feature. Each feature targets a distinct billing capability and has its own set of supported keys. The action… - POSTUpdate billing view
/#X-Amz-Target=AWSBilling.UpdateBillingViewAn API to update the attributes of the billing view.
API details
- Base URL
https://billing.{region}.amazonaws.com- Authentication
- AWS Signature Version 4 (requests signed with your AWS access key)
- Operations
- 32 operations on 32 pathsPOST 32
- Description format
- AWS Smithy model, API version
2023-09-07 - Links
- Documentation · OpenAPI document
- Listed from
- AWS Smithy API model (aws/api-models-aws) (Apache-2.0)
How to test the AWS Billing in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the AWS Billing collection, without the publisher's secrets.
- Add your credentialsThis API uses AWS Signature Version 4 (requests signed with your AWS access key). Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Associate contract” (POST /#X-Amz-Target=AWSBilling.AssociateContract), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the AWS Billing?
You can use the Billing API to programatically list the billing views available to you for a given time period. A billing view represents a set of billing… It is listed under Finance & banking and has 32 endpoints.
Who publishes the AWS Billing?
It is listed from Amazon Web Services, Inc.'s public API description (an OpenAPI document), not published by Amazon Web Services, Inc. on Swastik Codes. Anyone who controls amazonaws.com can claim the profile by adding a DNS TXT record.
What is the base URL of the AWS Billing?
Requests go to https://billing.{region}.amazonaws.com. Endpoint paths are added to this base URL.
How do I authenticate with the AWS Billing?
With AWS Signature Version 4 (requests signed with your AWS access key).
How many endpoints does the AWS Billing have?
32 operations on 32 paths (32 POST).
Is forking the AWS Billing free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.