Akahu PDFs API

The PDFs API from Akahu — 2 operation(s) for pdfs.

Operations 2

GET /pdfs/exports/{code} Get PDF Transaction Exports #
GET /pdfs/statements/{code} Get PDF Statements #

Specifications

Schemas & Data

📊
JSONSchema
https://artifacts.apis.io/akahu/json-schema/akahu-resource-schema.json
📊
JSONSchema
https://artifacts.apis.io/akahu/json-schema/akahu-report-account-schema.json
📊
JSONSchema
https://artifacts.apis.io/akahu/json-schema/akahu-document-schema.json
📊
JSONSchema
https://artifacts.apis.io/akahu/json-schema/akahu-datafile-schema.json
📊
JSONSchema
https://artifacts.apis.io/akahu/json-schema/akahu-create-sharing-request-params-schema.json
📊
JSONSchema
https://artifacts.apis.io/akahu/json-schema/akahu-report-transaction-schema.json
📊
JSONSchema
https://artifacts.apis.io/akahu/json-schema/akahu-account-schema.json
📊
JSONSchema
https://artifacts.apis.io/akahu/json-schema/akahu-transaction-schema.json
📊
JSONSchema
https://artifacts.apis.io/akahu/json-schema/akahu-payment-schema.json
📊
JSONSchema
https://artifacts.apis.io/akahu/json-schema/akahu-party-schema.json
📊
JSONSchema
https://artifacts.apis.io/akahu/json-schema/akahu-connection-schema.json
📊
JSONSchema
https://artifacts.apis.io/akahu/json-schema/akahu-pending-transaction-schema.json
📊
JSONSchema
https://artifacts.apis.io/akahu/json-schema/akahu-genie-outlet-schema.json
📊
JSONSchema
https://artifacts.apis.io/akahu/json-schema/akahu-genie-merchant-schema.json
📊
JSONSchema
https://artifacts.apis.io/akahu/json-schema/akahu-genie-feedback-schema.json
📊
JSONSchema
https://artifacts.apis.io/akahu/json-schema/akahu-genie-category-schema.json
📊
JSONSchema
https://artifacts.apis.io/akahu/json-schema/akahu-genie-search-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/akahu/json-schema/akahu-genie-search-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/akahu/json-schema/akahu-one-off-payment-schema.json
📊
JSONSchema
https://artifacts.apis.io/akahu/json-schema/akahu-one-off-payment-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/akahu/json-schema/akahu-one-off-payment-request-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/akahu/json-schema/akahu-one-off-payment-connections-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/akahu/json-schema/akahu-status-schema.json
📊
JSONSchema
https://artifacts.apis.io/akahu/json-schema/akahu-pdf-statement-schema.json
📊
JSONSchema
https://artifacts.apis.io/akahu/json-schema/akahu-pdf-export-schema.json

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/akahu:akahu-pdfs-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

akahu-pdfs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Akahu One-Off REST PDFs API
  description: Retrieve a one-off snapshot of a user's account data
  version: 1.0.0
servers:
- url: https://api.oneoff.akahu.io/v1
tags:
- name: PDFs
paths:
  /pdfs/exports/{code}:
    get:
      tags:
      - PDFs
      summary: Get PDF Transaction Exports
      security:
      - app_auth: []
      parameters:
      - $ref: '#/components/parameters/Code'
      - $ref: '#/components/parameters/ContentType'
      description: Get a list of PDF transaction exports for accounts that the user has shared with your application.
      responses:
        '200':
          description: Successful response.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/PdfExport'
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '500':
          $ref: '#/components/responses/500'
      operationId: getPdfsExportsByCode
      x-operation-id-source: derived
  /pdfs/statements/{code}:
    get:
      tags:
      - PDFs
      summary: Get PDF Statements
      security:
      - app_auth: []
      parameters:
      - $ref: '#/components/parameters/Code'
      - $ref: '#/components/parameters/ContentType'
      description: Get a list of PDF statements for accounts that the user has shared with your application.
      responses:
        '200':
          description: Successful response.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/PdfStatement'
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '500':
          $ref: '#/components/responses/500'
      operationId: getPdfsStatementsByCode
      x-operation-id-source: derived
components:
  schemas:
    PdfExport:
      type: object
      properties:
        _account:
          type: string
          description: The Account ID for which this export was produced.
          example: oneoff_acc_1111111111111111111111111
        description:
          type: string
          description: If available, how this document is described by the bank.
          example: 2022-Jan-01_Personal
        meta:
          type: object
          description: Additional metadata concerning this document.
          additionalProperties: true
        period:
          type: object
          description: The period that this PDF export covers.
          properties:
            start:
              type: string
              format: date-time
              description: Formatted as an ISO 8601 timestamp.
            end:
              type: string
              format: date-time
              description: Formatted as an ISO 8601 timestamp.
        uri:
          type: string
          description: A short-lived URI that can be used to access the PDF file retrieved from the bank. Each request to this endpoint generates a new URI with a new expiry.
        expires_at:
          type: string
          description: When the PDF URI expires. Each request to this endpoint generates a new URI with a new expiry. After expiry this URI will no longer be accessible. Formatted as an ISO 8601 timestamp.
          format: date-time
    PdfStatement:
      type: object
      properties:
        _accounts:
          type: array
          description: The Account IDs described by this statement. In most cases this will only be one account, but in the case of Kiwibank, one statement is produced per account holder.
          items:
            type: string
            example: oneoff_acc_1111111111111111111111111
        description:
          type: string
          description: If available, how this document is described by the bank.
          example: 2022-Jan-01_Personal
        meta:
          type: object
          description: Additional metadata concerning this document.
          additionalProperties: true
        period:
          type: object
          description: The period that this PDF covers.
          properties:
            start:
              type: string
              format: date-time
              description: Formatted as an ISO 8601 timestamp.
            end:
              type: string
              format: date-time
              description: Formatted as an ISO 8601 timestamp.
        uri:
          type: string
          description: A short-lived URI that can be used to access the PDF file retrieved from the bank. Each request to this endpoint generates a new URI with a new expiry.
        expires_at:
          type: string
          description: When the PDF URI expires. Each request to this endpoint generates a new URI with a new expiry. After expiry this URI will no longer be accessible. Formatted as an ISO 8601 timestamp.
          format: date-time
  parameters:
    Code:
      name: code
      in: path
      required: true
      description: The one-off authorization code, provided to your application by redirection to your `redirect_uri` upon the user's successful completion of the authorization flow.
      example: id_1111111111111111111111111
      schema:
        type: string
    ContentType:
      name: Content-Type
      in: header
      schema:
        type: string
      example: application/json
  responses:
    '400':
      description: Your request was malformed or otherwise unacceptable. More details are provided under the `message` key in the response.
      content:
        application/json:
          schema:
            type: object
            properties:
              success:
                type: boolean
                example: false
              message:
                type: string
                example: Invalid Content-Type
    '500':
      description: An internal error has prevented us from processing the request. More detail may be supplied in the `message` key.
      content:
        application/json:
          schema:
            type: object
            properties:
              success:
                type: boolean
                example: false
              message:
                type: string
                example: Something went wrong
    '403':
      description: You are not allowed to access this content.
      content:
        application/json:
          schema:
            type: object
            properties:
              success:
                type: boolean
                example: false
              message:
                type: string
                example: Forbidden
    '401':
      description: You are not authorised to access this content.
      content:
        application/json:
          schema:
            type: object
            properties:
              success:
                type: boolean
                example: false
              message:
                type: string
                example: Permission Denied
  securitySchemes:
    app_auth:
      type: http
      scheme: basic
      description: 'HTTP Basic Auth with the username being your **App ID Token** and the password being your **App Secret**.

        > `Basic {app_token}:{app_secret}`


        This must be included in all requests to the one-off API.'
x-provenance:
  method: searched
  source: https://developers.akahu.nz/reference
  harvested: '2026-10-26'
  tool: harvest-readme-openapi.py
  note: Assembled verbatim from the OpenAPI definition ReadMe embeds in each operation page of the provider's developer portal; paths and components merged by API title, nothing authored.
  assembled_from:
  - https://developers.akahu.nz/reference/get_accounts-code.md
  - https://developers.akahu.nz/reference/get_parties-code.md
  - https://developers.akahu.nz/reference/get_pdfs-exports-code.md
  - https://developers.akahu.nz/reference/get_pdfs-statements-code.md
  - https://developers.akahu.nz/reference/get_status-code.md
  - https://developers.akahu.nz/reference/get_transactions-code.md
  - https://developers.akahu.nz/reference/post_identity-code-verify-name.md
  merge:
    pages: 7
    deduped: 42
    conflicts_kept_first: 0