Welcome to unifinu's doc center
-
General
-
Reporting API
-
Connectors API
-
Accounts API
-
Dashboard
-
FAQ
-
Legal
-
Users API
Context
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. This section explains how to retrieve merchant accounts via the API.
Sample request
GET: /unifinu/merchants
There is no content in the body as it is a straightforward GET call.
Please ensure you include the correct headers, including the ‘authorization’ element with the JWT token. More info here.
Sample response
If the request was handled successfully and a statuscode 200 was returned, a response would look like below.
[
{
"createdDate": {
"date": 0,
"day": 0,
"hours": 0,
"minutes": 0,
"month": 0,
"nanos": 0,
"seconds": 0,
"time": 0,
"timezoneOffset": 0,
"year": 0
},
"createdUser": 0,
"enabled": false,
"id": 0,
"merchantContactEmail": "string",
"merchantName": "string",
"modifiedDate": {
"date": 0,
"day": 0,
"hours": 0,
"minutes": 0,
"month": 0,
"nanos": 0,
"seconds": 0,
"time": 0,
"timezoneOffset": 0,
"year": 0
},
"users": [
{
"createdBy": 0,
"createdDate": {
"date": 0,
"day": 0,
"hours": 0,
"minutes": 0,
"month": 0,
"nanos": 0,
"seconds": 0,
"time": 0,
"timezoneOffset": 0,
"year": 0
},
"description": "string",
"email": "string",
"enabled": false,
"firstName": "string",
"id": 0,
"lastModifiedBy": 0,
"lastName": "string",
"modifiedDate": {
"date": 0,
"day": 0,
"hours": 0,
"minutes": 0,
"month": 0,
"nanos": 0,
"seconds": 0,
"time": 0,
"timezoneOffset": 0,
"year": 0
},
"password": "string",
"passwordExpiryDate": "1970-01-01",
"roles": [
"string"
]
}
]
}
]