> ## Documentation Index
> Fetch the complete documentation index at: https://docs.spark.money/llms.txt
> Use this file to discover all available pages before exploring further.

# getLightningReceiveRequest

> Check status of a Lightning invoice.

Gets the status of a Lightning receive request (invoice) for the `SparkWallet`.

## Method Signature

```typescript theme={null}
async getLightningReceiveRequest(id: string): Promise<LightningReceiveRequest | null>
```

## Parameters

<ResponseField name="id" type="string" required>
  The ID of the invoice to check
</ResponseField>

## Returns

<ResponseField name="request" type="LightningReceiveRequest | null" required>
  The Lightning receive request details or null if not found
</ResponseField>

## Example

```typescript theme={null}
const receiveRequest = await wallet.getLightningReceiveRequest("request-id");
if (receiveRequest) {
  console.log("Invoice status:", receiveRequest.status);
}
```
