def METHOD_NAME(request, methodid, invoiceid, secret):
    invoice = get_object_or_404(Invoice, pk=invoiceid, deleted=False, finalized=True, recipient_secret=secret)
    return _bank_payment(request, methodid, invoice)