Go to file
Артем 88e41d6fdc
Erlang build (#9)
* TD-126: Add erlang builds

* mb add release?

* changed to master

* fixed

* fixed checkout
2022-02-14 19:52:41 +03:00
.github/workflows Erlang build (#9) 2022-02-14 19:52:41 +03:00
patches APM-51: Introduce patches facility (#8) 2022-02-10 18:38:24 +03:00
scripts APM-51: Introduce patches facility (#8) 2022-02-10 18:38:24 +03:00
spec@eccf2a97c5 APM-51: Introduce patches facility (#8) 2022-02-10 18:38:24 +03:00
web Pull current spec and clean it up a bit 2021-11-29 20:11:33 +03:00
.gitignore Pull current spec and clean it up a bit 2021-11-29 20:11:33 +03:00
.gitmodules APM-51: Introduce patches facility (#8) 2022-02-10 18:38:24 +03:00
gulpfile.js APM-51: Introduce patches facility (#8) 2022-02-10 18:38:24 +03:00
package-lock.json APM-51: Introduce patches facility (#8) 2022-02-10 18:38:24 +03:00
package.json APM-51: Introduce patches facility (#8) 2022-02-10 18:38:24 +03:00
README.md APM-51: Introduce patches facility (#8) 2022-02-10 18:38:24 +03:00

Empayre Wallet API Specification

This is a set of patches / extensions over https://github.com/valitydev/swag-wallets.

Patches currently serve two purposes:

  1. Prevent too much drift from the upstream.
  2. Inject brand-specific documentation.
  3. 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:

  1. 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 of ResourceGeneric.generic.data thrift model (which will eventually become GenericPaymentTool.data).

    When id schema property is defined, its value will be used to annotate generic resource data data, namely through MIME type.