Skip to main content

Complete SIWE Login

POST 

/siwe/login

Deprecated

This endpoint is deprecated, please use Complete Login instead.

The login endpoint returns the authentication token in exchange for the previously-issued challenge signed with the users wallet.

Request

Body

required

    message stringrequired

    The EIP-4361 challenge

    signature stringrequired

    Signature obtained by signing the message with the wallet

    createCardholderAccount boolean

    A flag to indicate whether a cardholder should be automatically created. Defaults to false.

Responses

successful login

Schema

    token stringrequired

    The authentication token

    refreshToken string

    JWT that is used to request a new access token. Refresh tokens are valid for 30 days.

    cardholderAccountId string

    The unique identifier of the cardholder.

Loading...