Medusa Store Credit Accounts API

A store credit account is a ledger of store credit transactions for a customer. They hold the customer's store credit balance, including their credit and debit amounts. Store credit accounts allow you to build features that let customers pay for items using their store credit balance, such as gift cards or loyalty points. These API routes allow admin users to manage store credit accounts, their transactions, and more. Store Credit Account routes are only available for Cloud users using the [Loyalty Plugin](https://docs.medusajs.com/resources/commerce-modules/loyalty).

Operations 8

GET /admin/store-credit-accounts List Store Credit Accounts #
POST /admin/store-credit-accounts Create Store Credit Account #
GET /admin/store-credit-accounts/{id} Get a Store Credit Account #
POST /admin/store-credit-accounts/{id}/credit Add Credit to Store Credit Account #
GET /admin/store-credit-accounts/{id}/transactions List Transactions #
GET /store/store-credit-accounts List Customer's Store Credit Accounts #
POST /store/store-credit-accounts/claim Claim a Store Credit Account #
GET /store/store-credit-accounts/{id} Get Customer's Store Credit Account #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/medusa-store-credit-accounts-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

medusa-store-credit-accounts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Medusa Store Credit Accounts API
  version: 2.19.0
  description: 'Operations tagged Store Credit Accounts across 2 of this provider''s published API definitions: medusa-admin-openapi.yaml, medusa-store-openapi.yaml. Each path carries the servers of the definition it was published in.'
servers:
- url: http://localhost:9000
- url: https://api.medusajs.com
tags:


# --- truncated at 32 KB (101 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/medusa/refs/heads/main/openapi/medusa-store-credit-accounts-api-openapi.yml