Use an object based on PaymentDataError to provide information about payment data errors, such as an invalid shipping address or invalid payment information.
| Property | Type | Description | Required |
|---|---|---|---|
| A code that indicates why the payment data was unacceptable. | Yes | |
| string | A localized explanation of the error that appears to the customer. Required when reason is | No |
| The field that is the source of the error. For address fields, use the appropriate reason code such as | No |