createInvoice

Parameters
apiKey. guid. Merchant API key
amount. decimal. Invoice total amount in Georgian Lari
description. string. Invoice description

Result

Function will return Invoice structure:
{
    "Message": "Success",
    "Data": {
        "InvoiceGuid": "4c112345-b29f-4666-a2ad-723872326aeb",
        "Amount": 1.2,
        "Description": "Book by Alber Camus: Stanger",
        "IssueDate": "2020-04-13T23:11:42.0042931+04:00",
        "IssueDateUnixTime": 1586805402,
        "DueDate": "2020-04-13T23:11:42.0042931+04:00",
        "DueDateUnixTime": 1586805402,
        "Url": "coinmania.exchange"
    },
    "ErrorCode": 0
}

Example

/createInvoice/?apiKey=YOUR_API_KEY&amount=1&description=Coca cola

Comments

Popular posts from this blog

nGEL - სტაბილური კრიპტოვალუტა

nGEL: Stablecoin equal to 1 GEL