Qualification and entry point
Phone number quick verification is open to verified non-individual entities. Personal developer accounts cannot use it regardless of code changes.
It must be triggered by a button with the getPhoneNumber open type. Calling it from script returns nothing, which is an anti-abuse design.
Exchanging the code
The client sends the code to your server, which exchanges it for the phone number. No client-side decryption is involved in this flow.
The code is single-use with a short lifetime. If the user cancels, no code is returned, so the client needs a fallback path.
Quota and billing
Quick verification is billed per call with a free allowance. Once exhausted, calls fail and the console shows consumption.
If you only need users to enter a number, a plain input plus SMS verification is cheaper. Do not add this component without a reason.
FAQ
Can individual entity mini programs use it?
No. It requires a verified enterprise, government, media or other non-individual entity.
What if the user declines?
Offer manual entry with SMS verification. Do not block the entire flow.
Can the phone number be stored?
Yes, subject to personal information rules: state the purpose, collect minimally, encrypt at rest and restrict access.
Related questions
Further reading
- WeChat Pay Merchant Setup Service details
- Debugging WeChat Pay Callbacks: Did the Request Arrive
- What Are the Common API Configuration Errors in Official Account Development? A Checklist Approach
- What to Do When Alipay Merchant Setup Documents Are Rejected? Correction Tips and Document Checklist
- Why WeChat Pay Settlements Get Delayed: Checking Order, Records and Bank Side
Sources & References
The following are public sources. Always check the latest requirements on the official authority or platform page.
