@portone/server-sdk
    Preparing search index...

    Type Alias CashReceiptClient

    type CashReceiptClient = {
        getCashReceiptByPaymentId: (
            options: { paymentId: string; storeId?: string },
        ) => Promise<Payment.CashReceipt.CashReceipt>;
        getCashReceipts: (
            options?: {
                page?: PageInput;
                sort?: CashReceiptSortInput;
                filter?: CashReceiptFilterInput;
            },
        ) => Promise<GetCashReceiptsResponse>;
        issueCashReceipt: (
            options: {
                storeId?: string;
                paymentId: string;
                channelKey: string;
                type: CashReceiptType;
                orderName: string;
                currency: Currency;
                amount: PaymentAmountInput;
                productType?: PaymentProductType;
                customer: IssueCashReceiptCustomerInput;
                paidAt?: string;
                businessRegistrationNumber?: string;
                paymentMethod?: IssueCashReceiptPaymentMethodType;
            },
        ) => Promise<IssueCashReceiptResponse>;
        cancelCashReceiptByPaymentId: (
            options: { paymentId: string; storeId?: string },
        ) => Promise<CancelCashReceiptResponse>;
    }
    Index

    Properties

    getCashReceiptByPaymentId: (
        options: { paymentId: string; storeId?: string },
    ) => Promise<Payment.CashReceipt.CashReceipt>

    현금 영수증 단건 조회

    주어진 결제 아이디에 대응되는 현금 영수증 내역을 조회합니다.

    GetCashReceiptError

    getCashReceipts: (
        options?: {
            page?: PageInput;
            sort?: CashReceiptSortInput;
            filter?: CashReceiptFilterInput;
        },
    ) => Promise<GetCashReceiptsResponse>

    현금영수증 다건 조회

    주어진 조건에 맞는 현금영수증들을 페이지 기반으로 조회합니다.

    GetCashReceiptsError

    issueCashReceipt: (
        options: {
            storeId?: string;
            paymentId: string;
            channelKey: string;
            type: CashReceiptType;
            orderName: string;
            currency: Currency;
            amount: PaymentAmountInput;
            productType?: PaymentProductType;
            customer: IssueCashReceiptCustomerInput;
            paidAt?: string;
            businessRegistrationNumber?: string;
            paymentMethod?: IssueCashReceiptPaymentMethodType;
        },
    ) => Promise<IssueCashReceiptResponse>

    현금 영수증 수동 발급

    현금 영수증 발급을 요청합니다.

    IssueCashReceiptError

    cancelCashReceiptByPaymentId: (
        options: { paymentId: string; storeId?: string },
    ) => Promise<CancelCashReceiptResponse>

    현금 영수증 취소

    현금 영수증 취소를 요청합니다.

    CancelCashReceiptError