interface PaymentInfo {
    result: [{
        account: string;
        account_invoice_items: {
            description: string;
            qty: number;
            unit_value: number;
            value: number;
        }[];
        created_at: string;
        due_date: string;
        id: string;
        info: string;
        invoice_code: string;
        invoice_number: number;
        notes: string;
        paid: true;
        payment_method: string;
        ref_account: {
            email: string;
            id: string;
            name: string;
            send_invoice: boolean;
        };
        ref_payment_method: {
            brand: string;
            last4: string;
        };
        stripe_id: string;
        total: number;
        updated_at: string;
    }];
    status: boolean;
}

Properties

Properties

result: [{
    account: string;
    account_invoice_items: {
        description: string;
        qty: number;
        unit_value: number;
        value: number;
    }[];
    created_at: string;
    due_date: string;
    id: string;
    info: string;
    invoice_code: string;
    invoice_number: number;
    notes: string;
    paid: true;
    payment_method: string;
    ref_account: {
        email: string;
        id: string;
        name: string;
        send_invoice: boolean;
    };
    ref_payment_method: {
        brand: string;
        last4: string;
    };
    stripe_id: string;
    total: number;
    updated_at: string;
}]

Type declaration

  • account: string
  • account_invoice_items: {
        description: string;
        qty: number;
        unit_value: number;
        value: number;
    }[]
  • created_at: string
  • due_date: string
  • id: string
  • info: string
  • invoice_code: string
  • invoice_number: number
  • notes: string
  • paid: true
  • payment_method: string
  • ref_account: {
        email: string;
        id: string;
        name: string;
        send_invoice: boolean;
    }
    • email: string
    • id: string
    • name: string
    • send_invoice: boolean
  • ref_payment_method: {
        brand: string;
        last4: string;
    }
    • brand: string
    • last4: string
  • stripe_id: string
  • total: number
  • updated_at: string
status: boolean