Check User Existence

Check if a user exists by their destination address. ( Private ๐Ÿ”’ )

Retrieve details on whether a user exists at the specified destination address using this endpoint. Please note that this is a Private ๐Ÿ”’ route which means it needs to be authorised by the account initiating this request.

Note: You will need to include the JWT Auth token to request headers to access this endpoint. To get the JWT Auth Token, refer the login section of the documentation.

Endpoint

POST /sapi/v1/internal_transfers/v2/check_user_exists/

Request Headers

{
  "Authorization": "JWT ***"
}

Request Body

ParameterTypeRequiredDescription

organization_key

string

Yes

Reach out to Brine (support@brine.fi) to get the organization key and API key.

api_key

string

Yes

Reach out to Brine (support@brine.fi) to get the organization key and API key.

destination_address

string

Yes

The destination address you want to check.

Response

{
    "status": "success",
    "message": "User exists",
    "payload": {
        "destination_address": "0x4",
        "exists": true
    }
}

Last updated