http hooks for payment for services?

dmk@allegra.att.com (Dave Kristol)
Errors-To: listmaster@www0.cern.ch
Date: Tue, 15 Mar 1994 14:07:20 --100
Message-id: <9403142001.AB10951@dxmint.cern.ch>
Errors-To: listmaster@www0.cern.ch
Reply-To: dmk@allegra.att.com
Originator: www-talk@info.cern.ch
Sender: www-talk@www0.cern.ch
Precedence: bulk
From: dmk@allegra.att.com (Dave Kristol)
To: Multiple recipients of list <www-talk@www0.cern.ch>
Subject: http hooks for payment for services?
X-Listprocessor-Version: 6.0c -- ListProcessor by Anastasios Kotsikonas
Content-Length: 802
Please forgive my ignorance if this has been discussed a lot (and
please direct me to an archive or FAQ for same)....

Are there provisions in HTTP to support fees for documents?  I'm
looking for a mechanism that works something like this:

1) Client requests document.
2) Server rejects, requesting payment.  Server informs client of cost.
Server expects some kind of (say) certificate that proves the client
has deposited money in the server's "bank account" somewhere or that
represents some kind of "digital cash".  (I'm using the term VERY
loosely.)
3) If user hasn't done so already (and perhaps even if s/he has),
client requests payment authorization from user (in some unspecified
form).
4) With payment in hand, client re-requests document from server.

Thanks for any pointers.
Dave Kristol