Akahu · Schema

Payment

CompanyFinanceOpen BankingNew ZealandAPI

Properties

Name Type Description
_id string The Akahu Payment ID
from string The Akahu Account ID of the source account
to object Information about who this payment is to
amount number How much money the payment is for
meta object Payment metadata that you have specified
sid string Akahu's unique ID inserted into the particulars field
status string Status of the payment: - `READY` → Initial state payment is ready to be processed. - `SENT` → Payment initiated with the user's bank and we've received confirmation that it has been accepted. - `PAUSE
status_text string If available, more information about the payment's staus
final boolean If this payment has reached it's final state
timeline array A timeline of events regarding this payment
created_at string An ISO 8701 timestamp of when this payment was created
updated_at string An ISO 8701 timestamp of when this payment was last updated by Akahu
received_at string An ISO 8701 timestamp of when this payment was received by the destination account. This field will only be populated if the destination account is connected to Akahu.
View JSON Schema on GitHub

JSON Schema

akahu-payment-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/akahu/main/json-schema/akahu-payment-schema.json",
  "title": "Payment",
  "x-generated": "2026-10-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/akahu-payments-api-openapi.yml#/components/schemas/Payment",
  "type": "object",
  "properties": {
    "_id": {
      "type": "string",
      "description": "The Akahu Payment ID"
    },
    "from": {
      "type": "string",
      "description": "The Akahu Account ID of the source account"
    },
    "to": {
      "type": "object",
      "description": "Information about who this payment is to",
      "properties": {
        "account_number": {
          "type": "string",
          "description": "The NZ bank account number to whom this payment is made"
        },
        "name": {
          "type": "string",
          "description": "The name of the account holder of the destination account",
          "pattern": "^[A-Za-z0-9 \\-_]*$"
        }
      }
    },
    "amount": {
      "type": "number",
      "format": "decimal",
      "multipleOf": 0.01,
      "description": "How much money the payment is for"
    },
    "meta": {
      "type": "object",
      "description": "Payment metadata that you have specified",
      "properties": {
        "destination": {
          "type": "object",
          "description": "Metadata that will appear in the destination account",
          "properties": {
            "particulars": {
              "type": "string",
              "description": "The particulars you have specified for the destination account",
              "pattern": "^[A-Za-z0-9 \\-_]*$"
            },
            "code": {
              "type": "string",
              "description": "The code you have specified for the destination account",
              "pattern": "^[A-Za-z0-9 \\-_]*$"
            },
            "reference": {
              "type": "string",
              "description": "The reference you have specified for the destination account",
              "pattern": "^[A-Za-z0-9 \\-_]*$"
            }
          }
        },
        "source": {
          "type": "object",
          "description": "Metadata that will appear in the source account",
          "properties": {
            "code": {
              "type": "string",
              "description": "The code you have specified for the source account",
              "pattern": "^[A-Za-z0-9 \\-_]*$"
            },
            "reference": {
              "type": "string",
              "description": "The reference you have specified for the source account",
              "pattern": "^[A-Za-z0-9 \\-_]*$"
            }
          }
        }
      }
    },
    "sid": {
      "type": "string",
      "description": "Akahu's unique ID inserted into the particulars field"
    },
    "status": {
      "type": "string",
      "enum": [
        "READY",
        "SENT",
        "PAUSED",
        "DECLINED",
        "CANCELLED",
        "ERROR"
      ],
      "description": "Status of the payment:\n- `READY` → Initial state payment is ready to be processed.\n\n- `SENT` → Payment initiated with the user's bank and we've received confirmation that it has been accepted.\n\n- `PAUSED` → Payment is not yet ready to be processed.\n\n- `DECLINED` → Payment has been declined by the user's bank.\n\n- `CANCELLED` → Payment was cancelled.\n\n- `ERROR` → Internal Akahu error occurred.\n\nFor more details see:\n  - [📚 Payments guide](/docs/making-a-payment)\n  - [📚 Payments lifecycle guide](/docs/making-a-payment#payment-lifecycle)"
    },
    "status_text": {
      "type": "string",
      "description": "If available, more information about the payment's staus"
    },
    "final": {
      "type": "boolean",
      "description": "If this payment has reached it's final state"
    },
    "timeline": {
      "type": "array",
      "description": "A timeline of events regarding this payment",
      "items": {
        "type": "object",
        "description": "A timeline event",
        "properties": {
          "status": {
            "type": "string",
            "description": "The payment's status at this time"
          },
          "time": {
            "type": "string",
            "format": "date-time",
            "description": "An ISO 8701 timestamp of when this event was created"
          },
          "eta": {
            "type": "string",
            "format": "date-time",
            "description": "An ISO 8701 timestamp of when Akahu expects the payment to arrive. Only present on events for `SENT` statuses."
          }
        }
      }
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "An ISO 8701 timestamp of when this payment was created"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "description": "An ISO 8701 timestamp of when this payment was last updated by Akahu"
    },
    "received_at": {
      "type": "string",
      "format": "date-time",
      "description": "An ISO 8701 timestamp of when this payment was received by the destination account. This field will only be populated if the destination account is connected to Akahu."
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/akahu-payment"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.