curl -X POST https://api.chargeapi.co/v1/accounts/acct_R0WW9U61sLoQP1WdE5Mw0W9Vqlbnk6tA \
-H "Authorization: Bearer ch_sk_test_..." \
--json '{
"metadata": {
"account_segment": "enterprise"
}
}'
{
"id": "acct_R0WW9U61sLoQP1WdE5Mw0W9Vqlbnk6tA",
"object": "account",
"billing_details": {
"billing_address": {
"city": "Paris",
"country": "FR",
"line1": "10 Rue de la Paix",
"line2": "Batiment A",
"postal_code": "75002",
"state": "Ile-de-France"
}
},
"business_type": null,
"contact": {
"email": "example@example.com",
"name": "Example",
"phone": "+33189000010"
},
"created": "2026-04-01T00:12:16.501Z",
"default_currency": "eur",
"description": null,
"email": "example@example.com",
"metadata": {
"account_segment": "enterprise"
},
"metric_system": "metric",
"name": "Example Account",
"plan": "professional",
"preferences": {
"billing_cycle": "monthly",
"default_currency": "eur",
"default_payment_method": null,
"notifications": true,
"report_frequency": "weekly",
"reporting_enabled": true
},
"registration_number": null,
"status": "active",
"type": "business",
"updated": "2026-04-01T02:11:41.598Z",
"wallet_balance": 42850
}
curl -X POST https://api.chargeapi.co/v1/accounts/acct_R0WW9U61sLoQP1WdE5Mw0W9Vqlbnk6tA \
-H "Authorization: Bearer ch_sk_test_..." \
--json '{
"metadata": {
"account_segment": "enterprise"
}
}'
{
"id": "acct_R0WW9U61sLoQP1WdE5Mw0W9Vqlbnk6tA",
"object": "account",
"billing_details": {
"billing_address": {
"city": "Paris",
"country": "FR",
"line1": "10 Rue de la Paix",
"line2": "Batiment A",
"postal_code": "75002",
"state": "Ile-de-France"
}
},
"business_type": null,
"contact": {
"email": "example@example.com",
"name": "Example",
"phone": "+33189000010"
},
"created": "2026-04-01T00:12:16.501Z",
"default_currency": "eur",
"description": null,
"email": "example@example.com",
"metadata": {
"account_segment": "enterprise"
},
"metric_system": "metric",
"name": "Example Account",
"plan": "professional",
"preferences": {
"billing_cycle": "monthly",
"default_currency": "eur",
"default_payment_method": null,
"notifications": true,
"report_frequency": "weekly",
"reporting_enabled": true
},
"registration_number": null,
"status": "active",
"type": "business",
"updated": "2026-04-01T02:11:41.598Z",
"wallet_balance": 42850
}
curl -X POST https://api.chargeapi.co/v1/accounts/acct_R0WW9U61sLoQP1WdE5Mw0W9Vqlbnk6tA \
-H "Authorization: Bearer ch_sk_test_..." \
--json '{
"metadata": {
"account_segment": "enterprise"
}
}'
{
"id": "acct_R0WW9U61sLoQP1WdE5Mw0W9Vqlbnk6tA",
"object": "account",
"billing_details": {
"billing_address": {
"city": "Paris",
"country": "FR",
"line1": "10 Rue de la Paix",
"line2": "Batiment A",
"postal_code": "75002",
"state": "Ile-de-France"
}
},
"business_type": null,
"contact": {
"email": "example@example.com",
"name": "Example",
"phone": "+33189000010"
},
"created": "2026-04-01T00:12:16.501Z",
"default_currency": "eur",
"description": null,
"email": "example@example.com",
"metadata": {
"account_segment": "enterprise"
},
"metric_system": "metric",
"name": "Example Account",
"plan": "professional",
"preferences": {
"billing_cycle": "monthly",
"default_currency": "eur",
"default_payment_method": null,
"notifications": true,
"report_frequency": "weekly",
"reporting_enabled": true
},
"registration_number": null,
"status": "active",
"type": "business",
"updated": "2026-04-01T02:11:41.598Z",
"wallet_balance": 42850
}
metric, imperialShow properties
monthly, weekly, etc.).active, suspended, archived