Наша команда поддержки готова помочь вам 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:
Airtel Money, MGA - airtel.mga
Airtel Money, USD CONGO - airtel-congo.usd
Airtel Money, CDF CONGO - airtel-congo.cdf
Bank Transfer, NGN - bank.ngn
Bitcoin, BTC - bitcoin
Bitcoin Cash, BCH - bitcoin_cash
ChainLink, LINK - link
Ethereum, ETH - ethereum
Expresso, XOF SENEGAL - expresso-senegal.xof
FreeMoney, XOF SENEGAL - free_money-senegal.xof
IMPS, INR - imps.inr
Litecoin, LTC - litecoin
Monero, XMR - monero
MOOV, XOF TOGO - moov-togo.xof
MOOV, XOF CI - moov-ci.xof
MOOV, XOF BENIN - moov-benin.xof
MOOV, XOF MALI - moov-mali.xof
MOOV, XOF BURKINA-FASO - moov-burkina-faso.xof
MPesa, USD CONGO - mpesa-congo.usd
MPesa, CDF CONGO - mpesa-congo.cdf
MTN, XOF TOGO - mtn-togo.xof
MTN, XOF CI - mtn-ci.xof
MTN, XOF BENIN - mtn-benin.xof
MTN, GNF GUINEA - mtn-guinea.gnf
MVola, MGA - mvola.mga
Orange Money, MGA - orange_money.mga
Orange Money, XOF TOGO - orange_money-togo.xof
Orange Money, XOF CI - orange_money-ci.xof
Orange Money, XOF BENIN - orange_money-benin.xof
Orange Money, XOF SENEGAL - orange_money-senegal.xof
Orange Money, XOF BURKINA-FASO - orange_money-burkina-faso.xof
Orange Money, XOF MALI - orange_money-mali.xof
Orange Money, USD CONGO - orange_money-congo.usd
Orange Money, CDF CONGO - orange_money-congo.cdf
Orange Money, GNF GUINEA - orange_money-guinea.gnf
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
Vanilla Pay, MGA - vanilla_pay.mga
Verve, NGN - verve.ngn
VisaMaster, UAH - visamaster.uah
VisaMaster, USD - visamaster.usd
VisaMaster, NGN - visamaster.ngn
VisaMaster, XOF - visamaster.xof
Wave, XOF SENEGAL - wave-senegal.xof
Wave, XOF CI - wave-ci.xof
WizAll, XOF SENEGAL - wiz_all-senegal.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