Media Types
Custom media types are used in the API to let the consumers choose the version of the data format they wish to receive. Add one or more of the following media types to the Accept
header when a request is made. Media types are specific to resources, letting them change independently and supporting formats that other resources don't.
If you don't specify the version in your requests, the API's responses might change without further notice. It is strongly recommended to always specify a specific API version.
//the media types consumed and produced by Gini Pay API look like this
application/vnd.gini.<version>+json