DealHub Refunds API

The Refunds API from DealHub — 2 operation(s) for refunds.

Operations 3

GET /refunds Get refunds #
POST /refunds Create and apply refund #
GET /refunds/{id} Get refund details #

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/dealhub-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 email required.

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

OpenAPI Specification

dealhub-refunds-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 1.0.0
  title: Subskribe Refunds API
servers:
- url: https://api.app.subskribe.com
security:
- ApiKeyAuth: []
tags:
- name: Refunds
paths:
  /refunds:
    get:
      tags:
      - Refunds
      summary: Get refunds
      description: Get all refunds for the specified account, OR if a credit memo number is specified in addition to the account id, get the details of only that.
      operationId: getRefunds
      parameters:
      - name: accountId
        in: query
        description: id of the account
        required: true
        schema:
          type: string
      - name: creditMemoNumber
        in: query
        description: id of a credit memo
        required: false
        schema:
          type: string
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RefundDetail'
    post:
      tags:
      - Refunds
      summary: Create and apply refund
      description: Creates and applies a refund per the specified parameters. On success the id of the refund is returned.
      operationId: createAndApplyRefund
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RefundRequestJson'
        description: refund request details json
        required: true
      responses:
        default:
          description: successful operation
  /refunds/{id}:
    get:
      tags:
      - Refunds
      summary: Get refund details
      description: Get the details of the specified refund.
      operationId: getRefundById
      parameters:
      - name: accountId
        in: query
        description: id of the account
        required: true
        schema:
          type: string
      - name: id
        in: path
        description: id of the refund
        required: true
        schema:
          type: string
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Refund'
components:
  schemas:
    RefundDetail:
      type: object
      required:
      - creditMemoNumber
      - currency
      - id
      - paymentId
      - refundDate
      - refundId
      properties:
        id:
          type: string
        refundId:
          type: string
        referenceId:
          type: string
        creditMemoNumber:
          type: string
        amount:
          type: number
        refundDate:
          type: integer
          format: int64
        paymentId:
          type: string
        paymentMethodType:
          type: string
        createdBy:
          type: string
        notes:
          type: string
        currency:
          type: string
        createdOn:
          type: integer
          format: int64
        updatedOn:
          type: integer
          format: int64
        eventObjectId:
          type: string
    RefundRequestJson:
      type: object
      required:
      - amount
      - createdBy
      - creditMemoNumber
      - paymentId
      - refundDate
      properties:
        creditMemoNumber:
          type: string
        paymentId:
          type: string
        amount:
          type: number
        refundDate:
          type: integer
          format: int64
        paymentMethodType:
          type: string
        createdBy:
          type: string
        notes:
          type: string
        referenceId:
          type: string
    Refund:
      type: object
      properties:
        id:
          type: string
        refundId:
          type: string
        referenceId:
          type: string
        tenantId:
          type: string
        entityId:
          type: string
        creditMemoNumber:
          type: string
        amount:
          type: number
        refundDate:
          type: integer
          format: int64
        paymentId:
          type: string
        paymentMethodType:
          type: string
        currencyCode:
          type: string
        notes:
          type: string
        createdBy:
          type: string
        createdOn:
          type: integer
          format: int64
        updatedOn:
          type: integer
          format: int64
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key