Skip to main content
GET
/
user
Get Current User
const options = {method: 'GET'};

fetch('https://gp-auth-module.prod.gnosispay.com/user', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "address": "<string>",
  "email": "<string>",
  "profileId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "accountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "cardholderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "createdAt": "2023-11-07T05:31:56Z",
  "kycProfile": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "reference": "<string>",
    "email": "<string>",
    "status": "pending",
    "tenantId": "<string>",
    "details": {
      "fullName": "<string>",
      "phoneNumber": "<string>",
      "dateOfBirth": "2023-11-07T05:31:56Z",
      "nationality": "<string>",
      "countryOfResidence": "<string>",
      "countryOfBirth": "<string>",
      "taxIdNumber": "<string>",
      "gender": "<string>",
      "addresses": [
        {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "country": "<string>",
          "postalCode": "<string>",
          "city": "<string>",
          "state": "<string>",
          "address1": "<string>",
          "address2": "<string>"
        }
      ]
    }
  }
}

Response

User retrieved successfully

id
string<uuid>
required
address
string
required
email
string
required
profileId
string<uuid>
required
accountId
string<uuid> | null
required
cardholderId
string<uuid> | null
required
createdAt
string<date-time>
required
kycProfile
object
required