Create a user

POST {{baseUrl}}/merchants/:merchantId/users

Creates a user for the merchantId specified in the path. To make this request, your API credential must have the following role: * Management API—Users read and write

Request Body

{"name"=>{"firstName"=>"John", "lastName"=>"Smith"}, "username"=>"johnsmith", "email"=>"john.smith@example.com", "timeZoneCode"=>"Europe/Amsterdam", "roles"=>["Merchant standard role"]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"id":"S2-3B3C3C3B22","name":{"firstName":"John","lastName":"Smith"},"email":"john.smith@example.com","timeZoneCode":"Europe/Amsterdam","username":"johnsmith","roles":["Merchant standard role"],"active":true,"_links":{"self":{"href":"https://management-test.adyen.com/v1/merchants/YOUR_MERCHANT_ACCOUNT/users/S2-3B3C3C3B22"}}}