3. Synchronize
You can use this service for the synchronization between your physical POS terminals and Paywall-Provider.
POST
{{Base Address}}/api/terminal/
{ConnectionId}
/sync
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:
{
"ConnectionId": 109334
}
The response returned from the service:
Result
object
It returns the details of the service.
ErrorCode
int
The error code. If the operation is successful, it returns the value '0'.
Succeeded
bool
It returns a true or false value. If the operation is successful, it returns the value 'true'.
Failed
bool
It returns a true or false value. If the operation is unsuccessful, it returns the value 'true'.
Message
string
If the operation is faulty, this is the error message related to it. It provides language support based on the locale parameter.
ClientMessage
string
It returns the fixed values of the Paywall error codes. You can perform mapping.
{
"Result": true,
"Failed": false,
"Message": null,
"ClientMessage": null,
"Succeeded": true
}
Last updated