Start Rental Tool
start-rental-toolOrder phones by returning a Stripe Checkout link. Nothing is charged there: the link saves the user's card and holds one month per phone on it. The order then waits for an admin to assign concrete phones, and the held amount is charged when they are assigned, or earlier if an admin confirms the order can be fulfilled. Ask for one country with phones (plus an optional country), or spread the order across several with items. Requires accept_terms: true — before calling, show the user https://0bull.net/terms and https://0bull.net/privacy and get their agreement to them and to monthly renewal charges per assigned phone. Give the link to the user, then poll get-billing-tool to see the order and the phones arrive.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | Phones per country, for an order spanning several: a list of {country, quantity} objects with any ISO 3166-1 alpha-2 country, at most 10 rows, 50 phones in total. Give this or `phones`. | |
| phones | No | How many phones to order in one country, 1 to 50. Give this or `items`. | |
| country | No | ISO-2 country for `phones`, e.g. ES, US or JP. Any ISO 3166-1 alpha-2 code. Defaults to ES. | |
| accept_terms | Yes | Required, must be true. Before calling, show the user https://0bull.net/terms and https://0bull.net/privacy and get their agreement to them and to monthly renewal charges for each assigned phone until they cancel it. |