Blnk Finance Refund Transaction API

The Refund Transaction API from Blnk Finance — 1 operation(s) for refund transaction.

Operations 1

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /refund-transaction/{id} Refund a recorded transaction · Refund Transaction #
Ask an LLM
“How do I reverse a transaction that was already recorded in the ledger?”
“Can I send money back to the source balance of a past transaction?”
Tell an agent
Refund transaction {id}.
Reverse transaction {id} so the funds return to the original balance.

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/blnkfinance:blnkfinance-refund-transaction-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

blnkfinance-refund-transaction-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Blnk Refund Transaction API
  contact: {}
  version: '1.0'
servers:
- url: http://localhost:5001
  variables: {}
security: []
tags:
- name: Refund Transaction
paths:
  /refund-transaction/{id}:
    post:
      summary: Refund Transaction
      operationId: RefundTransaction
      parameters:
      - name: id
        in: path
        description: ''
        required: true
        style: simple
        schema:
          type: string
          example: txn_5bbbe4d3-2d82-4da1-8191-aaa491d025de
      responses:
        '201':
          description: Created
          headers:
            Date:
              content:
                text/plain:
                  schema:
                    type: string
                  example: Tue, 20 Feb 2024 05:40:52 GMT
            Content-Length:
              content:
                text/plain:
                  schema:
                    type: string
                  example: '713'
          content:
            application/json; charset=utf-8:
              schema:
                allOf:
                - $ref: '#/components/schemas/RefundTransaction'
                - example:
                    id: txn_043d4ac3-4caf-4149-9c0d-927ae637d83f
                    tag: Refund
                    reference: ref_70ffd90f-7bcf-43b8-90ba-70505c113b52
                    amount: 300
                    currency: NGN
                    payment_method: ''
                    description: ''
                    drcr: Debit
                    status: APPLIED
                    ledger_id: ldg_073f7ffe-9dfd-42ce-aa50-d1dca1788adc
                    balance_id: bln_0be360ca-86fe-457d-be43-daa3f966d8f0
                    credit_balance_before: 600
                    debit_balance_before: 0
                    credit_balance_after: 600
                    debit_balance_after: 300
                    balance_before: 600
                    balance_after: 300
                    created_at: '2024-02-20T05:40:52.630481718Z'
                    scheduled_for: '0001-01-01T00:00:00Z'
                    risk_tolerance_threshold: 0
                    risk_score: 0.03108
                    meta_data:
                      refunded_transaction_id: txn_5bbbe4d3-2d82-4da1-8191-aaa491d025de
                    group_ids: null
              example:
                id: txn_043d4ac3-4caf-4149-9c0d-927ae637d83f
                tag: Refund
                reference: ref_70ffd90f-7bcf-43b8-90ba-70505c113b52
                amount: 300
                currency: NGN
                payment_method: ''
                description: ''
                drcr: Debit
                status: APPLIED
                ledger_id: ldg_073f7ffe-9dfd-42ce-aa50-d1dca1788adc
                balance_id: bln_0be360ca-86fe-457d-be43-daa3f966d8f0
                credit_balance_before: 600
                debit_balance_before: 0
                credit_balance_after: 600
                debit_balance_after: 300
                balance_before: 600
                balance_after: 300
                created_at: '2024-02-20T05:40:52.630481718Z'
                scheduled_for: '0001-01-01T00:00:00Z'
                risk_tolerance_threshold: 0
                risk_score: 0.03108
                meta_data:
                  refunded_transaction_id: txn_5bbbe4d3-2d82-4da1-8191-aaa491d025de
                group_ids: null
      deprecated: false
      tags:
      - Refund Transaction
components:
  schemas:
    RefundTransaction:
      title: RefundTransaction
      required:
      - id
      - tag
      - reference
      - amount
      - currency
      - payment_method
      - description
      - drcr
      - status
      - ledger_id
      - balance_id
      - credit_balance_before
      - debit_balance_before
      - credit_balance_after
      - debit_balance_after
      - balance_before
      - balance_after
      - created_at
      - scheduled_for
      - risk_tolerance_threshold
      - risk_score
      - meta_data
      - group_ids
      type: object
      properties:
        id:
          type: string
        tag:
          type: string
        reference:
          type: string
        amount:
          type: integer
          format: int32
        currency:
          type: string
        payment_method:
          type: string
        description:
          type: string
        drcr:
          type: string
        status:
          type: string
        ledger_id:
          type: string
        balance_id:
          type: string
        credit_balance_before:
          type: integer
          format: int32
        debit_balance_before:
          type: integer
          format: int32
        credit_balance_after:
          type: integer
          format: int32
        debit_balance_after:
          type: integer
          format: int32
        balance_before:
          type: integer
          format: int32
        balance_after:
          type: integer
          format: int32
        created_at:
          type: string
        scheduled_for:
          type: string
        risk_tolerance_threshold:
          type: integer
          format: int32
        risk_score:
          type: number
        meta_data:
          $ref: '#/components/schemas/MetaData1'
        group_ids:
          type:
          - string
          - 'null'
      example:
        id: txn_043d4ac3-4caf-4149-9c0d-927ae637d83f
        tag: Refund
        reference: ref_70ffd90f-7bcf-43b8-90ba-70505c113b52
        amount: 300
        currency: NGN
        payment_method: ''
        description: ''
        drcr: Debit
        status: APPLIED
        ledger_id: ldg_073f7ffe-9dfd-42ce-aa50-d1dca1788adc
        balance_id: bln_0be360ca-86fe-457d-be43-daa3f966d8f0
        credit_balance_before: 600
        debit_balance_before: 0
        credit_balance_after: 600
        debit_balance_after: 300
        balance_before: 600
        balance_after: 300
        created_at: '2024-02-20T05:40:52.630481718Z'
        scheduled_for: '0001-01-01T00:00:00Z'
        risk_tolerance_threshold: 0
        risk_score: 0.03108
        meta_data:
          refunded_transaction_id: txn_5bbbe4d3-2d82-4da1-8191-aaa491d025de
        group_ids: null
    MetaData1:
      title: MetaData1
      required:
      - refunded_transaction_id
      type: object
      properties:
        refunded_transaction_id:
          type: string
      example:
        refunded_transaction_id: txn_5bbbe4d3-2d82-4da1-8191-aaa491d025de
  securitySchemes:
    basic:
      type: http
      scheme: basic
x-provenance:
  method: harvested
  publisher: Blnk Finance
  source: https://docs.blnkfinance.com/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)