Smart Pension Historical Transfer In API

The HistoricalTransferIn API from Smart Pension — 1 operation(s) for historicaltransferin.

OpenAPI Specification

smart-pension-historicaltransferin-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Keystone Historical Transfer In API
  version: v12
  description: This is the endpoint description of Keystone API.
servers:
- url: https://api.sandbox.autoenrolment.co.uk
- url: /
tags:
- name: HistoricalTransferIn
paths:
  /companies/{company_id}/employees/{employee_id}/historical_transfer_ins/{id}:
    get:
      summary: HistoricalTransferIn/Get
      tags:
      - HistoricalTransferIn
      security:
      - oAuth2:
        - employee
      parameters:
      - name: id
        in: path
        required: true
        example: 1
        schema:
          type: string
      - name: company_id
        in: path
        required: true
        example: 644
        schema:
          type: string
      - name: employee_id
        in: path
        required: true
        example: 314
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              example:
                id: 1
                employee_id: 314
                bank_reference: ABC-123
                category: transfer_in
                ceding_scheme_name: schema_name
                ceding_scheme_reference: ceding_scheme_reference
                ceding_scheme_type: approved
                payment_invested_on: '2026-08-05'
                payment_received_on: '2026-08-05'
                pensionable_service_months: 1
                pensionable_service_years: 1
                pot_values:
                - pot: pot_1
                  amount: 150
                created_at: '2026-08-05T13:01:07.377+01:00'
                updated_at: '2026-08-05T13:01:07.377+01:00'
                total_amount: 150
              schema:
                $ref: '#/components/schemas/response_historical_transfer_in'
        '401':
          description: Unauthorized
        '404':
          description: Not Found
components:
  schemas:
    response_historical_transfer_in:
      type: object
      properties:
        id:
          type: integer
        employee_id:
          type: integer
        bank_reference:
          type: string
        category:
          type:
          - string
          - 'null'
        ceding_scheme_name:
          type:
          - string
          - 'null'
        ceding_scheme_reference:
          type:
          - string
          - 'null'
        ceding_scheme_type:
          type:
          - string
          - 'null'
        payment_invested_on:
          type:
          - string
          - 'null'
          format: date
        payment_received_on:
          type:
          - string
          - 'null'
          format: date
        pensionable_service_months:
          type:
          - integer
          - 'null'
        pensionable_service_years:
          type:
          - integer
          - 'null'
        pot_values:
          type: array
          items: {}
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        total_amount:
          type:
          - number
          - 'null'
          format: float
  securitySchemes:
    oAuth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://id.sandbox.autoenrolment.co.uk/oauth/authorize
          tokenUrl: https://id.sandbox.autoenrolment.co.uk/oauth/token
          scopes:
            customer: 'Manage the customer''s company.

              - Create postponements

              - Create and import contributions

              - Edit company details

              - Add and edit employees'
            user: 'Manage all companies linked to the user''s adviser.

              - Manage adviser details

              - Add and edit adviser''s users

              - Create and import contributions for any company managed by the adviser'
            employee: 'Manage the employee account.

              - List employee contributions

              - Edit employee details and preferences'
x-samples-languages:
- curl
x-proxy-enabled: false