Associate an embedded wallet with a customer
Links an embedded (WaaS) wallet to the customer. The wallet is identified by the supplied WaaS idToken — its subject is the wallet id, so the wallet id is never passed directly — and the token’s audience must be the authenticated project.
Authorizations
Token from POST /auth/token
Headers
Unique key to prevent duplicate requests. Required on all POST requests.
Path Parameters
Body
WaaS-issued idToken (ES256 JWT). Its subject is the wallet id and its audience must be the authenticated project.
"eyJhbGciOiJFUzI1NiIs..."
Response
Wallet associated
Embedded wallet linked to a customer.
"wlt_01H9Xa8F5dN6mP3q"
"wallet"
"cst_01H9Xa8F5dN6mP3q"
custodial, embedded "embedded"
"0x1234567890abcdef1234567890abcdef12345678"
"evm"
preallocated, active, suspended "active"