<OWP:funding-type>http://owp-api.net/schema/1.0/funding-types/Gold</OWP:funding-type>
<OWP:amount currency=”bar">2</OWP:amount>
Just posted my initial reactions to OWP here:
http://stakeventures.com/articles/2010/07/22/open-web-payments-paypals-answer-to-opentransact
It may come across overly critical, but I think the biggest problem I
have with OWP so far is the lack of a currency URI. The actual URI
that you post your message to should determine which type of
payment/currency it is.
I mention in the post that I think this comes from the tradition that
payments are messages. But using this funding-type element for me is a
very bad idea. It introduces a bunch of complexities that shouldn't be
in the payment itself.
Andreas has a good proposal on asset class identifiers
http://groups.google.com/group/agile-banking/browse_thread/thread/2df4fe6d946899c5?hl=en
that could be used in the discovery process.
I am pasting in some text from my post about this particular issue:
The web on the other hand works using the concept of resources and
actions. It is pretty object oriented in this way. Messaging
applications can be created on top of the web, but the complexities
are hidden behind this object oriented world. This is how atom,
twitter, facebook etc all work.
The best example of a field all payment messaging standards require is
the currency field. On the web we don't need this as we have URI's.
A payment is the transfer of one resource to another. So lets model
that in the restful object oriented way. Each currency has a separate
URI:
* http://paypal.com/owp/usd
* http://paypal.com/owp/eur
* http://goldpal.eg/aug
HTTP POST to this URI to transfer funds. HTTP GET to get transactions
in that currency.
In addition in the above grocery transaction the funding types
elements. Neither the merchant nor the consumer cares about these.
They are also extremely specific to PayPal and are likely not of any
interest to most other people wanting to implement this, such as
banks. They could be modeled into the URIs as well:
* http://paypal.com/owp/usd - do whatever default behavior is
* http://paypal.com/owp/usd/creditcard
* http://paypal.com/owp/usd/checking
These options could be presented to merchant using WebFinger.
P
--
http://agree2.com - Reach Agreement!
http://stakeventures.com - My blog about startups and agile banking
Hey everyone -
The concept of representing currency as it relates to an entity makes
total sense to me. It's a great way to avoid naming collisions and
support unlimited currencies - both real and virtual. I still need to
think about URN vs URL. Both are compelling to me for different
reasons.
Funding type seems to make sense too but this, too, is something I
need to noodle on a bit.
I'll discuss this a bit with Praveen the next chance I get and one of
us shall follow up.
And if things seem PayPal-centric, that's a result of us being
influenced by what we know. I think we can all agree that this
proposal is useless if it only works for PayPal.
<OWP:amount currency=”urn:x-asset:iso4217:XAU">2</OWP:amount>