调至内容部分
创建账户
或
登录
Stripe 文档徽标
/
询问人工智能
创建账户
登录
开始
付款
销售收入
平台和交易市场
资金管理
开发人员资源
概览
开始集成
资金与财政
Treasury
    概览
    Treasury 的工作原理
    资格要求
    开始
    开始 API 访问
    入驻用户
    管理欺诈
    营销与合规指南
    集成示例
    用 Treasury 设置金融账户和卡
    用 Treasury 转移资金
    Issuing 和 Treasury 示例应用程序
    包含 Issuing 的 Treasury
    Issuing 和 Treasury Webhook
    使用银行卡
    账户管理
    Stripe Treasury 账户结构
    使用 Connect 子账户
    使用金融账户
    金融账户功能
    平台金融账户
    使用余额和交易
    资金转移
    从 Stripe Payments 进行提现和充值
    使用 SetupIntents、PaymentMethods 和 BankAccounts
    将钱转入金融账户
    将钱从金融账户移出
    资金流动时点
    银行合作伙伴
    五三银行简介
    开始使用 Fifth Third Bank
Capital
支付管理
发卡
Global Payouts
管理资金
首页资金管理Treasury

Working with Stripe Issuing cards

Learn how to integrate Stripe Issuing with Treasury.

Stripe Issuing lets you create physical and virtual cards using a financial account as the source of funds.

Enable Issuing on connected accounts

Request the card_issuing account capability for the connected accounts on your platform and provide the required information for onboarding.

Command Line
cURL
curl https://api.stripe.com/v1/accounts/{{CONNECTED_ACCOUNT_ID}} \ -u "
sk_test_BQokikJOvBiI2HlWgH4olfQ2
:"
\ -d "capabilities[treasury][requested]"=true \ -d "capabilities[card_issuing][requested]"=true \ -d "capabilities[transfers][requested]"=true

If successful, the response returns the connected account Account object with the capabilities hash listing the requested capabilities as active.

If you haven’t already, also request access to the card_issuing feature on the financial account.

Command Line
cURL
curl https://api.stripe.com/v1/treasury/financial_accounts/
{{FINANCIAL_ACCOUNT_ID}}
\ -u "
sk_test_BQokikJOvBiI2HlWgH4olfQ2
:"
\ -H "Stripe-Account:
{{CONNECTED_ACCOUNT_ID}}
"
\ -d "treasury[access][requested]"=true \ -d "card_issuing[access][requested]"=true

If successful, the response returns the financial account object with the features listed in the active_features or pending_features array.

Create a card

After the card_issuing capability is active, the sellers and service providers that own your platform’s connected accounts can create cardholders and cards. You can issue cards only through the API.

A Cardholder object represents an individual or business entity that you can issue cards to. You can begin by creating a Cardholder with name, billing information, and whether they’re an individual or company.

Command Line
cURL
curl https://api.stripe.com/v1/issuing/cardholders \ -u "
sk_test_BQokikJOvBiI2HlWgH4olfQ2
:"
\ -H "Stripe-Account:
{{CONNECTED_ACCOUNT_ID}}
"
\ -d name="Jenny Rosen" \ --data-urlencode email="jenny.rosen@example.com" \ --data-urlencode phone_number="+18008675309" \ -d status=active \ -d type=individual \ -d "individual[first_name]"=Jenny \ -d "individual[last_name]"=Rosen \ -d "individual[dob][day]"=1 \ -d "individual[dob][month]"=11 \ -d "individual[dob][year]"=1981 \ -d "billing[address][line1]"="1234 Main Street" \ -d "billing[address][city]"="San Francisco" \ -d "billing[address][state]"=CA \ -d "billing[address][postal_code]"=94111 \ -d "billing[address][country]"=US

If successful, the response returns the newly created Cardholder object.

Create a Card and assign it to both the Cardholder you just created and a financial account. To assign the cardholder and financial account, specify the cardholder ID in the cardholder parameter and the financial account ID in the financial_account parameter of the /v1/issuing/cards request.

Command Line
cURL
curl https://api.stripe.com/v1/issuing/cards \ -u "
sk_test_BQokikJOvBiI2HlWgH4olfQ2
:"
\ -H "Stripe-Account:
{{CONNECTED_ACCOUNT_ID}}
"
\ -d cardholder={{CARDHOLDER_ID}} \ -d financial_account=
{{FINANCIAL_ACCOUNT_ID}}
\ -d currency=usd \ -d type=virtual \ -d status=active

If successful, the response returns the newly created Card object.

Handle authorizations

Review the Issuing authorizations guide to properly handle authorizations.

Create test authorizations

You can test the cards you just issued by following the steps in Testing Issuing to simulate purchases.

If the financial account associated with the issued card has outbound_flows restricted, authorizations on the card aren’t allowed.

See the Issuing transactions guide for information on different transaction types you might test against.

Handle captures and refunds

See the Issuing transactions guide to learn how to handle refunds and captures.

Handle disputes

See the Issuing disputes guide to learn how to properly handle disputes.

此页面的内容有帮助吗?
是否
需要帮助?联系支持。
加入我们的早期使用计划。
查看我们的更改日志。
有问题?联系销售。
LLM? Read llms.txt.
Powered by Markdoc