US Bancorp Exceptions API

The Exceptions API from US Bancorp — 2 operation(s) for exceptions.

Documentation

Specifications

Schemas & Data

Other Resources

OpenAPI Specification

us-bancorp-exceptions-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: US Bank Corporate Account Information Accounts Exceptions API
  description: The Corporate Account Information API provides U.S. Bank corporate customers with programmatic access to deposit account balances and transaction data. Retrieve current-day and previous-day balances for up to 50 accounts, transaction history up to 60 days (with optional 12 or 24-month retention), and account statements.
  version: 1.0.0
  contact:
    name: US Bank API Onboarding Team
    url: https://developer.usbank.com/contact
    email: apionboarding@usbank.com
  termsOfService: https://developer.usbank.com/terms
servers:
- url: https://api.usbank.com/v1
  description: US Bank production API
security:
- OAuth2MFA: []
tags:
- name: Exceptions
paths:
  /positive-pay/exceptions:
    get:
      operationId: getPositivePayExceptions
      summary: Get Positive Pay Exceptions
      description: Retrieve Positive Pay and same-day Positive Pay exception items for the current processing day. Available from 9am to 3pm local processing time.
      tags:
      - Exceptions
      parameters:
      - name: accountNumber
        in: query
        required: false
        description: Filter exceptions by account number
        schema:
          type: string
      - name: exceptionDate
        in: query
        required: false
        description: Exception processing date (ISO 8601)
        schema:
          type: string
          format: date
      - name: Correlation-ID
        in: header
        required: true
        description: Unique identifier for request/response correlation
        schema:
          type: string
          format: uuid
      - name: Accept
        in: header
        required: true
        schema:
          type: string
      responses:
        '200':
          description: List of Positive Pay exception items
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExceptionList'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /positive-pay/exceptions/{exceptionId}/decision:
    post:
      operationId: submitExceptionDecision
      summary: Submit Exception Decision
      description: Submit a pay or return decision for a Positive Pay exception item. Decisions must be submitted by 3pm local processing time.
      tags:
      - Exceptions
      parameters:
      - name: exceptionId
        in: path
        required: true
        description: Unique identifier for the exception item
        schema:
          type: string
      - name: Correlation-ID
        in: header
        required: true
        schema:
          type: string
          format: uuid
      - name: Content-Type
        in: header
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DecisionRequest'
      responses:
        '200':
          description: Decision submitted successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DecisionResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '410':
          description: Decision window has passed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    ExceptionItem:
      type: object
      description: A Positive Pay exception item (check that did not match the issue file)
      properties:
        exceptionId:
          type: string
          description: Unique exception identifier
        accountNumber:
          type: string
          description: Account number the check was presented against
        checkNumber:
          type: string
          description: Check number
        amount:
          type: number
          format: double
          description: Check amount
        issueAmount:
          type: number
          format: double
          description: Amount from the issue file (if found)
        presentedDate:
          type: string
          format: date
          description: Date the check was presented for payment
        issuedDate:
          type: string
          format: date
          description: Date the check was issued (from issue file)
        payee:
          type: string
          description: Payee name on the check
        issuedPayee:
          type: string
          description: Payee from the issue file
        exceptionReason:
          type: string
          enum:
          - NOT_ISSUED
          - AMOUNT_MISMATCH
          - ALREADY_PAID
          - STALE_DATED
          - VOID
          description: Reason for the exception
        decisionRequired:
          type: boolean
          description: Whether a decision must be submitted
        decisionDeadline:
          type: string
          format: date-time
          description: Deadline for submitting pay/return decision
      required:
      - exceptionId
      - accountNumber
      - checkNumber
      - amount
      - presentedDate
      - exceptionReason
    ExceptionList:
      type: object
      properties:
        exceptions:
          type: array
          items:
            $ref: '#/components/schemas/ExceptionItem'
        totalCount:
          type: integer
        processingDate:
          type: string
          format: date
    Error:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
        correlationId:
          type: string
    DecisionResponse:
      type: object
      properties:
        exceptionId:
          type: string
        decision:
          type: string
          enum:
          - PAY
          - RETURN
        submittedAt:
          type: string
          format: date-time
        status:
          type: string
          enum:
          - ACCEPTED
          - PENDING
          - REJECTED
    DecisionRequest:
      type: object
      properties:
        decision:
          type: string
          enum:
          - PAY
          - RETURN
          description: Pay or return the exception item
        returnReason:
          type: string
          description: Reason for return (required if decision is RETURN)
        notes:
          type: string
          description: Optional notes
      required:
      - decision
  securitySchemes:
    OAuth2MFA:
      type: oauth2
      description: OAuth 2.0 with MFA using SinglePoint credentials
      flows:
        authorizationCode:
          authorizationUrl: https://api.usbank.com/oauth/authorize
          tokenUrl: https://api.usbank.com/oauth/token
          scopes:
            account.read: Read account information
            transaction.read: Read transaction data