Developer ZoneRecipesAPI ReferenceChangelog
Developer Zone

Activation

Activation API allows merchants to activate SoftPOS app and loads the necessary configurations

Activation API is used to activate the SoftPOS app within the local area network. Merchant is required to have the activationCode before proceeding to call this API.

📘

API Parameter

Request Parameter
Response Parameters

Activation API Request

SoftPOS app has to be activated before calling any other API.

curl -X POST "http://{remoteIpAddress}:{remotePort}/api/v1/activation" \
-H "Content-Type: application/json" \
-d '{"activationCode": "{activation code}"}'
val request = PosRequest.Activation("activation code")
 
val result = 	client.post("http://${remoteIpAddress.value}:${remotePort.value}/api/v1/activation") {
    contentType(ContentType.Application.Json)
    setBody(request)
  }
val response = result.body<PosResponse<Unit>>()

Activation API Response

{
 "respCode" : "0",
 "rspMsg": "Success"
}