Block

Block a card and return a CardResult object in the body response. Usage of this API is mandatory to make the card usable from the end user.

Request


DELETE https://api.domec.tools/v2.0/card:strings/{card:string}


Request Body


{
  "Receipt": {
    "IssuerData": {},
    "IssueDate": "",
    "Products": [
      {}
    ],
    "Payments": [
      {}
    ],
    "Total": 0.0,
    "SenderData": {},
    "UserData": ""
  },
  "Notes": ""
}

Parameters

The Block receive the following parameters in the input.

NameTypeData TypeMandatory
cardpathstring
modelbodyBaseInput

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