License one use of a photo
num_license_photoBuys one use of one photo from this account's prepaid photo wallet and returns the license and a download link to the file (metadata removed). max_price_cents is the most the operator agreed to pay; a higher current price is refused with the quote and nothing is charged. In a live drop the price rises after every license, so another buyer can move it first: within max_price_cents the purchase goes through at the new price, above it you get price_moved with the new quote and nothing is charged. Re-sending the same idempotency_key returns the same license instead of buying again. Spending is capped per UTC day. While NUM's licensing is in its test run, purchases use test credit and no money moves; the response says test: true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| use | Yes | ||
| photo_id | Yes | From num_search_photos. | |
| idempotency_key | No | Your own key for this purchase; a retry with the same key never buys twice. | |
| max_price_cents | Yes | The most the operator agreed to pay for this use, in US cents. |