KodexPay Docs
Search
K

Create Payment

Create the Payment Request, this Payment Request return info about the payment and will notify automatically to the Webhook Project
post
https://api.kodexpay.com/api/v1/payment

Description parameters:

token *
Select the currency in which you send the amount in the quantity parameter

Accepted currencies

  • trx for Tron (Trx)
  • usdtt for USDT (TRC20)
  • usdte for USDT (ERC20)
  • bnb for Binance Coin (BNB)
  • kxp for KodexPay (KXP)
  • btc for Bitcoin (BTC)
quantity *
Send the amount you want to charge in your local currency, that is, in the token parameter.
Ej: 10 USDTT = 10 USDT (TRON20)
paymentToken *
Select the currency in which you want to charge. For example btc.
If you send as a token 10 usdtt and you want to charge in btc, we will make the currency conversion

Accepted currencies

  • trx for Tron (Trx)
  • usdtt for USDT (TRC20)
  • usdte for USDT (ERC20)
  • bnb for Binance Coin (BNB)
  • kxp for KodexPay (KXP)
  • btc for Bitcoin (BTC)
invoiceNumber *
Send an identifier of the invoice in your system, this will help us identify the payment once we run the webhook.
purchaseEmail
Easily identify the buyer with their email
purchaseName
Easily identify the buyer with their name
itemNumber
Send the amount of products you buy
If you send the amount in 0, the value of the invoice will be taken according to the amount sent by the user