Actualizar cuenta por ID (Flat Route)
Actualiza cuenta por ID (Flat Route).
Path Parameters
- Type: stringaccount
Id required
Body·
required
application/json
- Type: stringaliasmax length:100
- Type: numberdaily
_withdrawal _limit - Type: numberdaily
Withdrawal Limit - Type: booleanis
_primary - Type: "ACTIVE" or "DISABLED"enumstatus
Responses
- 200
Operación realizada correctamente.
- application/json
- application/json
- application/json
- application/json
Request Example for patch/api/accounts/{accountId}
curl '/api/accounts/{accountId}' \
--request PATCH \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"status": "ACTIVE",
"is_primary": true,
"alias": "",
"daily_withdrawal_limit": 1000,
"dailyWithdrawalLimit": 1000
}'
No Body