Rest API
- Introduction
- GlobalWallets
- GlobalWalletAccessControl
- NameServices
- TestAccount
- CustomHostnames
- Exports
- Gates
- Settings
- Analytics
- Organizations
- Projects
- Custom Networks
- Chainalysis
- Environments
- Sessions
- Wallets
- Users
- Visits
- Members
- MfaSettings
- Invites
- ExternalJwt
- Origins
- UserApiTokens
- Tokens
- Allowlists
- Chains
- SDK Views
- Events
- Webhooks
- SDK
- Custom Fields
- DeeplinkUrls
- Mfa
- Waas
GlobalWallets
Creates the global wallet settings for the environment
POST
/
environments
/
{environmentId}
/
globalWallet
/
settings
Copy
Ask AI
curl --request POST \
--url https://app.dynamicauth.com/api/v0/environments/{environmentId}/globalWallet/settings \
--header 'Content-Type: application/json' \
--data '{
"walletName": "An example name",
"popupPageTitle": "An example name",
"walletIconUrl": "https://website-sample/icon.svg",
"customCssUrl": "https://website-sample/custom.css",
"termsOfServiceUrl": "https://website-sample.com",
"privacyPolicyUrl": "https://website-sample.com",
"termsOfServiceAndPrivacyPolicyMarkdown": "This is a markdown example with a **bold** text and a [link](https://website-sample.com)",
"customMenuLinks": [
{
"label": "An example name",
"url": "https://website-sample.com"
}
],
"enableLoginWithExternalWallets": true
}'
Copy
Ask AI
{
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"walletName": "An example name",
"popupPageTitle": "An example name",
"walletIconUrl": "https://website-sample/icon.svg",
"customCssUrl": "https://website-sample/custom.css",
"termsOfServiceUrl": "https://website-sample.com",
"privacyPolicyUrl": "https://website-sample.com",
"termsOfServiceAndPrivacyPolicyMarkdown": "This is a markdown example with a **bold** text and a [link](https://website-sample.com)",
"customMenuLinks": [
{
"label": "An example name",
"url": "https://website-sample.com"
}
],
"enableLoginWithExternalWallets": true,
"enabledAt": "2023-11-07T05:31:56Z"
}
Path Parameters
ID of the environment
Required string length:
36
Example:
"95b11417-f18f-457f-8804-68e361f9164f"
Body
application/json
Response
201
application/json
Successfully created global wallet settings for this environment
The response is of type object
.
Copy
Ask AI
curl --request POST \
--url https://app.dynamicauth.com/api/v0/environments/{environmentId}/globalWallet/settings \
--header 'Content-Type: application/json' \
--data '{
"walletName": "An example name",
"popupPageTitle": "An example name",
"walletIconUrl": "https://website-sample/icon.svg",
"customCssUrl": "https://website-sample/custom.css",
"termsOfServiceUrl": "https://website-sample.com",
"privacyPolicyUrl": "https://website-sample.com",
"termsOfServiceAndPrivacyPolicyMarkdown": "This is a markdown example with a **bold** text and a [link](https://website-sample.com)",
"customMenuLinks": [
{
"label": "An example name",
"url": "https://website-sample.com"
}
],
"enableLoginWithExternalWallets": true
}'
Copy
Ask AI
{
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"walletName": "An example name",
"popupPageTitle": "An example name",
"walletIconUrl": "https://website-sample/icon.svg",
"customCssUrl": "https://website-sample/custom.css",
"termsOfServiceUrl": "https://website-sample.com",
"privacyPolicyUrl": "https://website-sample.com",
"termsOfServiceAndPrivacyPolicyMarkdown": "This is a markdown example with a **bold** text and a [link](https://website-sample.com)",
"customMenuLinks": [
{
"label": "An example name",
"url": "https://website-sample.com"
}
],
"enableLoginWithExternalWallets": true,
"enabledAt": "2023-11-07T05:31:56Z"
}
Assistant
Responses are generated using AI and may contain mistakes.