Types

List of available API types.

Table of contents:

PaymentResult

Name Type Description Required
idintid of the paymentyes
hash_idstringhash id of the paymentyes
created_atintpayment creation time (unix)yes
expires_atintpayment expiration time (unix)yes
paid_atintpayment time (unix)no
testbooltestnet paymentyes
titlestringtitle of the paymentyes
descriptionstringdescription of the payment (empty if not provided)yes
currencystringcurrency of the payment (USD, TON etc)yes
amountstringamount of the payment as an integer in nanosyes
statusstringstatus of the payment (pending, successful, failed)yes
fail_reasonstringreason of failure (empty if not failed)yes
payloadstringpayload of the payment (empty if not provided)yes
commentstringcomment of the paymentyes
to_pay_currencystringselected payment currencyno
to_pay_amountstringselected payment currency amount (in nanos)no
to_pay_dateintselected payment time (unix)no
exchange_ratestringpayment exchange rate (in nanos)no
sender_addressstringsender wallet addressno
receiver_addressstringreceiver wallet addressno
redirect_urlstringurl to redirect after payment (successful or failed)no
urlstringcheckout urlyes
blockchain_transactionsstringpayment transactions (separated by coma)no
methodsarray of PaymentMethodResultpayment methodsyes

PaymentMethodResult

Name Type Description Required
namestringname of the methodyes
currencystringcurrency of the methodyes
qr_code_url_pngstringqr code url as pngyes
qr_code_url_svgstringqr code url as svgyes
urlstringmethod urlyes
Last Updated:
Contributors: Davyd Kohut