@airwallex/node-sdk
Version:
Airwallex Node.js SDK
20 lines • 1.3 kB
TypeScript
import { CustomRequestOptions } from '../../common/request';
import { PaymentAcceptanceListResponseOfPaymentAcceptanceRefund } from '../../model/paymentAcceptanceListResponseOfPaymentAcceptanceRefund';
import { PaymentAcceptanceRefund } from '../../model/paymentAcceptanceRefund';
import { PaymentAcceptanceRefundCreateRequestRaw } from '../../model/paymentAcceptanceRefundCreateRequestRaw';
export interface ParamsPaymentAcceptanceRefundsApilistRefunds {
currency?: string;
from_created_at?: string;
page_num?: number;
page_size?: number;
payment_attempt_id?: string;
payment_intent_id?: string;
status?: string;
to_created_at?: string;
}
export declare class PaymentAcceptanceRefundsApi {
createRefund(refund_create_request: PaymentAcceptanceRefundCreateRequestRaw, options?: CustomRequestOptions): Promise<PaymentAcceptanceRefund>;
listRefunds({ currency, from_created_at, page_num, page_size, payment_attempt_id, payment_intent_id, status, to_created_at }: ParamsPaymentAcceptanceRefundsApilistRefunds, options?: CustomRequestOptions): Promise<PaymentAcceptanceListResponseOfPaymentAcceptanceRefund>;
retrieveRefund(id: string, options?: CustomRequestOptions): Promise<PaymentAcceptanceRefund>;
}
//# sourceMappingURL=paymentAcceptanceRefundsApi.d.ts.map