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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/snipcart-refunds-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
openapi: 3.2.0
info:
title: Snipcart REST AbandonedCarts Refunds API
description: 'The Snipcart REST API provides programmatic access to your store''s data including orders, customers, products, discounts, notifications, abandoned carts, domains, refunds, user sessions, and custom shipping methods. Authentication uses HTTP Basic Auth with a secret API key generated from the merchant dashboard. All requests must include an Accept: application/json header.
'
version: '3.0'
contact:
name: Snipcart Support
url: https://snipcart.com
license:
name: Proprietary
url: https://snipcart.com/terms-of-service
servers:
- url: https://app.snipcart.com/api
description: Snipcart API
security:
- basicAuth: []
tags:
- name: Refunds
description: Manage order refunds
paths:
/orders/{token}/refunds:
get:
summary: List order refunds
operationId: listOrderRefunds
description: Returns all refunds for a specific order.
tags:
- Refunds
parameters:
- $ref: '#/components/parameters/orderToken'
responses:
'200':
description: List of refunds
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Refund'
post:
summary: Create refund
operationId: createRefund
description: Creates a new refund for an order.
tags:
- Refunds
parameters:
- $ref: '#/components/parameters/orderToken'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- amount
properties:
amount:
type: number
format: float
description: Amount to refund
comment:
type: string
description: Reason for refund
responses:
'200':
description: Created refund
content:
application/json:
schema:
$ref: '#/components/schemas/Refund'
/orders/{token}/refunds/{id}:
get:
summary: Get refund
operationId: getRefund
description: Returns a particular refund for a specific order.
tags:
- Refunds
parameters:
- $ref: '#/components/parameters/orderToken'
- $ref: '#/components/parameters/refundId'
responses:
'200':
description: Refund details
content:
application/json:
schema:
$ref: '#/components/schemas/Refund'
'404':
description: Refund not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
components:
schemas:
Refund:
type: object
properties:
id:
type: string
amount:
type: number
format: float
comment:
type: string
refundedOn:
type: string
format: date-time
Error:
type: object
properties:
message:
type: string
details:
type: array
items:
type: string
parameters:
refundId:
name: id
in: path
required: true
description: Unique refund identifier
schema:
type: string
orderToken:
name: token
in: path
required: true
description: Unique order token
schema:
type: string
securitySchemes:
basicAuth:
type: http
scheme: basic
description: 'Use your secret API key as the username with an empty password. Base64-encode as {API_KEY}: and pass as Authorization: Basic {encoded}.
'