registerService

Used to register RelayApp's Self Service request. This method must be used with the checkServiceStatus method to verify the registration status.

circle-info

This method must be used together with checkServiceStatus to verify the registration status.

Request Parameters:

Parameter Name
Type
Required
Description

serviceKey

String

Yes

Identifier for registering Self Service.

Response Parameters: None

Call Example:

example.js
let payload = {
  serviceKey: "xxxxxx"
};

let sign = {
  content: "xxxxxx",
  signature: "xxxxxx"
}; 

const response = await relayx.registerService(payload, sign);
if (response.code == 200) {
  console.log("Service registration in progress");
}