Release Notes - May 2024
We’re laser-focused on making sure using Lightspark’s products and services for Lightning is easy, intuitive, and simple. In the last few weeks, the product and engineering teams have launched several enhancements to the platform to simplify debugging and enhance security.
Here’s an overview of what we’ve been working on.
Webhook Logs
With the addition of Webhook logs, you can investigate and debug your implementation faster. You can find webhook logs in your webhook config under the Developers > Webhooks.
Webhook logs, designed for efficiency and speed, display a comprehensive list of all webhooks sent, your response, triggering event, related entity, and last attempt time. You can filter by time range, status, related entity, or event type, empowering you to quickly find the information you need.
Clicking on a webhook in the list opens a detailed view that provides more information on the webhook, such as the request body and number of retries.
Security Reporting
With our Security log, which can be found in the Account view - you can now audit all actors and their actions on your account
On the Security log page, you’ll see the full list of events associated with your account. You can click to see more details about the action that occurred.
Idempotency
Lightspark now supports idempotency on the pay_invoice, send_payment, and request_withdrawal requests. Idempotency enables integrators to recover from network or service failures. For example, if the network becomes disconnected during a payment request, integrators can’t determine if the request succeeded or failed. Trying the same request again may result in a duplicate payment
With idempotency, integrators will pass a unique key in the idempotency_key field. If an issue occurs during the request, integrators can retry the request with the same key. If Lightspark has previously processed the request, Lightspark will use the idempotency_key value to dedupe and return the previously returned result. Otherwise, Lightspark will process the request normally.
Below is an example of setting the idempotency_key on a withdrawal request with our Python SDK.
Thanks for taking the time to learn more about the Lightspark platform. As always, you can reach us at support@lightspark.com if you have any additional questions or clarifications.