Billing and Payments

0

Any way to get payments data (transactions, unapplied funds) data similar to cost and usage data using API or SDK?

已提問 1 個月前檢視次數 95 次
2 個答案
4

Yes, AWS provides APIs and SDKs that allow you to access billing and payment data programmatically. The AWS Cost Explorer API is the primary tool for accessing detailed cost and usage information, but it does not directly provide transaction or payment data.

For detailed payment and transaction data, you might need to use other AWS services or methods:

1.AWS Billing and Cost Management Console: While it doesn't provide an API, the Billing and Cost Management console offers detailed information on payments, including invoices, transactions, and payment methods. You can manually download reports from the console, but this process isn't automated.

2.AWS Cost and Usage Report: This report provides comprehensive cost and usage data at the account level. While it doesn't include transaction or payment details directly, it can be a valuable resource for understanding your AWS spending patterns. You can enable the Cost and Usage Report and configure it to deliver the report data to an Amazon S3 bucket, which you can then access programmatically.

3.AWS Organizations APIs: If you're using AWS Organizations to manage multiple accounts, you can use the AWS Organizations APIs to retrieve information about linked accounts, payment methods, and invoices.

4.AWS Support API: The AWS Support API provides access to AWS Support cases, including billing-related cases. While it won't directly give you payment transaction details, it can provide insight into any billing-related issues or inquiries.

5.AWS Marketplace Metering Service: If you're dealing with AWS Marketplace transactions, the AWS Marketplace Metering Service API allows you to submit usage data for metered software products and can provide information on purchases and usage.

6.AWS Partner Solutions: There are third-party solutions and partners that offer more extensive billing and payment management features, including APIs for accessing transaction and payment data. These solutions may provide more tailored and detailed information based on your needs.

已回答 1 個月前
  • Thanks for your response. I am aware that AWS provides API/SDK for Cost Explorer data. I want to know if similar method is available for getting Payments data i.e., data regarding unapplied funds or past payment transactions data including option to download invoices programmatically.

0
已接受的答案

No, AWS doesn't currently offer a dedicated API or SDK to access payments data like transactions or unapplied funds directly. However, you can explore alternative approaches:

  1. AWS Billing Reports: Utilize AWS Billing reports to download historical payment information. These reports can be scheduled for automatic generation and downloaded in various formats (CSV, JSON) for further analysis with your preferred tools.

  2. AWS Config Rules: Set up AWS Config Rules to monitor changes in your billing preferences. While not providing real-time transaction data, it can notify you of events like payment method changes or unapplied funds.

  3. AWS Budgets: Implement AWS Budgets to track your overall spending and receive alerts when approaching predefined thresholds. This can offer indirect insights into payment activity.

  4. AWS CloudTrail: Enable CloudTrail logging for AWS Billing service API calls. This captures events related to your billing activity, including payments made, but requires parsing the logs for specific details.

check it once through this link : https://docs.aws.amazon.com/cur/latest/userguide/detailed-billing.html

已回答 1 個月前
profile pictureAWS
專家
已審閱 1 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南