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.
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: 400
There was a problem with input.
application/json
401
Login failed or token not valid.
application/json
403
Access denied due to insufficient permissions.
application/json
default
An unexpected error response.
application/json
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

