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

# Function: useStellarPay()

# Function: useStellarPay()

> **useStellarPay**(): [`UseStellarPayResult`](/sdk-reference/react-native/src/interfaces/UseStellarPayResult)

Defined in: packages/react/dist/index.d.ts:52

The split prepare/sign/(pay) surface from the core client, made reactive
(README §4.6). `prepare`/`sign` are exposed separately so the dashboard can sign
in the browser and relay through its own BFF instead of calling `send`. `reset`
returns the store to `idle`.

## Returns

[`UseStellarPayResult`](/sdk-reference/react-native/src/interfaces/UseStellarPayResult)
