Skip to main content

Login

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

Request Body required
  • message string required

    The EIP-4361 challenge

  • signature string required

    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 string required

    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...