Sposoby płatności

Tworzy sposób płatności

Changed on

Tworzenie nowego kanału płatności

post/payments

Request

  • Base URL
    https://demo.sellasist.pl/api/v1
  • URL
    https://demo.sellasist.pl/api/v1/payments
  • Auth
    API key in header apiKey

Request body

commissionnumber

Doliczana prowizja do kanału

integrationstring

Nazwa integracji

orderinteger

Numer porządkowy (kolejność sortowania)

statusinteger

Status kanału płatności

titlestring

Nazwa kanału płatności

title_internalstring

Wewnętrzna nazwa kanału płatności

vatinteger

Stawka VAT doliczana do kanału (0 lub 23)

Example request

{
  "commission": 1.5,
  "integration": "payurest",
  "order": 1,
  "title": "Przelew",
  "title_internal": "PayU (REST)",
  "translations": [
    {
      "language_id": 2,
      "text": "<p>{account}</p>",
      "text_email": "Example email!",
      "title": "test",
      "title_internal": "test"
    }
  ]
}

Response

Sukces

messagestring

Example response

{
  "message": "success"
}

Changes