這份文件已更新。
中文(香港) 的翻譯尚未完成。
英文更新時間:2023年2月11日
中文(香港) 更新時間:2022年2月7日

SummaryPaymentItem

Use an object based on SummaryPaymentItem to represent a summary item in a payment transaction, such as tax or shipping costs. The data in SummaryPaymentItem appears to the customer in the payment sheet. For the full list of summary item types, see SummaryPaymentItemType.

SummaryPaymentItem and PaymentItem provide data for PaymentDetails.

Properties

PropertyTypeDescriptionRequired

amount

PaymentCurrencyAmount

The monetary value of the item.

Yes

summaryItemType

SummaryPaymentItemType

The type of the item, such as SUBTOTAL or ESTIMATED_TAX.

Yes

label

string

Information about the item.

Yes