Appearance
@swapped/connect-sdk / wallet-verification / CreateWalletVerificationRequest
Type Alias: CreateWalletVerificationRequest
CreateWalletVerificationRequest =
object
Defined in: src/types/wallet-verification.types.ts:255
Body for POST /api/wallet-verifications. Signature create usually runs inside the gateway iframe via VerifyWalletSignatureRequest; Coinbase create runs on the merchant page via StartCoinbaseVerificationRequest.
Properties
address
address:
string
Defined in: src/types/wallet-verification.types.ts:261
Wallet address being verified.
Example
ts
`'0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B'`chainId?
optionalchainId?:number
Defined in: src/types/wallet-verification.types.ts:306
Satoshi method only - ignore for signature / OAuth.
Example
ts
`1`customerEmail?
optionalcustomerEmail?:string
Defined in: src/types/wallet-verification.types.ts:300
Optional end-user email. Forwarded to the API on create.
Example
ts
`'[email protected]'`customerId
customerId:
string
Defined in: src/types/wallet-verification.types.ts:275
Merchant identifier for the end user. Combined with address this is the reuse key - a verified pair short-circuits create.
Example
ts
`'user-1234'`method?
optionalmethod?:WalletVerificationMethod
Defined in: src/types/wallet-verification.types.ts:288
Defaults to signature.
Example
ts
`'signature'`network
network:
WalletVerificationNetwork
Defined in: src/types/wallet-verification.types.ts:268
Chain family of CreateWalletVerificationRequest.address. Signature today: evm and solana.
Example
ts
`'evm'`orderId?
optionalorderId?:string
Defined in: src/types/wallet-verification.types.ts:294
Merchant order reference (metadata only).
Example
ts
`'order-9876'`provider?
optionalprovider?:IntegrationProvider
Defined in: src/types/wallet-verification.types.ts:282
Integration provider from GET /wallet-verifications/integrations (signature wallet id, or Coinbase).
Example
ts
`IntegrationProvider.MetaMask`redirectUrl?
optionalredirectUrl?:string
Defined in: src/types/wallet-verification.types.ts:313
Required for exchange_oauth. Page you host; we send the browser back here with ?verificationId= and a hint ?status=.
Example
ts
`'https://merchant.example.com/wallet-verified'`webhookUrl?
optionalwebhookUrl?:string
Defined in: src/types/wallet-verification.types.ts:319
Optional override of the partner default webhook (server-to-server).
Example
ts
`'https://merchant.example.com/webhooks/wallet-verification'`