đŸĒ™Request a wallet

POST /auth/request-wallet

This endpoint is designed to initiate the process of creating or retrieving a user's wallet. It requires the user to authenticate and then submit a request with either an email or a phone number. The system will then either create a new wallet if one does not exist for the submitted credentials or return an existing wallet if it is already associated with them.

Headers

NameValue

Content-Type

application/json

Authorization

Bearer <API_KEY>

Body

NameTypeDescriptionRequired

email

string

email of wallet holder

OPTIONAL

phone

string

phone of wallet holder

OPTIONAL

Response

{
  "status": 200,
  "wallet": <wallet_address>
}

Last updated