Docs 0xProcessing
  • 💡Basic
    • General
      • Terms and definitions
      • Available assets
      • Transaction Fees
    • Introduction guide
      • Deposit flow
      • Payment form
      • Withdrawal flow
      • VRCS - automatic conversion to stablecoins
      • Webhooks flow
      • Web3 processing
      • 0xProcessing use cases
  • 🔑0xProcessing API
    • Obtaining API Keys
    • Deposits
      • Payment form with fixed amount
      • Payment without fixed amount
      • Static wallet
    • Withdrawals
      • Withdrawal by client
      • Check withdrawal status by Withdrawal ID
    • Webhooks
      • Payment form with fixed amount
      • Payment without fixed amount
      • Static wallet
      • Withdrawals
    • Informational Commands
      • Request for balances
      • Coin info
    • Crypto or Fiat Equivalent
      • Fiat currency conversion
      • Conversion of fiat currencies into cryptocurrency
      • Conversion of cryptocurrencies into fiat currencies
      • List of supported fiat currencies for conversion
    • Errors
  • âš¡Web3 processing API
    • Introduction
    • Web3 pool API
  • 🚀Quick start
    • Account registration
    • API set up
    • Setting up Webhooks
    • Payment confirmation
    • Managing withdrawals
    • Create a Manager role
    • Currency management
    • VRCS setup
    • Balance management
    • Transactions and address tracking
    • Notifications
    • Account security
    • Match Crypto Wallet Addresses
  • 🔄FAQ
Powered by GitBook
On this page
  1. 0xProcessing API
  2. Deposits

Payment without fixed amount

Create flexible payment forms without fixed amounts, enabling convenience for your customers and flexibility for your business in crypto payments.

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-urlencoded, 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.

PreviousPayment form with fixed amountNextStatic wallet

Last updated 3 months ago

Payment

🔑
Webhooks
currency Values