# Payment without fixed amount

**Payment without a fixed amount** is a type of payment in which the client can pay any amount at his discretion, but not less than the minimum amount, the payment will be automatically accounted by the system upon confirmation in the blockchain.

**In this case no payment form is formed, but only data for payment**, which can be built into the design of the merchant platform or chat bot.                             &#x20;

**Content Type: x-www-form-urlencoded, form-data**

**Request type: POST**

**Endpoint:**&#x20;

<pre><code><strong>https://app.0xprocessing.com/Payment
</strong></code></pre>

**Parameters:**

<table><thead><tr><th width="185">Name</th><th width="482">Description</th><th>Type</th></tr></thead><tbody><tr><td>Currency (Required field)</td><td>Payment <a href="../../../basic/general/available-assets#crypto-currencies">currency<br>Values</a></td><td>String</td></tr><tr><td>Email (Required field)</td><td>Payer's e-mail</td><td>String</td></tr><tr><td>FirstName</td><td>Payer's name</td><td>String</td></tr><tr><td>LastName</td><td>Payer's surname</td><td>String</td></tr><tr><td>ClientId (Required field)</td><td>Unique identifier of the user in the system from which the payment is made (e.g. client's id on your website)</td><td>String</td></tr><tr><td>MerchantID (Required field)</td><td>Unique Merchant ID in the system 0xProcessing. (Merchant account> Settings -> Merchant management)</td><td>String</td></tr><tr><td>BillingID</td><td>Unique payment identifier in the system from which the payment is made</td><td>String</td></tr></tbody></table>

**For a payment without a fixed amount, the response to the request will be:**

```json
{
  "id": 1000,
  "minimumAmount": 0.7,
  "address": "TJq434gdxEyaf8VdXa2YNwQousUkwHRJdi",
  "rate": 1.0004,
  "expDate": "2022-01-01T00:00:00.000000Z",
  "qrCode": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALkAAAC5CAYAA..."
}
```

{% hint style="warning" %}
When requesting a deposit of **XRP** currency and Ripple-based tokens, the "DestinationTag" parameter is also passed, which must be displayed in your payment form, since a client payment without Destanation Tag will be declined with the status canceled.
{% endhint %}

{% hint style="danger" %}
When requesting a deposit of **TON, USDT (TON), NOT (TON)** currencies, the "destinationTag" parameter is also passed, which must be displayed in your payment form, since a client payment without Destination Tag will be declined with the status canceled.
{% endhint %}

{% hint style="info" %}
In this kind of payment there is no test mode of payments, but if use the Test parameter, a test payment will be created, which will not be displayed in the merchant's account, do not need to transfer real funds to the test payment.\
For webhooks tests a request with the parameter **Test=True and a payment form with a fixed amount is used.**
{% endhint %}

{% hint style="info" %}
To display the QR code as an image, please add the QR code data to the "img" tag with the "src" attribute.
{% endhint %}

The deposits report can be implemented by means of webhooks or by checking of payment status.

{% content-ref url="../webhooks" %}
[webhooks](https://docs.0xprocessing.com/0xprocessing-api/webhooks)
{% endcontent-ref %}

{% content-ref url="broken-reference" %}
[Broken link](https://docs.0xprocessing.com/0xprocessing-api/deposits/broken-reference)
{% endcontent-ref %}
