---
updatedAt: 2026-06-24T21:25:36.000Z
agentTools:
  projectIndex: https://cubiapi.readme.io/llms.txt
---

# /programs/{id} - GET

Gets a partner program

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "ACH",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://cubi-sandbox-api.customersbank.com/ach/v1"
    }
  ],
  "paths": {
    "/programs/{id}": {
      "get": {
        "tags": [
          "PartnerProgram"
        ],
        "summary": "/programs/{id} - GET",
        "description": "Gets a partner program",
        "operationId": "get-programs-id",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The ID of the partner program to get",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Cubi.Ach.WebApi.Dto.PartnerProgramDto"
                },
                "examples": {
                  "default": {
                    "value": null
                  }
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Cubi.Ach.WebApi.Dto.PartnerProgramDto"
                },
                "example": {
                  "id": "string",
                  "partnerId": "string",
                  "achCompanyId": "string",
                  "secCode": "PPD",
                  "batchHeader": "string",
                  "writeUnbalancedFiles": true,
                  "writeBatchPerTransaction": true
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Cubi.Ach.WebApi.Dto.PartnerProgramDto"
                },
                "example": {
                  "id": "string",
                  "partnerId": "string",
                  "achCompanyId": "string",
                  "secCode": "PPD",
                  "batchHeader": "string",
                  "writeUnbalancedFiles": true,
                  "writeBatchPerTransaction": true
                }
              }
            }
          },
          "400": {
            "description": "BadRequest",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                },
                "example": {
                  "type": "https://tools.ietf.org/html/rfc9110#section-15.5.1",
                  "title": "One or more validation errors occurred.",
                  "status": 400,
                  "traceId": "string"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                },
                "example": {
                  "type": "https://tools.ietf.org/html/rfc9110#section-15.5.2",
                  "title": "Unauthorized",
                  "status": 401,
                  "traceId": "string"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                },
                "example": {
                  "type": "https://tools.ietf.org/html/rfc9110#section-15.5.4",
                  "title": "Forbidden",
                  "status": 403,
                  "traceId": "string"
                }
              }
            }
          },
          "404": {
            "description": "NotFound",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                },
                "example": {
                  "type": "https://tools.ietf.org/html/rfc9110#section-15.5.5",
                  "title": "Not Found",
                  "status": 404,
                  "traceId": "string"
                }
              }
            }
          },
          "422": {
            "description": "UnprocessableEntity",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                },
                "example": {
                  "type": "https://tools.ietf.org/html/rfc4918#section-11.2",
                  "title": "Unprocessable Entity",
                  "status": 422,
                  "traceId": "string"
                }
              }
            }
          },
          "500": {
            "description": "InternalServerError",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                },
                "example": {
                  "type": "https://tools.ietf.org/html/rfc9110#section-15.6.1",
                  "title": "An error occurred while processing your request.",
                  "status": 500,
                  "traceId": "string"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Cubi.Ach.Contracts.Messages.AchPaymentType": {
        "enum": [
          "PPD",
          "CCD",
          "CTX",
          "TEL",
          "WEB",
          "ACK",
          "ADV",
          "ARC",
          "ATX",
          "BOC",
          "CIE",
          "COR",
          "DNE",
          "ENR",
          "IAT",
          "POP",
          "POS",
          "SHR",
          "MTE",
          "RCK",
          "TRX",
          "XCK",
          "TRC"
        ],
        "type": "string"
      },
      "Cubi.Ach.WebApi.Dto.PartnerProgramDto": {
        "required": [
          "achCompanyId",
          "batchHeader"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The ID of the partner program",
            "format": "uuid"
          },
          "partnerId": {
            "type": "string",
            "description": "The ID of the partner",
            "format": "uuid"
          },
          "achCompanyId": {
            "minLength": 1,
            "type": "string",
            "description": "The configured ACH company ID under which to submit payments associated with this program"
          },
          "secCode": {
            "$ref": "#/components/schemas/Cubi.Ach.Contracts.Messages.AchPaymentType"
          },
          "batchHeader": {
            "minLength": 1,
            "type": "string",
            "description": "The configured batch header to use for submitted payments associated with this program"
          },
          "writeUnbalancedFiles": {
            "type": "boolean",
            "description": "Configures the contents of the ACH file",
            "nullable": true
          },
          "writeBatchPerTransaction": {
            "type": "boolean",
            "description": "Indicates whether a batch should be created for each payment",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Microsoft.AspNetCore.Mvc.ProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "detail": {
            "type": "string",
            "nullable": true
          },
          "traceId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": {}
      },
      "Microsoft.AspNetCore.Mvc.ValidationProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "detail": {
            "type": "string",
            "nullable": true
          },
          "traceId": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        },
        "additionalProperties": {}
      }
    }
  },
  "tags": [
    {
      "name": "PartnerProgram",
      "description": "Allows for the querying of ACH partner programs available for use within the system.  Partner programs are used when sending a payment in order to specify pre-built configurations under which the payment will be processed, such as SEC code and ACH batch headers"
    }
  ],
  "x-readme": {
    "explorer-enabled": false,
    "proxy-enabled": true
  }
}
```