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

Function 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