MerchantCreate

POSThttps://api.twisto.cz/psp/v4/merchants
POSThttps://api.twisto.pl/psp/v4/merchants

Create a merchant

Security: Bearer Auth

Provide your bearer token in the Authorization header when making requests to protected resources.
Example: Authorization: Bearer 123

Request body

  • id: integer
    required
  • name: string
    required
    <= 50 characters
  • url: string<uri>
    required
    <= 255 characters
  • mcc: integer or null

    MCC code used by PSP

    >= 0 <= 2147483647
  • is_blocked: boolean
    required

    True if and only if e-shop is blocked from performing new orders

  • contact_name: string
    required
  • contact_email: string<email>
    required
  • contact_phone_number: string
    required
  • reference: string
    required
  • pl_krs: string
  • street: string
    required
    <= 100 characters
  • city: string
    required
    <= 100 characters
  • zipcode: string
    required
    <= 5 characters
  • company_id: string
    required
    <= 20 characters
  • vat_id: string or null
    <= 14 characters

Request Body example

{ "id": 842, "name": "string", "url": "http://api.example.org/accounts/?skip=400&limit=100", "mcc": 107, "is_blocked": true, "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" }

Responses

Body

  • id: integer
    required
  • name: string
    required
    <= 50 characters
  • url: string<uri>
    required
    <= 255 characters
  • mcc: integer or null

    MCC code used by PSP

    >= 0 <= 2147483647
  • is_blocked: boolean
    required

    True if and only if e-shop is blocked from performing new orders

  • contact_name: string
    required
  • contact_email: string<email>
    required
  • contact_phone_number: string
    required
  • reference: string
    required
  • pl_krs: string
  • street: string
    required
    <= 100 characters
  • city: string
    required
    <= 100 characters
  • zipcode: string
    required
    <= 5 characters
  • company_id: string
    required
    <= 20 characters
  • vat_id: string or null
    <= 14 characters

Response example

{ "id": 333, "name": "string", "url": "http://api.example.org/accounts/?skip=400&limit=100", "mcc": 846, "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" }