---
url: "https://pay.weixin.qq.com/doc/v3/merchant/4017151596-curl.md"
title: "回复需要即时服务的投诉单-请求示例-curl"
doc_id: 4017151596
example_lang: "curl"
---

## curl


> POST

```
curl -X POST \
  https://api.mch.weixin.qq.com/v3/merchant-service/complaints-v2/200201820200101080076610000/response-immediate-service \
  -H "Authorization: WECHATPAY2-SHA256-RSA2048 mchid=\"1900000001\",..." \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "complainted_mchid" : "1900000001",
    "message" : {
      "blocks" : [
        {
          "type" : "TEXT",
          "text" : {
            "text" : "example_text",
            "color" : "DEFAULT",
            "is_bold" : false
          },
          "image" : {
            "media_id" : "example_media_id",
            "image_style_type" : "IMAGE_STYLE_TYPE_NARROW"
          },
          "link" : {
            "text" : "example_text",
            "action" : {
              "action_type" : "ACTION_TYPE_SEND_MESSAGE",
              "jump_url" : "example_jump_url",
              "mini_program_jump_info" : {
                "appid" : "example_appid",
                "path" : "example_path"
              },
              "message_info" : {
                "content" : "example_content",
                "custom_data" : "example_custom_data"
              },
              "action_id" : "example_action_id"
            },
            "invalid_info" : {
              "expired_time" : "example_expired_time",
              "multi_clickable" : false
            }
          },
          "faq_list" : {
            "faqs" : [
              {
                "faq_id" : "example_faq_id",
                "faq_title" : "example_faq_title",
                "action" : {
                  "action_type" : "ACTION_TYPE_SEND_MESSAGE",
                  "jump_url" : "example_jump_url",
                  "mini_program_jump_info" : {
                    "appid" : "example_appid",
                    "path" : "example_path"
                  },
                  "message_info" : {
                    "content" : "example_content",
                    "custom_data" : "example_custom_data"
                  },
                  "action_id" : "example_action_id"
                }
              }
            ]
          },
          "button" : {
            "text" : "example_text",
            "action" : {
              "action_type" : "ACTION_TYPE_SEND_MESSAGE",
              "jump_url" : "example_jump_url",
              "mini_program_jump_info" : {
                "appid" : "example_appid",
                "path" : "example_path"
              },
              "message_info" : {
                "content" : "example_content",
                "custom_data" : "example_custom_data"
              },
              "action_id" : "example_action_id"
            },
            "invalid_info" : {
              "expired_time" : "example_expired_time",
              "multi_clickable" : false
            }
          },
          "button_group" : {
            "buttons" : [
              {
                "text" : "example_text",
                "action" : {
                  "action_type" : "ACTION_TYPE_SEND_MESSAGE",
                  "jump_url" : "example_jump_url",
                  "mini_program_jump_info" : {
                    "appid" : "example_appid",
                    "path" : "example_path"
                  },
                  "message_info" : {
                    "content" : "example_content",
                    "custom_data" : "example_custom_data"
                  },
                  "action_id" : "example_action_id"
                }
              }
            ],
            "button_layout" : "LAYOUT_UNKNOWN",
            "invalid_info" : {
              "expired_time" : "example_expired_time",
              "multi_clickable" : false
            }
          }
        }
      ],
      "sender_identity" : "UNKNOWN",
      "custom_data" : "example_custom_data"
    },
    "idempotent_id" : "550e8400-e29b-41d4-a716-446655440000"
  }'

```
