get Sign Up Payload

protected open fun getSignUpPayload(serverSecret: String, name: String, surname: String, email: String, password: String, language: String, vararg custom: Any?): APIRequest.Params

Method to create the payload for the signUp request.

Usage example:

@CustomParametersOrder(order = ["currency"]) // optional
override fun getSignUpPayload(
serverSecret: String,
name: String,
surname: String,
email: String,
password: String,
language: String,
vararg custom: Any
): Params {
val payload = super.getSignUpPayload(serverSecret, name, surname, email, password, language)
payload.addParam("currency", custom[0])
return payload
}

Return

the payload for the request as Params

Parameters

serverSecret

The secret of the personal Equinox's backend

name

The name of the user

surname

The surname of the user

email

The email of the user

password

The password of the user

language

The language of the user

custom

The custom parameters added in a customization of the EquinoxUser to execute a customized sign-up