调至内容部分
创建账户
或
登录
Stripe 文档徽标
/
询问人工智能
创建账户
登录
开始
付款
销售收入
平台和交易市场
资金管理
开发人员资源
概览
关于 Stripe 支付
升级您的集成
支付分析
线上付款
概览查找您的用例Managed Payments
使用 Payment Link
构建结账页面
构建高级集成
构建应用内集成
支付方式
添加支付方式
管理支付方式
用 Link 更快结账
支付接口
Payment Links
结账
Web Elements
应用内 Element
支付场景
处理多种货币
自定义支付流程
灵活收单
编排
线下支付
Terminal
    概览
    接受线下付款
    集成设计
    选择读卡器
    设计集成
    快速开始
    示例应用
    测试
    Terminal 设置
    设置您的集成
    连接读卡器
      网络要求
    接受付款
    收取银行卡付款
    其他支付方式
    支持线下支付
    邮购和电话订购付款
    地区考虑因素
    结账过程中
    收取小费
    收集并保存付款详情以供将来使用
    灵活授权
    结账后
    退款交易
    提供收据
    自定义 Checkout
    购物车显示
    收集屏幕输入内容
    收集刷卡数据
    收集 NFC 设备的轻触数据
    设备上的应用程序
    管理读卡器
    订购、退回、更换读卡器
    注册读卡器
    管理位置和区域
    配置读卡器
    监控读卡器
    加密
    参考
    API 参考
    移动读卡器
    智能读卡器
    SDK 迁移指南
    部署检查表
    Stripe Terminal 读卡器产品表
超越支付功能
成立公司
加密货币
Financial Connections
Climate
了解欺诈
Radar 欺诈保护
管理争议
验证身份
首页付款Terminal

Connect to a reader

Connect your application to a Stripe Terminal reader.

注意

If you haven’t chosen a reader yet, compare the available Terminal readers and choose one that best suits your needs.

Stripe provides a simulated server-driven reader so you can develop and test your app and simulate Terminal payments, without connecting to physical hardware.

Create a simulated reader

To create a simulated reader, use the designated registration code (simulated-wpe or simulated-s700) when registering the reader. This registration code creates a simulated WisePOS E or Stripe S700 reader object in a sandbox only. You can register the simulated reader using the Stripe API:

Command Line
cURL
Stripe CLI
Ruby
Python
PHP
Java
Node
Go
.NET
No results
curl https://api.stripe.com/v1/terminal/readers \ -u "
sk_test_BQokikJOvBiI2HlWgH4olfQ2
:"
\ -d location=
{{LOCATION_ID}}
\ -d registration_code=simulated-wpe

This returns a reader object representing your simulated reader:

{ "id": "tmr_xxx", "object": "terminal.reader", "device_sw_version": "", "device_type": "simulated_wisepos_e", "ip_address": "0.0.0.0", "label": "simulated-wpe-xxx-xxx-xx-xxx", "livemode": false, "location": "tml_xxx", "serial_number": "simulated-wpe-xxx-xxx-xx-xxx", "status": "online" }

Query your simulated reader

The simulated reader behaves like a real reader. You can retrieve its information from the reader endpoint:

Command Line
cURL
Stripe CLI
Ruby
Python
PHP
Java
Node
Go
.NET
No results
curl https://api.stripe.com/v1/terminal/readers/tmr_xxx \ -u "
sk_test_BQokikJOvBiI2HlWgH4olfQ2
:"
{ "id": "tmr_xxx", "object": "terminal.reader", "action": null, "device_sw_version": "", "device_type": "simulated_wisepos_e", "ip_address": "0.0.0.0", "label": "simulated-wpe-xxx-xxx-xx-xxx", "livemode": false, "location": "tml_xxx", "metadata": { }, "serial_number": "simulated-wpe-xxx-xxx-xx-xxx", "status": "offline" }

Next steps

You’ve connected your application to the reader. Next, collect your first Stripe Terminal payment.

The BBPOS and Chipper™ name and logo are trademarks or registered trademarks of BBPOS Limited in the United States and/or other countries. The Verifone® name and logo are either trademarks or registered trademarks of Verifone in the United States and/or other countries. Use of the trademarks does not imply any endorsement by BBPOS or Verifone.

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