Reference Source Test
public class | source

User

User methods

Static Method Summary

Static Public Methods
public static

create(data: UserCreateParams, callback: function(err: ApiErrorResponse, res: UserCreateResponse))

Create new user account

public static

retrieve(data: UserGetParams, callback: function(err: ApiErrorResponse, res: UserGetResponse))

Retrieve user account details

Static Public Methods

public static create(data: UserCreateParams, callback: function(err: ApiErrorResponse, res: UserCreateResponse)) source

Create new user account

Params:

NameTypeAttributeDescription
data UserCreateParams

create user payload

callback function(err: ApiErrorResponse, res: UserCreateResponse)
  • optional

error first node.js callback

public static retrieve(data: UserGetParams, callback: function(err: ApiErrorResponse, res: UserGetResponse)) source

Retrieve user account details

Params:

NameTypeAttributeDescription
data UserGetParams

get user payload

callback function(err: ApiErrorResponse, res: UserGetResponse)
  • optional

error first node.js callback