Наша команда поддержки готова помочь вам 24/7.

Служба поддержки и технические вопросы

telegram

Связаться в Telegram

API for developers
Creating a payment invoice

Create invoice

Endpoint: /api/einvoice/create

Parameters:

Example: { "payment_id": 123, "currency": "visamaster.uah", "amount": 100.00, "description": "Some payment description", "sender": "4444111144441111", "success_url": "https://test.ua/success/123", "fail_url": "https://test.ua/fail/123", "status_url": "https://test.ua", "extra_fields": { "field_name":"field_value", ... } }

If the payment order is created successfully, its tracking number will be returned. If the creation of the payment order fails, an error with its description will be returned.

Example of a successful request: { "tracking": "79DF-60B0-17F6", "payment_id": 2б }

Example of an unsuccessful request: { "error": { "code": 0, "message": "Transaction already exists" } }

Field Description
payment_id Invoice number in the merchant's accounting system
currency Digital currency to be accepted. Available currencies:
Bank Transfer, NGN - bank.ngn
Bitcoin, BTC - bitcoin
Bitcoin Cash, BCH - bitcoin_cash
ChainLink, LINK - link
Ethereum, ETH - ethereum
IMPS, INR - imps.inr
Litecoin, LTC - litecoin
Monero, XMR - monero
MOOV Togo, XOF - moov-togo.xof
PayTM, INR - paytm.inr
Phone PE, INR - phonepe.inr
T-Money, XOF - tmoney.xof
Tether ERC20, USDT ERC20 - usdt_erc20
Tether TRC20, USDT TRC20 - usdt_trc20
Tron, TRX - tron
UPI, INR - upi.inr
USDC TRC20, USDC TRC20 - usdc_trc20
Verve, NGN - verve.ngn
VisaMaster, UAH - visamaster.uah
VisaMaster, USD - visamaster.usd
VisaMaster, NGN - visamaster.ngn
VisaMaster, XOF - visamaster.xof
amount Payment amount (excluding system commission). Pennies are separated by a dot
account User identifier in the merchant's system (account number or any other unique identifier)
description Payment description
sender Wallet number from which the payment should be made (Without spaces or separators). Optional parameter
success_url URL to which the user will be redirected in case of successful payment
fail_url URL to which the user will be redirected in case of unsuccessful payment
status_url URL to which a GET request will be sent when the invoice reaches its final status (optional parameter. If absent, no request will be sent)
extra_fields This field is used to transmit additional parameters required by specific payment systems. The list of fields is available at /api/extrafields/list