curl --request PATCH \
--url https://api.nuvion.tech/accounts/{accountId} \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{}'{
"status": 200,
"message": "Account updated successfully",
"data": {
"account": {
"id": "01H7ZZZZZZZZZZZZZZZZZZZZZZZ",
"entity_id": "01H7ZZZZZZZZZZZZZZZZZZZZZZZ",
"type": "debit",
"currency": "USD",
"display_name": "Updated Account Name",
"meta": {
"custom_field": "custom_value"
},
"config": {
"is_overdraftable": true,
"overdraft_limit": 1000
},
"created": 1672531200000,
"updated": 1672617600000,
"balance": {
"available": 0,
"current": 0,
"overdraft_used": 0
}
},
"changes_applied": {
"fields_updated": [
"display_name",
"meta"
],
"config_changes": [
"is_overdraftable",
"overdraft_limit"
],
"status_changed": true,
"overdraft_limit_impact": {
"previous_limit": 0,
"new_limit": 1000,
"affects_available_balance": true
},
"compliance_recheck_triggered": false
}
}
}Updates account information for the authenticated entity.
curl --request PATCH \
--url https://api.nuvion.tech/accounts/{accountId} \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{}'{
"status": 200,
"message": "Account updated successfully",
"data": {
"account": {
"id": "01H7ZZZZZZZZZZZZZZZZZZZZZZZ",
"entity_id": "01H7ZZZZZZZZZZZZZZZZZZZZZZZ",
"type": "debit",
"currency": "USD",
"display_name": "Updated Account Name",
"meta": {
"custom_field": "custom_value"
},
"config": {
"is_overdraftable": true,
"overdraft_limit": 1000
},
"created": 1672531200000,
"updated": 1672617600000,
"balance": {
"available": 0,
"current": 0,
"overdraft_used": 0
}
},
"changes_applied": {
"fields_updated": [
"display_name",
"meta"
],
"config_changes": [
"is_overdraftable",
"overdraft_limit"
],
"status_changed": true,
"overdraft_limit_impact": {
"previous_limit": 0,
"new_limit": 1000,
"affects_available_balance": true
},
"compliance_recheck_triggered": false
}
}
}