AI-generated Key Takeaways
-
A Payment resource represents an unpaid or paid payment.
-
The resource name indicates whether the payment is for unpaid AdSense or YouTube earnings, or paid earnings with the date.
-
The resource includes the date the payment was credited for paid earnings and the amount of earnings as a formatted string.
-
The
listmethod is available to list all payments for an account.
Resource: Payment
Representation of an unpaid or paid payment.
See Payment timelines for AdSense for more information about payments and the YouTube homepage and payments account article for information about dedicated payments accounts for YouTube.
| JSON representation |
|---|
{
"name": string,
"date": {
object ( |
| Fields | |
|---|---|
name |
Output only. Resource name of the payment. Format:
|
date |
Output only. For paid earnings, the date that the payment was credited. For unpaid earnings, this field is empty. Payment dates are always returned in the billing timezone (America/Los_Angeles). |
amount |
Output only. The amount of unpaid or paid earnings, as a formatted string, including the currency. E.g. "¥1,235 JPY", "$1,234.57", "£87.65". |
Methods |
|
|---|---|
|
Lists all the payments available for an account. |