Payments & Platform Access · Practical News

Mini Program Phone Number Retrieval Fails: Check Entity and Quota

Source: Paddy Dance teamKeywords: mini program get phone number failed

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

getPhoneNumber no responsedoes phone number require verified entityphone number quick verification componentphone number quota exhausted

Further reading

Sources & References

The following are public sources. Always check the latest requirements on the official authority or platform page.

Explain your case first, then confirm the scope

Tell us your entity, business model and current progress. We will confirm what we can assist with and what you need to do before discussing fees.