88e41d6fdc
* TD-126: Add erlang builds * mb add release? * changed to master * fixed * fixed checkout |
||
---|---|---|
.github/workflows | ||
patches | ||
scripts | ||
spec@eccf2a97c5 | ||
web | ||
.gitignore | ||
.gitmodules | ||
gulpfile.js | ||
package-lock.json | ||
package.json | ||
README.md |
Empayre Wallet API Specification
This is a set of patches / extensions over https://github.com/valitydev/swag-wallets.
Patches currently serve two purposes:
- Prevent too much drift from the upstream.
- Inject brand-specific documentation.
- Extend specification in controlled points.
Points of extensions
Generic destination resources
This allows adding new destination resources which should be handled by wapi in a generic manner.
Provided through vendor extension x-vality-genericMethod
, which should be a JSON object. You can set it on a model discriminated against DestinationResource
. When it's set on an object its type
value will be used to identify this resource's payment service.
At the moment this object may contain following properties:
-
schema
object, which should be a valid JSON schema.A subset of
DestinationResource
object strictly following this schema will be interpreted as generic resource data and passed down as part ofResourceGeneric.generic.data
thrift model (which will eventually becomeGenericPaymentTool.data
).When
id
schema property is defined, its value will be used to annotate generic resource data data, namely through MIME type.