goodserver

@gooddollar/goodserver v0.1.0

GoodDollar Server

Login

Request user token

POST /auth/eth

Parameters

Name

Type

Description

signature

String

gdSignature

String

profilePublickey

String

profileSignature

String

nonce

String

method

String

Send

POST /send/linkemail

Parameters

Name

Type

Description

to

String

sendLink

String

POST /send/linksms

Parameters

Name

Type

Description

to

String

sendLink

String

Send recovery instructions email

POST /send/recoveryinstructions

Parameters

Name

Type

Description

mnemonic

String

Storage

Add user account

POST /user/add

Parameters

Name

Type

Description

user

Object

Delete user account

POST /user/delete

Parameters

Name

Type

Description

zoomId

String

Verification

Verify email code

POST /verify/email

Parameters

Name

Type

Description

verificationData

Object

verificationData.code

String

Verify users face

POST /verify/facerecognition

Parameters

Name

Type

Description

enrollmentIdentifier

String

sessionId

String

Verify mobile data code

POST /verify/mobile

Parameters

Name

Type

Description

verificationData

Object

Send verification email endpoint

POST /verify/email

Parameters

Name

Type

Description

user

UserRecord

Sends OTP

POST /verify/sendotp

Parameters

Name

Type

Description

user

UserRecord

Tops Users Wallet if needed

POST /verify/topwallet

Parameters

Name

Type

Description

user

LoggedUser

Whitelist user

POST /verify/user

Parameters

Name

Type

Description

verificationData

Object