> For the complete documentation index, see [llms.txt](https://docs.ordinalsbot.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ordinalsbot.com/marketplace-1/create-padding-outputs.md).

# Create padding outputs

Use this endpoint to create a transaction that will create padding outputs for the buyer.\
\
This returns a PSBT in base64 format which needs to be signed and broadcast by the buyer's payment wallet address.

### `POST` Create padding outputs for buyer

## Create a transaction to setup padding outputs for buyer

<mark style="color:green;">`POST`</mark> `https://api.ordinalsbot.com/marketplace/setup-padding-ouputs`

API Key is required in the header:

`headers: { 'x-api-key': '<YOUR_API_KEY>', ...otherHeaders }`

#### Request Body

| Name                                        | Type   | Description                                                                                                                                                               |
| ------------------------------------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| address<mark style="color:red;">\*</mark>   | String | Buyer's payment wallet address. The buyer will need to pay the cost of the transaction from UTXOs belonging to this address.                                              |
| publicKey<mark style="color:red;">\*</mark> | String | Public Key for buyer's payment wallet address.                                                                                                                            |
| feeRateTier                                 | String | <p>Transaction fee rate should be one of the following. Defaults to fastestFee if not specified:<br><br>fastestFee<br>halfHourFee<br>hourFee<br>minimumFee</p><p><br></p> |
| numOfOutPuts                                | number | Number of dummy padding outputs to create. This defaults to 3 if not specified                                                                                            |

{% tabs %}
{% tab title="200: OK " %}

```json

{
    "psbt": "cHNidP1BAP15AQIAAAAE1K5...........", // base64 transaction to be signed
}

```

{% endtab %}

{% tab title="500: Internal Server Error " %}

```json
{
    status: 'error',
    error: 'error reason'
}
```

{% endtab %}
{% endtabs %}
