v46

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-211591,0051.4 MB
Wallets

Create wallets in batch

Creates multiple wallets in a single request. Each wallet creation is independent; failures for one wallet do not affect others. Maximum batch size is 100 wallets.

post/v1/wallets/batch

Headers

privy-app-idstring required

ID of your Privy app.

Request body

Example request

{
  "wallets": [
    {
      "chain_type": "ethereum"
    },
    {
      "chain_type": "solana"
    }
  ]
}

Response

Batch creation results. Always returns 200 with a results array containing success/failure status for each wallet.

Example response

{
  "results": [
    {
      "index": 0,
      "success": true,
      "wallet": {
        "additional_signers": [],
        "address": "0xF1DBff66C993EE895C8cb176c30b07A559d76496",
        "archived_at": null,
        "chain_type": "ethereum",
        "created_at": 1741834854578,
        "display_name": "Treasury",
        "exported_at": null,
        "external_id": "my-order-123",
        "id": "id2tptkqrxd39qo9j423etij",
        "imported_at": null,
        "owner_id": "rkiz0ivz254drv1xw982v3jq",
        "policy_ids": []
      }
    },
    {
      "code": "not_found",
      "error": "Policy not found",
      "index": 1,
      "success": false
    }
  ]
}