import { object , optional , Schema , string } from '../schema' ; /** The payment the cardholder disputed. */ export interface DisputedPayment { /** Square-generated unique ID of the payment being disputed. */ paymentId ? : string ; } export const disputedPaymentSchema = object ( { paymentId : [ 'payment_id' , optional ( string ( ) ) ] , } ) ;