7. Reconnect
You can reactivate your disconnected physical POS connection through this service.
PUT
{{Base Address}}/api/connection/reconnect
It will be sufficient to send a request to the address provided above. You can use the 'Base Address' as you wish for both the test environment and the live environment.
The header information that needs to be sent to the service is as follows:
apikeyprivate
string
Yes
The Private Key obtained from the member merchant panel.
apiclientprivate
string
Yes
The Private Client obtained from the member merchant panel.
The body information that needs to be sent to the service is as follows:
{
"Id": "70b2190b-e47b-455f-b05e-8c132a055300"
}
Id
Guid
Yes
-
The ID information related to your connection.
The response returned from the service:
Result
object
It returns the details of the service.
ErrorCode
int
Error code. If the transaction is successful, it returns a value of '0'.
Succeeded
bool
It returns a true or false value. If the transaction is successful, it returns the value 'true'.
Failed
bool
It returns a true or false value. If the transaction is unsuccessful, it returns the value 'false'.
Message
string
If the transaction is faulty, this is the error message specified, which provides language support according to the locale parameter.
ClientMessage
string
It returns the fixed values of paywall error codes. You can perform mapping with them.
{
"result": {
"status": true
},
"failed": false,
"message": null,
"clientMessage": null,
"succeeded": true
}
Last updated