/** * @example * { * message: "The mobile detailer never showed up for the Ceramic Coating appointment.", * reason: "fraudulent", * receipt_id: "pay_xxxxxxxxxxxxxx" * } */ export interface CreateResolutionCenterCasesRequest { attachments?: CreateResolutionCenterCasesRequest.Attachments.Item[]; /** The customer's explanation. */ message: string; /** What went wrong. Uses the same vocabulary as `/disputes`. */ reason: CreateResolutionCenterCasesRequest.Reason; /** The payment to open the case against (`pay_` tag). */ receipt_id: string; } export declare namespace CreateResolutionCenterCasesRequest { type Attachments = Attachments.Item[]; namespace Attachments { interface Item { direct_upload_id?: string | undefined; id?: string | undefined; } } /** What went wrong. Uses the same vocabulary as `/disputes`. */ const Reason: { readonly Fraudulent: "fraudulent"; readonly ProductNotReceived: "product_not_received"; readonly NotAsDescribed: "not_as_described"; readonly ProductUnacceptable: "product_unacceptable"; readonly SubscriptionCanceled: "subscription_canceled"; }; type Reason = (typeof Reason)[keyof typeof Reason]; }