The Lightrail Stripe Ruby Sample Code by Lightrail demonstrates how to interact with the API. Accurate usage shows how a client can acquire and retain customers using account credits, gift cards, promotions, and points.