getInvoice

Parameters
apiKey - Merchant API key
invoiceGuid - invoice Guid

Result
Function will return Invoice structure:

{
    "Message": "Success",
    "Data": {
        "InvoiceGuid": "4c112345-b29f-4666-a2ad-723872326aeb",
        "Amount": 1.01,
        "Description": "invoice sample",
        "IssueDate": "2020-04-13T23:11:42.0042931+04:00",
        "IssueDateUnixTime": 1586805102,
        "DueDate": "2020-04-13T23:16:42.0062931+04:00",
        "DueDateUnixTime": 1586805402,
        "Url": "",
        "Status": "payed",
        "StatusId": 10
    },
    "ErrorCode": 0
}

Example
/api/v1/getInvoice/?apiKey={YOUR_API_KEY}&invoiceGuid={INVOICE_GUID}

Comments