Update Account
Update an account.
Path Parameters
- Type: stringaccount
_id requiredThe ID of the account to update
Headers
- enumAcceptconst:application/jsonrequired
Response format. Must be
application/json. - enumContent
- Type const:application/jsonrequiredRequest payload format. Must be
application/jsonwhen a body is sent.
Body·
required
application/json
- Type: nullableaddressProperties: 6
Partial address update. Send only fields you want to change. Omitted fields keep their current values. Supplied state, ZIP and country values must be valid. A null country becomes USA.
- Type: array of stringnullableavailable
_processor _configs - Type: stringnullabledescription
- Type: stringnullablemcc
Merchant accounts only.
- Type: stringnullablename
- Type: stringnullableparent
_id - Type: enumnullablestatusvaluesactiveinactiveblocked
- Type: enumnullablesurcharge
_basis Merchant accounts only.
valuestotalsubtotalsubtotal_plus_taxsubtotal_plus_tip - Type: booleannullablesurcharge
_confirmation _required Merchant accounts only.
- Type: numbernullablesurcharge
_rate Merchant accounts only.
- Type: enumnullabletax
_basis Merchant accounts only.
valuestotalsubtotal - Type: stringnullabletax
_id Merchant accounts only. Required on merchant creation; omit when creating a partner.
Responses
- application/json
- application/json
- application/json
- application/json
Request Example for put/v1/accounts/{account_id}
curl 'https://api.uat.koard.com/v1/accounts/{account_id}' \
--request PUT \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'x-koard-apikey: YOUR_SECRET_TOKEN' \
--data '{
"address": {
"street_line1": "",
"street_line2": "",
"city": "",
"country": "",
"state": "",
"zip": ""
},
"name": "",
"description": "",
"status": "active",
"tax_id": "",
"mcc": "",
"parent_id": "",
"available_processor_configs": [
""
],
"surcharge_rate": 1,
"surcharge_confirmation_required": true,
"surcharge_basis": "total",
"tax_rate": 1,
"tax_basis": "total"
}'
{
"id": "string",
"available_processor_configs": [],
"tax_id": null,
"mcc": null,
"type": "psp",
"status": "active",
"name": "string",
"description": "",
"parent_account_ids": [],
"address": {
"street_line1": "",
"street_line2": "",
"city": "",
"country": "USA",
"state": "",
"zip": ""
},
"surcharge_rate": null,
"surcharge_confirmation_required": null,
"surcharge_basis": "total",
"tax_rate": null,
"tax_basis": "total",
"created_at": "2026-11-11T21:22:41.896Z",
"deleted_at": "2026-11-11T21:22:41.896Z",
"updated_at": "2026-11-11T21:22:41.896Z",
"children": [],
"transaction_stats": {
"current": {
"count": 0,
"volume": 0
},
"previous": {
"count": 0,
"volume": 0
}
},
"available_processors": [
{
"id": "string",
"owner_id": "string",
"processor": "string",
"gateway": "string",
"psp": "string",
"name": "string",
"description": "string",
"created_at": "2026-11-11T21:22:41.896Z",
"updated_at": "2026-11-11T21:22:41.896Z",
"is_active": true,
"kernel_profile_id": "string",
"tpid": "string"
}
]
}
