# Quick start sandbox in your app

<p class="callout success">**Info:** Remember that this is a sandbox version. This means that the transaction is a test. No fees will be charged for executing payment.</p>

#### The required steps for setting up a Paytool sandbox in your application

<table border="1" id="bkmrk-1.-place-this-button" style="border-collapse: collapse; width: 100%; height: 1622.03px; border-width: 0px; border-style: hidden;"><colgroup><col style="width: 99.9675%;"></col></colgroup><tbody><tr><td style="border-width: 0px;">1\. Call Paytool API by executing transaction initialization method. You can use the cURL below to do it.

</td></tr><tr><td style="border-width: 0px;">```json
curl --location 'https://paytool-api.verestro.dev/external-api/transactions' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic bWVyY2hhbnRfcGF5dG9vbF9kZW1vOmthcHNhbG9uUGFzcw==' \
--data-raw '{
  "amount": 100,
  "autoDeposit": true,
  "currencyCode": "PLN",
  "description": "Test transaction",
  "merchantUrl": "https://paytool.verestro.dev/demo/",
  "redirectUrl": {
    "successUrl": "https://paytool.verestro.dev/demo/",
    "failureUrl": "https://paytool.verestro.dev/demo/"
  },
  "sender": {
    "firstName": "John",
    "lastName": "Doe",
    "email": "testjohn@gmail.com",
    "address": {
      "countryCode": "PL",
      "city": "Warszawa",
      "postalCode": "03-672",
      "street": "Promienna",
      "houseNumber": "10"
    }
  }
}'
```

</td></tr><tr style="height: 45.5938px;"><td style="height: 45.5938px; border-width: 0px;">2. In the response to the cURL call, we will return the `transactionId` and the URL to which you should redirect the payer. This URL   
address will open the Paytool view shown below:</td></tr><tr style="height: 481.891px;"><td style="height: 481.891px; border-width: 0px;">[![Paytool-main-view-PO.png](https://developer.verestro.com/uploads/images/gallery/2025-05/scaled-1680-/paytool-main-view-po.png)](https://developer.verestro.com/uploads/images/gallery/2025-05/paytool-main-view-po.png)

</td></tr></tbody></table>