Skip to content

Commit 36b81b6

Browse files
authored
docs(express): wallet update api definition
2 parents 1222063 + 3a36c1c commit 36b81b6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

modules/express/src/typedRoutes/api/v2/expressWalletUpdate.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ export const ExpressWalletUpdateBody = {
2323
signerTlsCert: t.string,
2424
/** (Optional) The signer macaroon for the lighting signer node. */
2525
signerMacaroon: optional(t.string),
26-
/** The wallet passphrase (used locally to decrypt and sign). */
26+
/** The wallet passphrase. This is not uploaded to BitGo, but used to decrypt userAuthKey used to sign the request before sending to BitGo. */
2727
passphrase: t.string,
2828
} as const;
2929

3030
/**
3131
* Response for Express Wallet Update
3232
*/
3333
export const ExpressWalletUpdateResponse = {
34-
/** Updated Wallet - Returns the wallet with updated Lightning signer configuration */
34+
/** Success - Returns the wallet with updated Lightning signer configuration */
3535
200: WalletResponse,
3636
/** Bad Request - Invalid parameters or missing required fields */
3737
400: BitgoExpressError,
@@ -44,10 +44,11 @@ export const ExpressWalletUpdateResponse = {
4444
/**
4545
* Express - Update Wallet
4646
* The express update wallet route is meant to be used for lightning (lnbtc/tlnbtc).
47+
* It will produced a signed wallet update request that can be used to update the wallet.
4748
* For other coins, use the standard wallet update endpoint.
4849
*
4950
* @operationId express.wallet.update
50-
* @tag express
51+
* @tag Express
5152
*/
5253
export const PutExpressWalletUpdate = httpRoute({
5354
path: '/express/api/v2/{coin}/wallet/{id}',

0 commit comments

Comments
 (0)