GetBalance

This endpoint returns the current balance of a stored value card

Request


GET https://api.domec.tools/v1.0/svc/balance?cardCode=<string>&shop=<string>&terminal=<string>


Parameters

The GetBalance receive the following parameters in the input.

NameTypeData TypeMandatory
cardCodequerystring
shopquerystring
terminalquerystring

Responses

The following HTTP status codes may be returned, optionally with a response resource

Status codeDescriptionResponse body
200OK
Success
View body
400BadRequest
The input request contains errors which prevents executing the request
View body
404NotFound
Endpoint not found
View body
409Conflict
Indicates that the request could not be carried out because of a conflict on the server
View body
412PreconditionFailed
Indicates indicates that a condition set for this request failed, and the request cannot be carried out. Conditions are set with conditional request headers like If-Match, If-None-Match, or If-Unmodified-Since.
View body