文档已更新。
中文(简体) 译文尚未完成。
英语更新时间:2023年2月14日
中文(简体) 更新时间:2022年3月11日

PaymentDataError

Use an object based on PaymentDataError to provide information about payment data errors, such as an invalid shipping address or invalid payment information.

Properties

PropertyTypeDescriptionRequired

reason

PaymentDataErrorReason

A code that indicates why the payment data was unacceptable.

Yes

message

string

A localized explanation of the error that appears to the customer. Required when reason is OTHER_ERROR.

No

field

PaymentDataErrorField

The field that is the source of the error. For address fields, use the appropriate reason code such as INVALID_SHIPPING_ADDRESS or INVALID_BILLING_ADDRESS.

No