new receipt api method