Skip to content

Add embedded wallets auth endpoints#322

Draft
DhruvPareek wants to merge 1 commit intomainfrom
04-08-add_embedded_wallets_auth_endpoints
Draft

Add embedded wallets auth endpoints#322
DhruvPareek wants to merge 1 commit intomainfrom
04-08-add_embedded_wallets_auth_endpoints

Conversation

@DhruvPareek
Copy link
Copy Markdown

@DhruvPareek DhruvPareek commented Apr 8, 2026

Add auth endpoints for embedded wallets.

Original list of endpoints and their modified new endpoint:
https://www.notion.so/lightspark/Gridsparknkey-321b3339000681669411e1d96cf95647?source=copy_link#ae4a254443814f01b587119a70ce117b

Original Implemented Notes
POST /embedded-wallets/auth/init POST /embedded-wallets/auth/init Same path/method
POST /embedded-wallets/auth/otp/init POST /embedded-wallets/auth/otp/init Same path/method
POST /embedded-wallets/auth/otp/verify POST /embedded-wallets/auth/otp/verify Same path/method
POST /embedded-wallets/auth/add POST /embedded-wallets/auth/methods Renamed to a resource-style create endpoint
POST /embedded-wallets/auth/remove DELETE /embedded-wallets/auth/methods/{authMethodId} Converted to RESTful delete; now requires authMethodId
POST /embedded-wallets/auth/update PATCH /embedded-wallets/auth/methods/{authMethodId} Converted to RESTful update; now requires authMethodId
POST /embedded-wallets/auth/callback POST /embedded-wallets/auth/callback Same path/method

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 8, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
grid-flow-builder Ready Ready Preview, Comment Apr 8, 2026 11:21pm

Request Review

Copy link
Copy Markdown
Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 8, 2026

✱ Stainless preview builds

This PR will update the grid SDKs with the following commit messages.

kotlin

feat(api): add embedded wallets resource with auth/otp/methods endpoints

openapi

feat(api): add embedded wallet authentication

python

feat(api): add embedded_wallets resource with auth/otp/methods endpoints

typescript

feat(api): add embeddedWallets resource with auth, OTP, and methods endpoints

Edit this comment to update them. They will appear in their respective SDK's changelogs.

grid-python studio · code · diff

Your SDK build had at least one new note diagnostic, which is a regression from the base state.
generate ✅build ✅lint ❗test ✅

pip install https://pkg.stainless.com/s/grid-python/9a56c6510d1f8346622a06cc02c5c4fa5ee10949/grid-0.0.1-py3-none-any.whl
New diagnostics (1 note)
💡 Model/Recommended: `#/components/schemas/EmbeddedWalletAuthMethod` could potentially be defined as a [model](https://www.stainless.com/docs/guides/configure#models) within `#/resources/embedded_wallets/subresources/auth`.
grid-openapi studio · code · diff

Your SDK build had at least one new note diagnostic, which is a regression from the base state.
generate ✅

New diagnostics (1 note)
💡 Model/Recommended: `#/components/schemas/EmbeddedWalletAuthMethod` could potentially be defined as a [model](https://www.stainless.com/docs/guides/configure#models) within `#/resources/embedded_wallets/subresources/auth`.
grid-kotlin studio · code · diff

Your SDK build had at least one new note diagnostic, which is a regression from the base state.
generate ✅build ✅lint ✅test ✅

New diagnostics (1 note)
💡 Model/Recommended: `#/components/schemas/EmbeddedWalletAuthMethod` could potentially be defined as a [model](https://www.stainless.com/docs/guides/configure#models) within `#/resources/embedded_wallets/subresources/auth`.
grid-typescript studio · code · diff

Your SDK build had at least one new note diagnostic, which is a regression from the base state.
generate ✅build ✅lint ❗test ✅

npm install https://pkg.stainless.com/s/grid-typescript/682128f659574254bde842338565c1442583f4a6/dist.tar.gz
New diagnostics (1 note)
💡 Model/Recommended: `#/components/schemas/EmbeddedWalletAuthMethod` could potentially be defined as a [model](https://www.stainless.com/docs/guides/configure#models) within `#/resources/embedded_wallets/subresources/auth`.

This comment is auto-generated by GitHub Actions and is automatically kept up to date as you push.
If you push custom code to the preview branch, re-run this workflow to update the comment.
Last updated: 2026-04-08 23:26:03 UTC

- internalAccountId
- authMethodType
properties:
internalAccountId:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where does this id come from?

type: string
description: Turnkey sub-organization identifier associated with the embedded wallet
example: suborg_01JABCDEF23456789GHIJKL
status:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

enum

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants