Spree SDK
Apply store credit
Applies store credit to the cart during checkout.
POST
Spree SDK
Authorizations
Publishable API key for store access
JWT token for authenticated customers
Headers
Unique key for request idempotency.
Path Parameters
Cart prefixed ID (e.g., cart_abc123)
Body
application/json
Amount to apply (optional - defaults to max available)
Example:
10
Response
store credit applied

