export interface ApiErrorsV3 { /** * For some errors that could be handled programmatically, a short string indicating the [error code](https://docs.stripe.com/error-codes) reported. */ code?: string; /** * A human-readable message providing more details about the error. These messages can be shown to users. */ message?: string; /** * If the error is parameter-specific, the parameter related to the error. For example, we can use this to display a message near the correct form field. */ param?: string; /** * The type of error returned. */ type: 'API_ERROR' | 'AUTHENTICATION_ERROR' | 'INVALID_REQUEST_ERROR' | 'PERMISSION_ERROR'; }