模式2 · API 集成(自建收银台)

商户后端用 apikey(HMAC) 调 /v1/payment_methods 拉支付方式,自己渲染收银台;选定后调 /v1/payment_intents/{id}/attempts 发起支付。密钥只在后端。
商户 API 凭据
支付参数