For the complete documentation index, see llms.txt. This page is also available as Markdown.

Update wallets in bulk

This endpoint updates multiple wallets simultaneously. Use this endpoint to update name, external ID, archived status, daily budget, and credit limit.

Update wallets in bulk

patch

This endpoint updates multiple wallets simultaneously. Use this endpoint to update name, external ID, archived status, daily budget, and credit limit.

Authorizations
AuthorizationstringRequired

For accessing the API a valid JWT must be passed in all queries in the 'Authorization' header. The following syntax must be used in the 'Authorization' header. (Bearer xxx.yyy.zzz)

Body
Responses
200

Details of the updated wallets.

application/json
bulkIdstringOptional

Unique identifier for the bulk operation.

messagestringOptional

Success message for the operation.

statusstring · enumOptionalDefault: BULK_OPERATION_UNSPECIFIEDPossible values:
patch/v2/wallets/bulk/update
PATCH /v2/wallets/bulk/update HTTP/1.1
Host: billing.<env>.citrusad.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 234

{
  "wallets": [
    {
      "archived": false,
      "creditLimit": "50000.00",
      "currencyCode": "USD",
      "dailyBudget": "1000.00",
      "externalId": "ext_789GHI",
      "id": "wallet_12345ABC",
      "name": "MainCompanyWallet",
      "namespaceId": "namespace_xyz987",
      "teamId": "team_456DEF"
    }
  ]
}
{
  "bulkId": "text",
  "message": "text",
  "status": "BULK_OPERATION_UNSPECIFIED"
}

Last updated