nestjs-yookassa
Version:
A NestJS library for integrating with YooKassa API
16 lines (15 loc) • 386 B
TypeScript
import type { ReceiptItem, Settlement } from './receipt-details.interface';
export interface Customer {
full_name?: string;
inn?: string;
email?: string;
phone?: string;
}
export interface ReceiptCreateRequest {
customer: Customer;
payment_id: string;
type: 'payment' | 'refund';
send: boolean;
items: ReceiptItem[];
settlements: Settlement[];
}