---
url: "https://pay.weixin.qq.com/doc/v3/partner/4015336983-curl.md"
title: "作废用户会员卡-请求示例-curl"
doc_id: 4015336983
example_lang: "curl"
---

## curl


> POST

```
curl -X POST \
  https://api.mch.weixin.qq.com/v3/brand/partner/card-member/user-cards/478515832665/invalidate \
  -H "Authorization: WECHATPAY2-SHA256-RSA2048 mchid=\"1900000001\",..." \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "brand_id" : "1004",
    "card_id" : "pbLatjvWOibDc5-TBnbUk1pD12o0",
    "openid" : "obLatjnx9gnqzS4myYGmLZ7LgLBA",
    "invalid_reason" : "传入的自定义作废原因"
  }'

```
