How it works
The API is asynchronous. Create a task and receive a taskId, then poll getTaskResult until the status is ready. The recommended polling interval is once every 5 seconds. A task lives for 5 minutes; after that it expires and reserved funds are refunded.