qrph
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseNextPay QRPH
NextPay QRPH
Overview
概述
Use this skill for QRPH money-in flows on NextPay Partners API v2. Start with to choose between dynamic and static QRPH, then read the matching reference file, and use the live OpenAPI URL when exact request fields, enums, or response shapes matter.
references/README.mdUse instead when the task goes beyond QRPH collection into merchants, accounts, payouts, or general integration work.
$nextapi当你需要在NextPay Partners API v2上实现QRPH收款流程时使用本技能。先查看来选择动态还是静态QRPH,然后阅读对应的参考文件,当需要确切的请求字段、枚举值或响应结构时,使用实时的OpenAPI URL。
references/README.md如果任务超出QRPH收款范围,涉及商户、账户、付款或通用集成工作,请使用。
$nextapiFreshness
时效性
Treat the markdown references as workflow guides. Use as the source of truth for current wire shapes and enum values.
https://api.partners.nextpay.world/v2/openapi将Markdown参考文件视为工作流指南。请以作为当前接口结构和枚举值的权威来源。
https://api.partners.nextpay.world/v2/openapiQuick Decision Tree
快速决策树
text
Need a one-time QR with a fixed merchant amount and expiry?
└─ references/payment-intents.md
Need a reusable QR where the customer chooses the amount?
└─ references/funding-methods.md
Need to understand checkout, settlement, or expiry webhook behavior?
└─ references/webhooks.md
Need exact request or response fields?
└─ `https://api.partners.nextpay.world/v2/openapi`text
需要一个固定商户金额、有有效期的一次性二维码?
└─ references/payment-intents.md
需要一个可重复使用、由客户输入金额的二维码?
└─ references/funding-methods.md
需要了解结账、结算或过期webhook的行为?
└─ references/webhooks.md
需要确切的请求或响应字段?
└─ `https://api.partners.nextpay.world/v2/openapi`Workflow
工作流
- Use as the API base URL.
https://api.partners.nextpay.world - Use HTTP Basic Auth with the Client ID as the username and the Client Secret as the password.
- Read to choose between dynamic QRPH and static QRPH.
references/README.md - Read or
references/payment-intents.mdfor the route shortlist and operational model.references/funding-methods.md - Read when the task involves checkout UX, payout readiness, or settlement timing.
references/webhooks.md - Read the live OpenAPI URL for exact current request bodies, enums, headers, and response fields.
- Explain whenever it appears. Precision notation means the integer amount stores minor units, so
PHP/2means PHP 100.00.10000
- 使用作为API基础URL。
https://api.partners.nextpay.world - 使用HTTP Basic认证,以Client ID作为用户名,Client Secret作为密码。
- 阅读来选择动态QRPH还是静态QRPH。
references/README.md - 阅读或
references/payment-intents.md获取路由列表和操作模型。references/funding-methods.md - 当任务涉及结账用户体验、付款准备状态或结算时机时,阅读。
references/webhooks.md - 阅读实时OpenAPI URL获取当前确切的请求体、枚举值、请求头和响应字段。
- 当出现时需要解释清楚。这种精确表示法意味着整数金额存储的是最小单位,例如
PHP/2代表PHP 100.00。10000
QRPH Rules
QRPH规则
- Payment intents are dynamic QRPH flows: one use, fixed amount, expiring.
- Funding methods are static QRPH flows: reusable, customer-entered amount, non-expiring.
- Payment intent creation currently supports ,
automatic, andph_netbankprovider selection forph_coins.qrph_p2m_reference - Funding method creation is narrower in the current public schema and should be documented as plus
ph_netbank.qrph_p2m_reference - Prefer on QRPH create endpoints to avoid duplicate side effects on retries.
X-Idempotency-Key - Do not promise an expiry webhook. Expiry is represented by , so fetch the resource if confirmation is needed.
expires_at - Treat as the earliest positive payment acknowledgment,
v2.payment_instrument.payment_receivedas the stronger settlement signal, andv2.payment_instrument.payment_settledas the one-time business completion event.v2.payment_intent.succeeded
- 支付意图是动态QRPH流程:一次性使用、固定金额、有有效期。
- 资金方式是静态QRPH流程:可重复使用、由客户输入金额、无有效期。
- 当前支付意图创建支持、
automatic和ph_netbank这几种ph_coins的服务商选择。qrph_p2m_reference - 当前公开协议中,资金方式创建的范围较窄,应记录为加上
ph_netbank。qrph_p2m_reference - 在QRPH创建接口上优先使用,以避免重试时产生重复的副作用。
X-Idempotency-Key - 不要承诺会有过期webhook。过期由字段表示,如需确认请获取资源信息。
expires_at - 将视为最早的支付确认信号,
v2.payment_instrument.payment_received为更可靠的结算完成信号,v2.payment_instrument.payment_settled为一次性业务完成事件。v2.payment_intent.succeeded
References
参考资料
- Read first for dynamic versus static QRPH routing.
references/README.md - Read for one-time QRPH generation and lookup.
references/payment-intents.md - Read for reusable QRPH generation and lookup.
references/funding-methods.md - Read for QRPH webhook semantics and timing nuance.
references/webhooks.md - Read for the live current contract.
https://api.partners.nextpay.world/v2/openapi
- 首先阅读了解动态与静态QRPH的选择方法。
references/README.md - 阅读了解一次性QRPH的生成和查询。
references/payment-intents.md - 阅读了解可重复使用QRPH的生成和查询。
references/funding-methods.md - 阅读了解QRPH webhook的语义和触发时机细节。
references/webhooks.md - 阅读获取当前的实时协议内容。
https://api.partners.nextpay.world/v2/openapi