Update payment system settings
POST
/api/crm/v2/integration_payments.update_payment_settingsv2 operationId:
integrationPayments.updatePaymentSettingsChecks url_id against the system's active addresses, synchronizes selected payment methods, encrypts sensitive fields, and saves everything in a single transaction. Values longer than 150 characters are truncated.
Authorization
api-token + language + role
Query parameters
branch_idintegerrequired
Example: 1
Request body application/json
Fields are dynamic: provide each field specified for the selected payment system. String length — up to 150 characters.
object
idintegerrequired
Example: 1
namestringrequired
Example: Example Bank
work_modestringrequired
Values:realtest
Example: test
delivery_methodstringrequired
Values:allcourierpickup
Example: all
ffd_versionstring
Only for Russia
Values:1.051.2
Example: 1.05
option_idarray of integerrequired
Array of payment method IDs
url_idinteger
Example: 1
apple_pay_certificate_idinteger
Example: 1
custom_certificate_idinteger
Example: 1
Responses
OK
object
statusstringrequired
Values:successerror
Example: success
dataobject