# SVD

You have 5 modes available:

* (no value): normal drop or restock mode
* `MONITOR`: monitors a specific pid for (eventually) a specific size range
* `AWAIT`: runner that waits once a MONITOR detects stock
* `ACCOUNT`: generates an account for the given username and password, don't forget to fill address too since it will be seeded into your account
* `ADDRESS`: removes any existing address into your account and it seeds a new one taking informations from your csv
* `SESSION`: generates a session for an existing account
* `FAST`: especially useful in case of shock drop/restocks that aren't being monitored in advance (you should be sure that a session for the given account is already available)

### Available payment methods

We currently support four different payment methods:

* `CC` for using a Credit card when checking out
* `PP` for using PayPal when checking out
* `PP ACO` for auto paying PayPal links (only available if an valid session is found, it falls back to normal PayPal checkout if ACO session is invalid or something goes wrong)

### Tasks setup

Here is a table that explains the meaning of every field and, if applicable, a default value.

| COLUMN NAME    | VALUE                                                                                                                                                                            |
| -------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| SITE           | SVD as a value                                                                                                                                                                   |
| MODE           | Empty or one as a reported above                                                                                                                                                 |
| PID            | Product SKU or product link, both ar valid                                                                                                                                       |
| QUANTITY       | Maximum 10                                                                                                                                                                       |
| DELAY          | In milliseconds (e.g. 3000 for 3 seconds delay)                                                                                                                                  |
| EMAIL          | Account email or @catchall.com when generating accounts                                                                                                                          |
| PASSWORD       | Account password (min 8 characters, at least an uppercase char, a lowercase char, a number and a special char)                                                                   |
| FIRST NAME     | Recipient name                                                                                                                                                                   |
| LAST NAME      | Recipient surname                                                                                                                                                                |
| ADDRESS LINE 1 | Recipient first address line                                                                                                                                                     |
| ADDRESS LINE 2 | Recipient second address line (optional)                                                                                                                                         |
| HOUSE NUMBER   | Recipient house no.                                                                                                                                                              |
| CITY           | Recipient city                                                                                                                                                                   |
| ZIPCODE        | Recipient zip code                                                                                                                                                               |
| STATE          | Recipient state. It has to be one picked from [here](https://pepperscripts.com/sites/svd)                                                                                        |
| COUNTRY        | A 2-letters country ISO Code (e.g. `GB` for UK)                                                                                                                                  |
| PHONE          | With country prefix like +44123456789                                                                                                                                            |
| PAYMENT        | `PP`, `CC` or `PP ACO`                                                                                                                                                           |
| CARD HOLDER    | Match the real data, they are used to cancel                                                                                                                                     |
| CARD NUMBER    | Card number                                                                                                                                                                      |
| EXP MONTH      | Two digits (e.g `02` or `12`)                                                                                                                                                    |
| EXP YEAR       | Four digits (e.g. `2026)`                                                                                                                                                        |
| CVV            | Credit card CVV                                                                                                                                                                  |
| WEBHOOK        | If empty the one set up in `settings.json` will be used                                                                                                                          |
| PROXY          | <p>Has te the exact filename, don't forget the extension name like <code>.txt</code> (e.g. <code>svd.resi.txt).</code><br></p><p>If empty <code>svd.txt</code> will be used.</p> |

{% hint style="info" %}
You **must** have a CapSolver key set up in your settings.json, a captcha is required in order to checkout on this site.
{% endhint %}

### Accounts generator

You can generate an account by using `ACCOUNT` as a mode and as `EMAIL` you can use:

* specific email like `svd@pepperscripts.com`
* your catchall like `@pepperscripts.com` (don't prefix it with RANDOM!)

In case you are going to use your catchall, first name and last name will be used in order to generate a random email prefix.

{% hint style="info" %}
Basically every recipient component can be jigged with the XXX trick: put as many uppercase X (2 minimum) and they will be replaced with a random letter.

If you want you can also jig your phone number. So using like +4476XXXXXX will generate something like +4476112234.
{% endhint %}

### Example taskfile

Here is an example task file:

{% file src="/files/iesCmDdvDJ1aQrPMGYTg" %}

In the example task we have 3 `MONITOR` tasks that are going to monitor three different products for the same size range `36-39`.

Two `AWAIT` tasks that, once prepared their session for a faster checkout, will listen for a `MONITOR` input. \
The first one will accept ANY product, the second one will accept only monitors that detects stock for product `FQ8138-001`. Other restocks will be ignored.

In the end two alone wolfs (the ones with `MODE` field empty) that will run independently from other tasks.

{% hint style="info" %}
Doing a proper usage of MONITOR and AWAIT mode will **drastically** reduce your proxy data consumption.
{% endhint %}

You can edit this file by using [Rons editor](https://www.ronsplace.ca/products/ronseditor).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pepperscripts.com/supported-sites-cli/svd.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
