wait_for_capture
Block until the next request arrives at a bin (or a timeout passes), then return it in full. Ideal flow: create_bin → configure the webhook sender → trigger it → wait_for_capture. If after_id is omitted, waits for the next capture after "now". Returns timed_out:true instead of erroring when nothing arrives.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bin | Yes | bin id or slug | |
| after_id | No | return the first capture with id greater than this; default = latest id at call time | |
| timeout_seconds | No | 1-45 seconds to wait (default 20) |