Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Equipment Activation

The Equipment Activation webhook enables payment terminal activation for merchants. It allows clients to notify the activations-service when terminal activations are ready for processing. The service then forwards API keys to the merchant endpoint.

Endpoint details

Item
Value

Service

activations-service

HTTP Method

POST

URL Path

/activations/{merchantId}/callback

Parameters

merchantId (URL parameter)

Request format

The endpoint accepts a request with the following components:

  • merchantId as a URL parameter

  • JSON body containing an external identifier

The following example shows the request body:

{
  "externalId": "12345"
}

Process flow

When the service receives a callback request, it:

  1. Validates that an equipment order exists for the specified merchantId.

  2. Retrieves the merchant URL for the given merchantId.

    1. If no merchant URL is found, it returns the parent HNK URL.

  3. Forwards API keys for terminals in the placed order to the merchant URL.

  4. Records the callback in the ActivationDetails table of the Equipment database.

Callback to merchant

The service sends a POST request to the merchant URL with API keys for each terminal in the order. The following example shows the payload:

Response codes

Status Code
Meaning
Description

200 (OK)

Success

The activation process completed successfully. No response payload is returned.

424 (Failed Dependency)

Failure

The activation process failed. No response payload is returned.

Last updated

Was this helpful?