v1

latestOpenAPI 3.0.02026-07-2466275257.1 KB
wallet

Create a wallet

This endpoint creates a wallet within a specified namespace and associates it with a team using the team ID. The request body defines the wallet's attributes, including its name, currency, spending limits, and archival status.

post/v2/wallets

Request body

Example request

{
  "wallet": {
    "id": "wallet_12345ABC",
    "namespaceId": "namespace_xyz987",
    "teamId": "team_456DEF",
    "name": "MainCompanyWallet",
    "externalId": "ext_789GHI",
    "currencyCode": "USD",
    "dailyBudget": "1000.00"
  }
}

Response

Details of the created wallet.

Example response

{
  "wallet": {
    "id": "wallet_12345ABC",
    "namespaceId": "namespace_xyz987",
    "teamId": "team_456DEF",
    "name": "MainCompanyWallet",
    "externalId": "ext_789GHI",
    "currencyCode": "USD",
    "creditLimit": "50000.00",
    "dailyBudget": "1000.00"
  }
}