Get Merchants
POST/api/v1/merchants/list
Retrieve a list of all merchants
Request
- application/json
Body
required
limit Limit
Default value: 10
Maximum number of records to return.
offset Offset
The offset from where to start fetching wallets.
filters object
textFilter Textfilter
Text search by title or mcc code
sortBy MerchantSortField[]
Possible values: [TITLE, POPULARITY]
orderBy SortOrder[]
Possible values: [ASC, DESC]
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- MOD1
- MOD2
- ]
items object[]required
Array of merchant objects.
id object required
anyOf
string
string
name Name
title Titlerequired
popularityRate Popularityraterequired
groupOrder Grouporderrequired
mccCode Mcccoderequired
binsCount Binscountrequired
totalCount Totalcountrequired
Total number of merchants corresponding to the filters.
{
"items": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"title": "string",
"popularityRate": 0,
"groupOrder": 0,
"mccCode": "string",
"binsCount": 0
}
],
"totalCount": 0
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- MOD1
- MOD2
- ]
- ]
detail object[]
loc object[]required
anyOf
string
integer
msg Messagerequired
type Error Typerequired
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...