---
url: "https://pay.weixin.qq.com/doc/brand/4015582733-curl.md"
title: "品牌会员入会组件预授权-请求示例-curl"
doc_id: 4015582733
example_lang: "curl"
---

## curl


> POST

```
curl -X POST \
  https://api.mch.weixin.qq.com/brand/card-member/pre-auth-tokens \
  -H "Authorization: WECHATPAY-BRAND-SHA256-RSA2048 brand_id=\"XXXX\",..." \
  -H "Accept: application/json" \
  -H "Wechatpay-Serial: PUB_KEY_ID_XXXX"  \
  -H "Content-Type: application/json" \
  -d '{
    "card_id" : "pbLatjvWOibDc5-TBnbUk1pD12o0",
    "openid" : "obLatjnx9gnqzS4myYGmLZ7LgLBA"
  }'

```
