curl --request PUT \
--url http://localhost:8080/cabinet/admin/payment-methods/{method_id} \
--header 'Content-Type: application/json' \
--data '
{
"is_enabled": true,
"display_name": "<string>",
"sub_options": {},
"min_amount_kopeks": 1,
"max_amount_kopeks": 1,
"user_type_filter": "<string>",
"first_topup_filter": "<string>",
"promo_group_filter_mode": "<string>",
"allowed_promo_group_ids": [
123
],
"reset_display_name": false,
"reset_min_amount": false,
"reset_max_amount": false
}
'{
"method_id": "<string>",
"sort_order": 123,
"is_enabled": true,
"default_display_name": "<string>",
"default_min_amount_kopeks": 123,
"default_max_amount_kopeks": 123,
"user_type_filter": "<string>",
"first_topup_filter": "<string>",
"promo_group_filter_mode": "<string>",
"is_provider_configured": true,
"display_name": "<string>",
"sub_options": {},
"available_sub_options": [
{
"id": "<string>",
"name": "<string>"
}
],
"min_amount_kopeks": 123,
"max_amount_kopeks": 123,
"allowed_promo_group_ids": [
123
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}Update a payment method configuration.
curl --request PUT \
--url http://localhost:8080/cabinet/admin/payment-methods/{method_id} \
--header 'Content-Type: application/json' \
--data '
{
"is_enabled": true,
"display_name": "<string>",
"sub_options": {},
"min_amount_kopeks": 1,
"max_amount_kopeks": 1,
"user_type_filter": "<string>",
"first_topup_filter": "<string>",
"promo_group_filter_mode": "<string>",
"allowed_promo_group_ids": [
123
],
"reset_display_name": false,
"reset_min_amount": false,
"reset_max_amount": false
}
'{
"method_id": "<string>",
"sort_order": 123,
"is_enabled": true,
"default_display_name": "<string>",
"default_min_amount_kopeks": 123,
"default_max_amount_kopeks": 123,
"user_type_filter": "<string>",
"first_topup_filter": "<string>",
"promo_group_filter_mode": "<string>",
"is_provider_configured": true,
"display_name": "<string>",
"sub_options": {},
"available_sub_options": [
{
"id": "<string>",
"name": "<string>"
}
],
"min_amount_kopeks": 123,
"max_amount_kopeks": 123,
"allowed_promo_group_ids": [
123
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}Null to reset to default
x >= 0x >= 0Successful Response
Show child attributes