const url = 'https://api.gnosispay.com/api/v1/user';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}, body: undefined};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
{
"id": "<string>",
"email": "<string>",
"phone": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"address1": "<string>",
"address2": "<string>",
"city": "<string>",
"postalCode": "<string>",
"state": "<string>",
"country": "<string>",
"nationalityCountry": "<string>",
"signInWallets": [
{
"id": "clp3j1f9a0000a1cdh6ezx2qv",
"address": "0x1234567890abcdef1234567890abcdef12345678",
"userId": "user_123",
"createdAt": "2025-01-27T00:00:00Z"
}
],
"safeWallets": [
{
"address": "<string>",
"chainId": "<string>",
"tokenSymbol": "EURe",
"createdAt": "2025-01-27T00:00:00Z"
}
],
"kycStatus": "notStarted",
"availableFeatures": {
"moneriumIban": true
},
"cards": [
{
"id": "<string>",
"cardToken": "<string>",
"lastFourDigits": "<string>",
"activatedAt": "2023-11-07T05:31:56Z",
"virtual": true
}
],
"bankingDetails": {
"id": "<string>",
"address": "<string>",
"moneriumIban": "<string>",
"moneriumBic": "<string>",
"moneriumIbanStatus": "<string>",
"userId": "<string>",
"createdAt": "2025-01-27T00:00:00Z",
"updatedAt": "2025-01-27T00:00:00Z"
},
"isSourceOfFundsAnswered": true,
"isPhoneValidated": true
}
Get the User profile
const url = 'https://api.gnosispay.com/api/v1/user';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}, body: undefined};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
{
"id": "<string>",
"email": "<string>",
"phone": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"address1": "<string>",
"address2": "<string>",
"city": "<string>",
"postalCode": "<string>",
"state": "<string>",
"country": "<string>",
"nationalityCountry": "<string>",
"signInWallets": [
{
"id": "clp3j1f9a0000a1cdh6ezx2qv",
"address": "0x1234567890abcdef1234567890abcdef12345678",
"userId": "user_123",
"createdAt": "2025-01-27T00:00:00Z"
}
],
"safeWallets": [
{
"address": "<string>",
"chainId": "<string>",
"tokenSymbol": "EURe",
"createdAt": "2025-01-27T00:00:00Z"
}
],
"kycStatus": "notStarted",
"availableFeatures": {
"moneriumIban": true
},
"cards": [
{
"id": "<string>",
"cardToken": "<string>",
"lastFourDigits": "<string>",
"activatedAt": "2023-11-07T05:31:56Z",
"virtual": true
}
],
"bankingDetails": {
"id": "<string>",
"address": "<string>",
"moneriumIban": "<string>",
"moneriumBic": "<string>",
"moneriumIbanStatus": "<string>",
"userId": "<string>",
"createdAt": "2025-01-27T00:00:00Z",
"updatedAt": "2025-01-27T00:00:00Z"
},
"isSourceOfFundsAnswered": true,
"isPhoneValidated": true
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successfully retrieved User profile
The response is of type object
.