S
SMS AnswersQuestions and answers from people who use virtual number & SMS services.

The 5 minute task cap plus auto refund changed my retry logic

D
dan_xNov 1, 2026 · 68 views · 0 comments

The thing that made me stop hand managing failures in my signup test harness was learning how timeouts settle on the billing side. I used to wrap everything in retry logic that double charged me mentally every time a solve stalled.

With Unlock API a task has a five minute cap. If it does not solve inside that window, or it fails outright, the credit is refunded to your balance automatically, you are not charged for a solve that never landed. That changed how I write the loop, I poll getTaskResult every five seconds and if it is still not ready near the cap I just let it expire rather than frantically resubmitting, because the money comes back on its own. A wrong key, low credit or a type they do not support also do not get charged at all.

Fair warning, five minutes is a long time to wait on a single challenge if you are in a hurry, and none of this touches the SMS step, which still needs its own number source.

Learn more at unlock-api.com
♥ 4 people found this helpful

0 Comments