Spree SDK
List store credits
Returns store credits for the authenticated customer, filtered by current store and currency. Supports Ransack filtering.
GET
Spree SDK
Filters
Filter withq[<attribute>_<predicate>]=value, for example q[amount_eq]=…. Send a list as q[<attribute>_in][]=a&q[<attribute>_in][]=b. How filters work.
Sort by:
amount, created_at, currency, customer_id, id, updated_at. Prefix a field with - to sort descending.Authorizations
Publishable API key for store access
JWT token for authenticated customers
Query Parameters
Set to true to apply from_gift_card.
Set to true to apply outstanding.
Comma-separated list of fields to include (e.g., amount,currency). id is always included.
Attribute filters, as q[<attribute>_<predicate>]=value. See Filters above for the list.

