create-invoice
Http verb - POST
Parameters
merchantAssetId - string - AssetId of merchant
customerAssetId - string - AssetId of client
merchantAmount - string - Amount of merchant
description - string - Description of invoice
locale - string - language invoice will be displayed in (optional)
Result
{
"StatusCode": 0,
"Data": {
"Id": "5fa579ba-5756-8bho-b143-87089cadcbab",
"Description": "test",
"MerchantCurrency": "gel",
"CustomerCurrency": "ltc",
"MerchantAmount": 100.0,
"CryptoAddress": "LXLiRgieBxyCbsbJnywMoRxFz6DrnAgggg",
"IssueDate": "2023-07-06 22:01:56 +04:00",
"IssueDateUnixTime": 1688666516,
"DueDate": "2023-07-06 22:06:56 +04:00",
"DueDateUnixTime": 1688666816,
"Url": "https://coinmania.ge/invoice/?invoiceGuid=5fa579ba-5756-4bb8-b259-87089cadcbab&l=1079",
"Status": 0
},
"Message": null
}
Response Description
Id - Guid - Unique identifier of the created invoice
Description - string - Description of invoice
MerchantCurrency - string - Currency of merchant
CustomerCurrency - string - Currency of client
Amount - decimal - Invoice total amount
CryptoAddress - Crypto address generated for invoice
IssueDate - string - Invoice creation date in ISO 8601 format
IssueDateUnixTime - int - Invoice creation date as Unix timestamp
DueDate - string - Invoice due date in ISO 8601 format
DueDateUnixTime - int - Invoice due date as Unix timestamp
Url - string - Url of Invoice receipt
Status - int - Status of API call
Example
/api/v2/invoicing/create-invoice/?merchantAssetId=gel&customerAssetId=ltc&merchantAmount=100&description=test&locale=ka