v1

latestOpenAPI 3.0.02026-07-2466275257.1 KB
wallet

Update a wallet

This endpoint updates a wallet within a specified namespace and teamId. This endpoint allows you to modify attributes such as the wallet's name, credit limit, daily budget, external ID, and other relevant fields.

patch/v2/wallets

Request body

Example request

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

Response

Details of the updated 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"
  }
}