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