gbv / paia

Specification of Patrons Account Information API (PAIA)
http://gbv.github.io/paia
15 stars 12 forks source link

Require approval of requests with costs #39

Closed nichtich closed 9 years ago

nichtich commented 9 years ago

Return a "402 Payment Required" error or error document, if a request (or renew/cancel) costs a fee, unless paying was approved. Approval of payment could be indicated with an additional request parameter. Amount of fee could be returned with the error response or with an additional request.

See also #36 - before requesting a document, one might need to know a list of possible storages.

nichtich commented 9 years ago

This is a duplicate of #31 and #41