Update
POST/updateMerchantUser/:merchantUserGuid
Update the given merchant user.
Request
Path Parameters
Identifier of the merchant user.
- application/json
Bodyrequired
required
Fields of a merchant user to update, omit fields that should remain the same.
api
usersweb
users ifsendInitialPassword
isfalse
Possible values: >= 3 characters
Possible values: [web
, api
]
Mandatory for web
users.
Mandatory for
2001-02-03T04:05:06+02:00
false
List of merchant GUIDs the user can access, overwrites existing list.
For web
users only: permissions of the user.
Possible values: [frontend.blacklist.edit
, frontend.blacklist.show
, frontend.blacklist.show-admin-values
, frontend.customer-profiles.delete
, frontend.customer-profiles.deregister-and-detach
, frontend.customer-profiles.detach
, frontend.customer-profiles.prefer
, frontend.customer-profiles.show
, frontend.customer-profiles.transactions
, frontend.customer-profiles.update
, frontend.dashboard.financial-summary
, frontend.dashboard.payout-forecast
, frontend.dashboard.show
, frontend.payment-template.edit
, frontend.postprocessing.documents
, frontend.representment.show
, frontend.schedule.cancel
, frontend.schedule.continue
, frontend.schedule.pause
, frontend.schedule.retry
, frontend.schedule.show
, frontend.schedule.start
, frontend.show-connectors.meta-connectors
, frontend.show-connectors.real-connectors
, frontend.transaction.adapter-txid-visible
, frontend.transaction.capture
, frontend.transaction.data-export
, frontend.transaction.detailed-fees
, frontend.transaction.refund
, frontend.transaction.risk-check-result
, frontend.transaction.settlement-state
, frontend.transaction.void
, frontend.users.create
, frontend.users.edit
, frontend.users.index
, frontend.users.reset-password
, frontend.users.roles
, frontend.virtual-terminal.register
, frontend.virtual-terminal.surcharge
, frontend.virtual-terminal.use
, frontend.whitelist.edit
, frontend.whitelist.show
, frontend.whitelist.show-admin-values
]
For web
users only: send an initial password via email.
apiUserSettings
object
List of merchant GUIDs to add to the list of merchants the user can access.
List of merchant GUIDs to remove from the list of merchants the user can access.
For web
users only: add permissions for the user.
Possible values: [frontend.blacklist.edit
, frontend.blacklist.show
, frontend.blacklist.show-admin-values
, frontend.customer-profiles.delete
, frontend.customer-profiles.deregister-and-detach
, frontend.customer-profiles.detach
, frontend.customer-profiles.prefer
, frontend.customer-profiles.show
, frontend.customer-profiles.transactions
, frontend.customer-profiles.update
, frontend.dashboard.financial-summary
, frontend.dashboard.payout-forecast
, frontend.dashboard.show
, frontend.payment-template.edit
, frontend.postprocessing.documents
, frontend.representment.show
, frontend.schedule.cancel
, frontend.schedule.continue
, frontend.schedule.pause
, frontend.schedule.retry
, frontend.schedule.show
, frontend.schedule.start
, frontend.show-connectors.meta-connectors
, frontend.show-connectors.real-connectors
, frontend.transaction.adapter-txid-visible
, frontend.transaction.capture
, frontend.transaction.data-export
, frontend.transaction.detailed-fees
, frontend.transaction.refund
, frontend.transaction.risk-check-result
, frontend.transaction.settlement-state
, frontend.transaction.void
, frontend.users.create
, frontend.users.edit
, frontend.users.index
, frontend.users.reset-password
, frontend.users.roles
, frontend.virtual-terminal.register
, frontend.virtual-terminal.surcharge
, frontend.virtual-terminal.use
, frontend.whitelist.edit
, frontend.whitelist.show
, frontend.whitelist.show-admin-values
]
For web
users only: remove permissions for the user.
Possible values: [frontend.blacklist.edit
, frontend.blacklist.show
, frontend.blacklist.show-admin-values
, frontend.customer-profiles.delete
, frontend.customer-profiles.deregister-and-detach
, frontend.customer-profiles.detach
, frontend.customer-profiles.prefer
, frontend.customer-profiles.show
, frontend.customer-profiles.transactions
, frontend.customer-profiles.update
, frontend.dashboard.financial-summary
, frontend.dashboard.payout-forecast
, frontend.dashboard.show
, frontend.payment-template.edit
, frontend.postprocessing.documents
, frontend.representment.show
, frontend.schedule.cancel
, frontend.schedule.continue
, frontend.schedule.pause
, frontend.schedule.retry
, frontend.schedule.show
, frontend.schedule.start
, frontend.show-connectors.meta-connectors
, frontend.show-connectors.real-connectors
, frontend.transaction.adapter-txid-visible
, frontend.transaction.capture
, frontend.transaction.data-export
, frontend.transaction.detailed-fees
, frontend.transaction.refund
, frontend.transaction.risk-check-result
, frontend.transaction.settlement-state
, frontend.transaction.void
, frontend.users.create
, frontend.users.edit
, frontend.users.index
, frontend.users.reset-password
, frontend.users.roles
, frontend.virtual-terminal.register
, frontend.virtual-terminal.surcharge
, frontend.virtual-terminal.use
, frontend.whitelist.edit
, frontend.whitelist.show
, frontend.whitelist.show-admin-values
]
For web
users only: reset the password and send out a password recovery email.
Responses
- 200
- 401
- 422
- 500
The updated merchant.
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
]
Whether the request was successful or not.
merchantUser
object
Identifier.
Possible values: >= 3 characters
Possible values: [web
, api
]
Mandatory for web
users.
2001-02-03T04:05:06+02:00
Whether a password change is required.
2001-02-03T04:05:06+02:00
2001-02-03T04:05:06+02:00
false
false
merchantAccess
MerchantLink[]
List of merchants the user can access.
Identifier.
Possible values: >= 3 characters
For web
users only: permissions of the user.
Possible values: [frontend.blacklist.edit
, frontend.blacklist.show
, frontend.blacklist.show-admin-values
, frontend.customer-profiles.delete
, frontend.customer-profiles.deregister-and-detach
, frontend.customer-profiles.detach
, frontend.customer-profiles.prefer
, frontend.customer-profiles.show
, frontend.customer-profiles.transactions
, frontend.customer-profiles.update
, frontend.dashboard.financial-summary
, frontend.dashboard.payout-forecast
, frontend.dashboard.show
, frontend.payment-template.edit
, frontend.postprocessing.documents
, frontend.representment.show
, frontend.schedule.cancel
, frontend.schedule.continue
, frontend.schedule.pause
, frontend.schedule.retry
, frontend.schedule.show
, frontend.schedule.start
, frontend.show-connectors.meta-connectors
, frontend.show-connectors.real-connectors
, frontend.transaction.adapter-txid-visible
, frontend.transaction.capture
, frontend.transaction.data-export
, frontend.transaction.detailed-fees
, frontend.transaction.refund
, frontend.transaction.risk-check-result
, frontend.transaction.settlement-state
, frontend.transaction.void
, frontend.users.create
, frontend.users.edit
, frontend.users.index
, frontend.users.reset-password
, frontend.users.roles
, frontend.virtual-terminal.register
, frontend.virtual-terminal.surcharge
, frontend.virtual-terminal.use
, frontend.whitelist.edit
, frontend.whitelist.show
, frontend.whitelist.show-admin-values
]
apiUserSettings
object
{
"success": true,
"merchantUser": {
"guid": "string",
"username": "string",
"type": "web",
"email": "[email protected]",
"createdAt": "2001-02-03T04:05:06+02:00",
"requirePasswordChange": true,
"passwordValidUntil": "2001-02-03T04:05:06+02:00",
"firstName": "string",
"lastName": "string",
"validUntil": "2001-02-03T04:05:06+02:00",
"disabled": false,
"archived": false,
"merchantAccess": [
{
"guid": "string",
"name": "string"
}
],
"permissions": [
"frontend.blacklist.edit"
],
"apiUserSettings": {
"push-api": true,
"fees-api": true,
"pay-by-link-api": true,
"cde-login-enabled": true,
"snapshot-retrieval-enabled": true
}
}
}
{
"success": true,
"merchantUser": {
"guid": "US-1234-1234-1234-1234-1234-1234",
"username": "my.newuser",
"email": "[email protected]",
"type": "web",
"createdAt": "2020-12-18 14:04:55",
"archived": false,
"disabled": false,
"validUntil": "2025-10-10 00:00:00",
"firstName": "Jon",
"lastName": "Toe",
"requirePasswordChange": true,
"passwordValidUntil": null,
"merchantAccess": [
{
"guid": "ME-1234-1234-1234-1234-1234-1234",
"name": "Merchant B"
}
],
"permissions": [
"frontend.blacklist.show"
]
}
}
Unauthorized, see authentication.
- application/json
- Schema
- Example (from schema)
- 1000
Schema
1000
- Unauthorized, e.g. invalid credentials1001
- The request is invalid1002
- The value does not comply to the requirements, e.g. pre-defined values1003
- The format is invalid1004
- The value contains invalid characters1005
- Mandatory parameters are missing1006
- Some parameters are not applicable in given request scenario1007
- The provided entity does not exist9999
- Internal system error
true
if successful.
Error code.
1004
Human readable error message.
:::info
While the errorMessage
field provides useful context for understanding the nature of the error, it's important to note that the content of this message can vary based on specific circumstances.
For consistent and reliable error handling in your application, always base your logic on the errorCode
field, not the errorMessage
.
:::
name: nameInvalid characters
{
"success": true,
"errorCode": 1004,
"errorMessage": "name: nameInvalid characters"
}
Unauthorized (1000)
{
"success": false,
"errorCode": 1000,
"errorMessage": "Unauthorized"
}
Unprocessable entity.
- application/json
- Schema
- Example (from schema)
- 1001
Schema
1000
- Unauthorized, e.g. invalid credentials1001
- The request is invalid1002
- The value does not comply to the requirements, e.g. pre-defined values1003
- The format is invalid1004
- The value contains invalid characters1005
- Mandatory parameters are missing1006
- Some parameters are not applicable in given request scenario1007
- The provided entity does not exist9999
- Internal system error
true
if successful.
Error code.
1004
Human readable error message.
:::info
While the errorMessage
field provides useful context for understanding the nature of the error, it's important to note that the content of this message can vary based on specific circumstances.
For consistent and reliable error handling in your application, always base your logic on the errorCode
field, not the errorMessage
.
:::
name: nameInvalid characters
{
"success": true,
"errorCode": 1004,
"errorMessage": "name: nameInvalid characters"
}
Unprocessable entity (1001)
{
"success": false,
"errorCode": 1001,
"errorMessage": "Unauthorized"
}
Internal server error.
- application/json
- Schema
- Example (from schema)
- 1001
Schema
1000
- Unauthorized, e.g. invalid credentials1001
- The request is invalid1002
- The value does not comply to the requirements, e.g. pre-defined values1003
- The format is invalid1004
- The value contains invalid characters1005
- Mandatory parameters are missing1006
- Some parameters are not applicable in given request scenario1007
- The provided entity does not exist9999
- Internal system error
true
if successful.
Error code.
1004
Human readable error message.
:::info
While the errorMessage
field provides useful context for understanding the nature of the error, it's important to note that the content of this message can vary based on specific circumstances.
For consistent and reliable error handling in your application, always base your logic on the errorCode
field, not the errorMessage
.
:::
name: nameInvalid characters
{
"success": true,
"errorCode": 1004,
"errorMessage": "name: nameInvalid characters"
}
Internal server error (9999)
{
"success": false,
"errorCode": 9999,
"errorMessage": "Internal server error"
}