/** * PayPal Server SDKLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { Schema } from '../schema.js'; import { Money } from './money.js'; import { RefundPaymentInstruction } from './refundPaymentInstruction.js'; /** Refunds a captured payment, by ID. For a full refund, include an empty request body. For a partial refund, include an amount object in the request body. */ export interface RefundRequest { /** The currency and amount for a financial transaction, such as a balance or payment due. */ amount?: Money; /** The API caller-provided external ID. Used to reconcile API caller-initiated transactions with PayPal transactions. Appears in transaction and settlement reports. The pattern is defined by an external party and supports Unicode. */ customId?: string; /** The API caller-provided external invoice ID for this order. The pattern is defined by an external party and supports Unicode. */ invoiceId?: string; /** The reason for the refund. Appears in both the payer's transaction history and the emails that the payer receives. The pattern is defined by an external party and supports Unicode. */ noteToPayer?: string; /** Any additional payments instructions during refund payment processing. This object is only applicable to merchants that have been enabled for PayPal Commerce Platform for Marketplaces and Platforms capability. Please speak to your account manager if you want to use this capability. */ paymentInstruction?: RefundPaymentInstruction; } export declare const refundRequestSchema: Schema; //# sourceMappingURL=refundRequest.d.ts.map