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:
-
schemaobject, which should be a valid JSON schema.A
DestinationResourceobject following this schema will be interpreted as generic resource data and passed down as part ofResourceGeneric.generic.datathrift model (which will eventually becomeGenericPaymentTool.data).When
idschema property is defined, its value will be used to annotate generic resource data data, namely through MIME type.