Retrieve an invoiceAsk AIget https://api.tryspeed.com/invoices/{id}Retrieve an invoice and all associated data.Path ParamsidstringrequiredPlease specify the id of an invoice.Headersspeed-versionstringenumDefaults to 2022-04-15In this parameter, you can specify the version you want. As of now, there are two versions (2022-04-15 and 2022-10-15). Version 2022-10-15 supports both on-chain and lightning payment methods. Whereas the 2022-04-15 version only supports lightning payments.2022-04-152022-10-15Allowed:2022-04-152022-10-15Response 200200Updated over 1 year ago