Welcome to unifinu's doc center

Print

With the REST API that unifinu provides, you can create different accounts for merchants. This is mainly used by providers who want to offer the services from unifinu to their own customers in a white -label set up. In such a case it can be very convenient to create accounts with a REST API call that is executed during boarding of the merchant in their own systems.

POST: /unifinu/merchant

Please ensure you include the correct headers, including the ‘authorization’ element with the JWT token. More info here.

In the body you need to provide with some minimal information.

JSON
				{
  "createdUser": 0,
  "enabled": false,
  "merchantContactEmail": "string",
  "merchantName": "string"
}
			

If the request was handled successfully and a statuscode 200 was returned, a response would look like below.

JSON
				{
  "merchantId": 12345,
  "message": "string",
  "roleId": 0,
  "status": "string",
  "userId": 0
}
			
On this page