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.

Content Type: x-www-form-urluncoded, form-data

Request type: POST

Endpoint:

https://app.0xprocessing.com/Payment

Parameters:

Name
Description
Type

Currency (Required field)

String

Email (Required field)

Payer's e-mail

String

FirstName

Payer's name

String

LastName

Payer's surname

String

ClientId (Required field)

Unique identifier of the user in the system from which the payment is made (e.g. client's id on your website)

String

MerchantID (Required field)

Unique Merchant ID in the system 0xProcessing. (Merchant account> Settings -> Merchant management)

String

BillingID

Unique payment identifier in the system from which the payment is made

String

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

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

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.

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.

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.

To display the QR code as an image, please add the QR code data to the "img" tag with the "src" attribute.

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

Last updated