merchantEshopCreate
Create an e-shop for a specified merchant
Security: Token Auth
Provide your auth token in the Authorization header when making requests to protected resources.
Example: Authorization: Token 123
Path Parameters
Param name | Type | Description | Required | Default values | Min/Max values |
---|---|---|---|---|---|
merchantId | string | Merchant identifier | true |
Request body
- id: integerrequired
Identifier
- name: stringrequired
Name
<= 50 characters
- url: string<uri>required
E-shop's website URL
<= 255 characters
- merchant_id: integer or nullrequired
Identifier of a linked merchant
- external_id: string or nullrequired
External ID provided by PSP
<= 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
- services: array[object]
- type: stringrequiredAllowed values:
twisto-pay
pay-in-three
- immediate_activation: boolean or null
Order is activated immediately without waiting for a confirmation message. Overrides PaymentProcessor config.
Request Body example
{
"id": 506,
"name": "string",
"url": "http://api.example.org/accounts/?skip=400&limit=100",
"merchant_id": 883,
"external_id": "string",
"mcc": 992,
"is_blocked": true,
"services": [
{
"type": "twisto-pay",
"immediate_activation": false
}
]
}
Responses
Body
- id: integerrequired
Identifier
- name: stringrequired
Name
<= 50 characters
- url: string<uri>required
E-shop's website URL
<= 255 characters
- merchant_id: integer or nullrequired
Identifier of a linked merchant
- external_id: string or nullrequired
External ID provided by PSP
<= 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
- services: array[object]
- type: stringrequiredAllowed values:
twisto-pay
pay-in-three
- immediate_activation: boolean or null
Order is activated immediately without waiting for a confirmation message. Overrides PaymentProcessor config.
Response example
{
"id": 801,
"name": "string",
"url": "http://api.example.org/accounts/?skip=400&limit=100",
"merchant_id": 468,
"external_id": "string",
"mcc": 983,
"is_blocked": true,
"services": [
{
"type": "pay-in-three",
"immediate_activation": true
}
]
}