Hostfully Transactions API

The Transactions API from Hostfully — 2 operation(s) for transactions.

GitHub OpenAPI
Business capability
Booking Payment & Settlement BC-4020.60

Operations 3

GET /api/v3.3/transactions Get transactions for an order #
POST /api/v3.3/transactions Create transaction for an order #
GET /api/v3.3/transactions/{uid} Get transaction by unique ID #

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/hostfully:hostfully-transactions-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

hostfully-transactions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Hostfully Transactions API
  license:
    name: Apache 2.0
    url: https://www.hostfully.com/
  version: v3.0.1
servers:
- url: https://sandbox-api.hostfully.com
security:
- JWT-Authentication: []
- Agency-API-key: []
tags:
- name: Transactions
paths:
  /api/v3.3/transactions:
    get:
      tags:
      - Transactions
      summary: Get transactions for an order
      operationId: findAll_1
      parameters:
      - name: orderUid
        in: query
        description: The unique ID of the order related to transactions you want to retrieve
        required: true
        schema:
          type: string
      - name: createdSince
        in: query
        required: false
        schema:
          type: string
          example: '2023-09-28T10:31:01'
        example: '2023-09-28T10:31:01'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/TransactionsApiResponseWrapper'
    post:
      tags:
      - Transactions
      summary: Create transaction for an order
      operationId: create
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TransactionAddingApi3Dto'
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/TransactionApiResponseWrapper'
  /api/v3.3/transactions/{uid}:
    get:
      tags:
      - Transactions
      summary: Get transaction by unique ID
      operationId: findByUid
      parameters:
      - name: uid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/TransactionApiResponseWrapper'
components:
  schemas:
    TransactionAddingApi3Dto:
      required:
      - orderUid
      - status
      - type
      type: object
      properties:
        manual:
          type: boolean
          description: Determines whether the payment went through a payment processor or not. If 'manual' is false, then payment must've gone through a payment processor, so fields {type, status, transactionId} are required.
          default: true
        type:
          type: string
          enum:
          - SALE
          - PAYMENT_METHOD_VERIFICATION
          - REFUND
          - SECURITY_DEPOSIT_CHARGE
          - SALE_MARKETPLACE
        status:
          type: string
          enum:
          - SUCCESS
          - FAILURE
          - UNCAPTURED
        amount:
          type: number
          description: Amount of the transaction. Required when 'fullPayment' is not given or false.
        fullPayment:
          type: boolean
          description: If true, then the created transaction will have amount of remaining order balance.
        transactionId:
          type: string
          description: Required when 'manual' is false. Id of the transaction from payment processor.
        referenceTransactionId:
          type: string
          description: Can be specified only for transactions of type 'REFUND'. 'transactionId' of transaction that is refunded
        notes:
          type: string
        errorMessage:
          type: string
        orderUid:
          type: string
    TransactionApi3Dto:
      type: object
      properties:
        uid:
          type: string
        transactionId:
          type: string
        createdZonedDateTime:
          type: string
          format: date-time
        type:
          type: string
          enum:
          - SALE
          - PAYMENT_METHOD_VERIFICATION
          - REFUND
          - SECURITY_DEPOSIT_CHARGE
          - SALE_MARKETPLACE
        amount:
          type: number
        manual:
          type: boolean
        referenceTransactionId:
          type: string
        notes:
          type: string
        errorMessage:
          type: string
        status:
          type: string
          enum:
          - SUCCESS
          - FAILURE
          - UNCAPTURED
        transactionFees:
          type: array
          items:
            $ref: '#/components/schemas/TransactionFeeApi3Dto'
        orderUid:
          type: string
    Api3ResponseMetadata:
      type: object
      properties:
        count:
          type: integer
          format: int32
        totalCount:
          type: integer
          format: int32
    TransactionFeeApi3Dto:
      type: object
      properties:
        label:
          type: string
        amount:
          type: number
    TransactionsApiResponseWrapper:
      type: object
      properties:
        transactions:
          type: array
          items:
            $ref: '#/components/schemas/TransactionApi3Dto'
        _metadata:
          $ref: '#/components/schemas/Api3ResponseMetadata'
    TransactionApiResponseWrapper:
      type: object
      properties:
        transaction:
          $ref: '#/components/schemas/TransactionApi3Dto'
  securitySchemes:
    JWT-Authentication:
      type: apiKey
      description: OAuth Access Token
      name: Authorization
      in: header
    Agency-API-key:
      type: apiKey
      description: API Key
      name: X-HOSTFULLY-APIKEY
      in: header
externalDocs:
  description: Hostfully Documentation
  url: https://dev.hostfully.com/v3.0/reference
x-readme:
  explorer-enabled: true
  proxy-enabled: true