Release PIN Code

Confirming the issuing of a pin code is effectively the operation that issue an active code together with all the details regarding activation instructions to the caller. This operation generate a debit for the client. This operation shall be executed after the customer has already cleared the payment to avoid possible situations where a cancel pin is needed. When the api is invoked the system checks the system verifies whether there is a previously made reservation for the ClientTx and if so, the reserved codes will be returned. If not the system try to return two random codes from the available ones.

Request


POST https://api.domec.tools/v1.0/pd/pin


Request Body


{
  "ProductCode": "",
  "Quantity": 0,
  "ClientTxID": "",
  "Shop": "",
  "Terminal": ""
}

Parameters

The Release PIN Code receive the following parameters in the input.

NameTypeData TypeMandatory
modelbodyPDPINRequest

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