API

Obțineți setările sistemelor de plată

GET/api/crm/v2/integration_paymentsv2
operationId: integrationPayments.default

Autorizare

api-token + language + role

Parametri de interogare

branch_idinteger

Exemplu: 8920

Răspunsuri

OK

object
statusstringobligatoriu

Valori:successerror

Exemplu: success

dataobject
filtersobject
branch_idobject (FilterSelectInteger)
valueinteger

Exemplu: 8920

typestringobligatoriu

Exemplu: select

optionarray of object
valueintegerobligatoriu

Exemplu: 8920

namestringobligatoriu

Exemplu: Green Basket | Kaliningrad

modestring (FilterMode)

Cum interfața procesează filtrul; filtrul obișnuit nu are mode. force_shown — este întotdeauna afișat, nu poate fi ascuns. value_required — punct de intrare în secțiune: este întotdeauna afișat, nu poate avea valoare goală (până când nu este selectată o valoare, lista este goală; nu există opțiunea „toate”), resetarea generală nu îl curăță.

Valori:force_shownvalue_required

Exemplu: value_required

settingsobject
only_prepaymentstring

Valori:noallcourierpickup

Exemplu: no

cashstring

Se afișează dacă only_prepayment nu este egal cu all

Valori:noallcourierpickup

Exemplu: no

pos_terminalstring

Se afișează dacă only_prepayment nu este egal cu all

Valori:noallcourierpickup

Exemplu: no

rulesstring

Reguli de plată în HTML

Exemplu: <h2>Payment rules<h2>

listarray of object
idintegerobligatoriu

Exemplu: 1

namestring

Exemplu: Revolut

payment_idintegerobligatoriu

Exemplu: 7160

work_modestringobligatoriu

Valori:realtest

Exemplu: test

delivery_methodstringobligatoriu

Valori:allcourierpickup

Exemplu: all

ffd_versionstring

Numai pentru Rusia

Valori:1.051.2

Exemplu: 1.05

url_idinteger

Exemplu: 1

apple_pay_certificate_idinteger

Exemplu: 1

custom_certificate_idinteger

Exemplu: 1

publishedboolean

Exemplu: true

sortinteger

Exemplu: 25

payment_optionsarray of object
idintegerobligatoriu

Exemplu: 1

namestringobligatoriu

Exemplu: Qiwi

payment_idintegerobligatoriu

Exemplu: 1

typestringobligatoriu

Valori:onlineapple_paygoogle_pay

Exemplu: online

checkedbooleanobligatoriu

Exemplu: true

payment_infoobject
namestringobligatoriu

Exemplu: PayKeeper

system_namestring

Exemplu: pay_keeper

wikistring

Exemplu: https://wiki.foodsoul.pro/i/68

certificate_requiredbooleanobligatoriu

Exemplu: true

firms_show_options_rowbooleanobligatoriu

Exemplu: true

webhook_setup_enabledboolean

Exemplu: true

name_with_descriptionstringobligatoriu

Exemplu: PayKeeper

fieldsarray of object
encryptedbooleanobligatoriu

Câmp criptat; pentru introducere utilizați un câmp de tip „parolă”

Exemplu: true

namestringobligatoriu

Exemplu: server

valuestring

Exemplu: d34.paykeeper.ru

regexstring

Exemplu: ^[0-9a-zA-Z-\\.]{1,}\\.paykeeper\\.ru$

test_urlstring

Exemplu: https://securepay.tinkoff.ru/v2

work_urlarray of object
idintegerobligatoriu

Exemplu: 0

namestringobligatoriu

Exemplu: securepay.tinkoff.ru