GET
/
users
/
me
curl --request GET \
  --url https://onboard-external-dev.api.nestcoin.io/users/me \
  --header 'x-auth-token: <api-key>'
{
  "userId": "<string>",
  "email": "<string>",
  "name": "<string>",
  "phoneNumber": "2348100000000",
  "phoneNumberVerified": true,
  "fullName": "<string>",
  "referralLink": "<string>",
  "referralCode": "<string>",
  "userType": "CUSTOMER",
  "roles": [
    "CUSTOMER"
  ],
  "isCustomer": true,
  "isMerchant": true,
  "isOpnMerchant": true,
  "isMerchantNetwork": true,
  "kycStatus": "<string>",
  "kycRetryCount": 123,
  "kycRetryLimit": 123,
  "kycNameHistory": [
    {
      "reason": "<string>",
      "actor": "<string>",
      "previousName": "<string>",
      "currentName": "<string>",
      "evidenceUrl": "<string>",
      "timestamp": "2023-11-07T05:31:56Z"
    }
  ],
  "comments": [
    "<string>"
  ],
  "includes": {},
  "supportedCurrencies": [
    "<string>"
  ],
  "language": "en, en-US, fr-FR, pt-BR",
  "availability": true,
  "active": true,
  "country": "<string>",
  "verifiedAddress": "0x15b8b00fb8d2bd7d76e90e70294e87fc6ba79e3b",
  "profile": {
    "status": "VERIFIED",
    "fullname": "<string>",
    "country": "NG",
    "dob": "2024-04-18T00:00:00.000Z",
    "displayName": "<string>",
    "proofOfAddress": "<string>",
    "hasBusinessBankAccount": true,
    "businessName": "<string>",
    "certificateOfIncorporation": "<string>",
    "hasShareHolderList": true,
    "userInShareHolderList": true,
    "noShareHolderListEvidence": "<string>",
    "useOfBusinessAccountApprovedByShareholders": true,
    "noOfLegalDirectors": 123,
    "regulatoryIdsOfDirectors": [
      "<string>"
    ],
    "depositTimeout": 1200,
    "approvalTimeout": 1200,
    "tradeHistoryDetails": {
      "hasPreviousTradeHistory": true,
      "proofOfTrade": [
        "<string>"
      ],
      "referee": "<string>"
    }
  },
  "transactionLimit": {
    "dailyTransactionLimit": 123,
    "maxSingleTransactionLimit": 123,
    "minSingleTransactionLimit": 123,
    "maxLifetimeLimit": 123
  },
  "authSource": "<string>",
  "lastActiveAt": "2023-11-07T05:31:56Z",
  "isTotpSetup": true,
  "totpSetupAt": "2023-11-07T05:31:56Z"
}

Fetches the profile of the currently authenticated user, including their account details and KYC status.

Authorizations

x-auth-token
string
header
required

Response

200
application/json

Success

The response is of type object.