MerchantList
GEThttps://api.twisto.cz/psp/v4/merchants
GEThttps://api.twisto.pl/psp/v4/merchants
Get a list of merchants.
Security: Bearer Auth
Provide your bearer token in the Authorization header when making requests to protected resources.
Example: Authorization: Bearer 123
Query Parameters
Param name | Type | Description | Required | Default values | Min/Max values |
---|---|---|---|---|---|
isBlocked | boolean | Filter blocked merchants | false | ||
limit | integer | Records limit | false | 200 | 1 1000 |
skip | integer | Skip number of records | false | 0 |
Responses
Body
- count: integerExample
123
- next: string<uri> or nullExample
http://api.example.org/accounts/?skip=400&limit=100
- previous: string<uri> or nullExample
http://api.example.org/accounts/?skip=200&limit=100
- items: array[object]
- id: integerrequired
- name: stringrequired
<= 50 characters
- url: string<uri>required
<= 255 characters
- mcc: integer or null
MCC code used by PSP
>= 0
<= 2147483647
- is_blocked: booleanrequired
True if and only if e-shop is blocked from performing new orders
- contact_name: stringrequired
- contact_email: string<email>required
- contact_phone_number: stringrequired
- reference: stringrequired
- pl_krs: string
- street: stringrequired
<= 100 characters
- city: stringrequired
<= 100 characters
- zipcode: stringrequired
<= 5 characters
- company_id: stringrequired
<= 20 characters
- vat_id: string or null
<= 14 characters
Response example
{
"count": 123,
"next": "http://api.example.org/accounts/?skip=400&limit=100",
"previous": "http://api.example.org/accounts/?skip=200&limit=100",
"items": [
{
"id": 452,
"name": "string",
"url": "http://api.example.org/accounts/?skip=400&limit=100",
"mcc": 347,
"is_blocked": false,
"contact_name": "string",
"contact_email": "string",
"contact_phone_number": "string",
"reference": "string",
"pl_krs": "string",
"street": "string",
"city": "string",
"zipcode": "strin",
"company_id": "string",
"vat_id": "string"
}
]
}