amountSent
Ce contenu n’est pas encore disponible dans votre langue.
The monetization
event’s amountSent
attribute returns you the amount (value
) and currency code The ISO 4217 alphabetic code that represents a currency (USD, CAD, etc.) (currency
) of the Web Monetization payment sent to you.
Value
The value
uses the same data structure as the PaymentCurrencyAmount
dictionary in the Payment Request API. The returned value is the value it was initialized with.
Example
Specifications
Specification |
---|
Web Monetization #amountsent-attribute |