Skip to content

Balancing fees of user account #69

@ndege

Description

@ndege

E-payment of user fees becomes more popular last years. Therefore a specification in PAIA would be logical. One reliable method will be a balancing of fees via transaction ids. The draft I would suggest tends to joins the PAIA method fees with an additional subordered method for balancing single fees at the user account. Other concepts as paying all fees / the amount can also be mapped in this way but not in the other direction. In my opinion it's better the system only knows which IDs should be paid and returns the successful balanced IDs.

purpose
    Balance current fees of a patron. 
HTTP verb and URL
    POST https://example.org/core/{uri_escaped_patron_identifier}/fees/balance 
scope
    balance_fees 
request parameters 
   name      | occ | data type |  description
   fee          | 0..n | array        | list of fees that SHOULD be balanced
   fee.feeid | 0..1 | URI          | URI of the type of service SHOULD be balanced
response fields
    name               | occ | data type | description
    balanced          | 0..n | array        | list of successfully balanced fees
    balanced.feeid | 0..1 |  URI         | URI of the type of service that is balanced  

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions