TrustFabric Gift Cards API

Stored-value gift card issuance, redemption, reloading, and balance management

GitHub OpenAPI

Operations 9

GET /v1/gift-cards List gift cards #
POST /v1/gift-cards Create gift card #
GET /v1/gift-cards/lookup Lookup by code #
GET /v1/gift-cards/{id} Get gift card #
GET /v1/gift-cards/{id}/balance Check balance #
POST /v1/gift-cards/{id}/cancel Cancel gift card #
POST /v1/gift-cards/{id}/load Load funds #
POST /v1/gift-cards/{id}/redeem Redeem gift card #
GET /v1/gift-cards/{id}/transactions Get transactions #

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/trustfabric-ai:trustfabric-ai-gift-cards-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

trustfabric-ai-gift-cards-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    name: No Fate Platform
  description: 'Complete payment processing platform with PSP parity: payments, settlements, disputes, billing, payouts, verification, webhooks, and platform management. Supports date-based API versioning via the API-Version header (default: 2025-01-01). All amounts are in minor units (cents). All timestamps are RFC 3339 UTC.'
  title: No Fate Payment Platform Gift Cards API
  version: 1.0.0
  x-api-versioning: Date-based (YYYY-MM-DD) via API-Version header. See /v1/versions for all supported versions.
servers:
- description: Current environment
  url: /
security:
- BearerAuth: []
tags:
- description: Stored-value gift card issuance, redemption, reloading, and balance management
  name: Gift Cards
paths:
  /v1/gift-cards:
    get:
      description: List gift cards with optional status filter
      responses:
        '200':
          description: Success
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Rate limited
        '500':
          description: Internal server error
      summary: List gift cards
      tags:
      - Gift Cards
      operationId: getV1GiftCards
      x-operation-id-source: derived
    post:
      description: Issue a new stored-value gift card
      responses:
        '200':
          description: Success
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Rate limited
        '500':
          description: Internal server error
      summary: Create gift card
      tags:
      - Gift Cards
      operationId: postV1GiftCards
      x-operation-id-source: derived
  /v1/gift-cards/lookup:
    get:
      description: Look up a gift card by its code
      responses:
        '200':
          description: Success
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Rate limited
        '500':
          description: Internal server error
      summary: Lookup by code
      tags:
      - Gift Cards
      operationId: getV1GiftCardsLookup
      x-operation-id-source: derived
  /v1/gift-cards/{id}:
    get:
      description: Retrieve a gift card by ID
      responses:
        '200':
          description: Success
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Rate limited
        '500':
          description: Internal server error
      summary: Get gift card
      tags:
      - Gift Cards
      operationId: getV1GiftCardsById
      x-operation-id-source: derived
  /v1/gift-cards/{id}/balance:
    get:
      description: Check the balance of a gift card
      responses:
        '200':
          description: Success
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Rate limited
        '500':
          description: Internal server error
      summary: Check balance
      tags:
      - Gift Cards
      operationId: getV1GiftCardsByIdBalance
      x-operation-id-source: derived
  /v1/gift-cards/{id}/cancel:
    post:
      description: Cancel a gift card
      responses:
        '200':
          description: Success
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Rate limited
        '500':
          description: Internal server error
      summary: Cancel gift card
      tags:
      - Gift Cards
      operationId: postV1GiftCardsByIdCancel
      x-operation-id-source: derived
  /v1/gift-cards/{id}/load:
    post:
      description: Add funds to an existing gift card
      responses:
        '200':
          description: Success
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Rate limited
        '500':
          description: Internal server error
      summary: Load funds
      tags:
      - Gift Cards
      operationId: postV1GiftCardsByIdLoad
      x-operation-id-source: derived
  /v1/gift-cards/{id}/redeem:
    post:
      description: Redeem an amount from a gift card balance
      responses:
        '200':
          description: Success
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Rate limited
        '500':
          description: Internal server error
      summary: Redeem gift card
      tags:
      - Gift Cards
      operationId: postV1GiftCardsByIdRedeem
      x-operation-id-source: derived
  /v1/gift-cards/{id}/transactions:
    get:
      description: List transactions for a gift card
      responses:
        '200':
          description: Success
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Rate limited
        '500':
          description: Internal server error
      summary: Get transactions
      tags:
      - Gift Cards
      operationId: getV1GiftCardsByIdTransactions
      x-operation-id-source: derived
components:
  securitySchemes:
    BearerAuth:
      bearerFormat: API Key
      description: 'API key authentication: sk_live_* (legacy) or rk_live_* (scoped)'
      scheme: bearer
      type: http
    SessionAuth:
      description: Session-based authentication for dashboard access
      in: cookie
      name: session_id
      type: apiKey