JavaScript
const options = {method: 'GET'}; fetch('https://gp-auth-module.prod.gnosispay.com/user/account', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "kycProfileId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "safeOwnerAddress": "<string>", "safeAddress": "<string>", "chain": { "name": "celo", "id": "100" }, "chainName": "<string>", "reference": "<string>", "nativeCurrency": "<string>", "additionalCurrencies": [ "<string>" ], "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "closedAt": "2023-11-07T05:31:56Z", "status": "provisioning", "provisionedAt": "2023-11-07T05:31:56Z" }
Get the account details for the authenticated user. Returns the account from core api.
Account retrieved successfully
Show child attributes
provisioning
active
blocked
closed