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 form with fixed amount

Set up fixed amount payment forms to provide predictable, seamless, and efficient crypto transactions for businesses and their customers.

Amount of this payment cannot be changed by Client (but Merchant could provide options). Payment is considered paid when received amount is more of equal to payment amount, otherwise payment will be unsuccessful and will be awaiting for Merchant's confirmation.

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

Request type: POST

Endpoint:

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

Parameters:

Name
Description
Type

Amount

Payment amount in cryptocurrency. Optional parameter if AmountUsd is passed

Double

AmountUSD

Payment amount in USD (equivalent). Optional parameter if Amount is passed

Double

Currency (Required field)

String

Email (Required field)

Client's e-mail

String

FirstName

Client's first name

String

LastName

Client's last name

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

String

BillingID

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

String

Test

In order to use this parameter, you have to be logged into the Merchant account. If authorization has been passed and the request is sent with Test=true, you will see three buttons on the payment form "Confirm payment", "Cancel payment","Insufficient", by clicking on which your WebhookUrl will receive corresponding callbacks. The total number of attempts sent is 30, and the interval between attempts is 15 seconds. Test payments are not displayed in your shop and are not counted

Boolean

ReturnUrl

If ReturnUrl = true, you will receive a payment form as a RedirectURL, which you can set as an iFrame on your side

Boolean

CancelUrl

The address to which the Cancel button will be redirected from the payment form. The address must support SSL

String

SuccessUrl

The address to which the Back to website button will be redirected from the payment form. The address must support SSL

String

AutoReturn

True if the user needs to be automatically redirected from the form to SuccessUrl after confirming the transactions in the blockchain

Boolean

Example request:


        <form action="https://app.0xprocessing.com/Payment" method="post">
                <input type="hidden" name="test" value="false" />
                <input type="hidden" name="email" value="test@test.com" />
                <input type="hidden" name="name" value="name" />
                <input type="hidden" name="lastname" value="lastname" />
                <input type="hidden" name="amount" value="115" />
                <input type="hidden" name="currency" value="BTC" />
                <input type="hidden" name="MerchantId" value="Asv0232SSd" />
                <input type="hidden" name="ClientId" value="1000" />
                <input type="hidden" name="BillingId" value="13304" />
                <button type="submit">Send</button>
        </form>
                

Reply- in response to the above mandatory parameters, sent to https://app.0xprocessing.com/Payment, a payment form will be generated and shown to the payer to make the payment.

An example of the response when ReturnUrl = true:

   {
    "redirectUrl": "https://app.0xprocessing.com/Payment/Details/765ecbfa-13f5-4f49-83e9-ee468085c473",
    "id": 264239
   }                

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

PreviousDepositsNextPayment without fixed amount

Last updated 3 months ago

Payment

It indicates whether the payment will be a test payment. This parameter is optional and should only be used for

🔑
Webhooks
testing of callbacks.
currency Values