v1
latestOpenAPI 3.1.02026-07-1421034.9 KBgetInvoice
Get invoice details, by number
get/getInvoice/{invoice_number}
Path parameters
invoice_numberstring required
The invoice number
Headers
AUTHORIZATIONstring required
Your merchant private API key
Request body
{"stackTrail":"paths:/getInvoice/{invoice_number}:get:requestBody:content:application/json:schema","oasType":"schema","type":"unknown"}
Response
200
Example response
{
"number": "9C2XE4QKRM",
"asset": "TON",
"blockchain": "TON",
"network": "mainnet",
"status": "completed",
"amount": "1.015228430000000000",
"description": "Lugo Network monthly plan",
"checkout_url": "https://telepay.cash/checkout/9C2XE4QKRM",
"onchain_url": "ton://transfer/EQA5Pxp_EC9pTlxrvO59D1iqBqodajojullgf07ENKa22oSN?amount=1015228430&text=9C2XE4QKRM",
"success_url": "https://t.me/LugoNetworkBot?start=success_ton",
"cancel_url": "https://t.me/LugoNetworkBot?start=cancel_ton",
"expires_at": "2022-04-14T08:07:23.419868Z",
"created_at": "2022-04-14T07:07:23.420003Z",
"updated_at": "2022-04-14T08:27:31.614730Z"
}