openapi: 3.2.0 info: description: Afinis is a diverse group of organizations working to support advancement and use of API standardization in the financial services industry. Utilization of this API requires a developer to [register](https://www.afinis.org/user/register) their application. version: 1.0.9 title: Expand Bank Contact V2 API contact: email: info@afinis.org url: https://www.afinis.org servers: - url: https://api.afinis.org/ASIG/Bank_Contact_v2/1.0.5 tags: - name: Expand Bank Contact V2 paths: /banks/contact: post: operationId: Expand Bank Contact V2 - Input tags: - Expand Bank Contact V2 summary: Allow a FI to input data into the FI contact data base description: Expand Get Bank Contact responses: '201': description: OK content: application/json: schema: $ref: '#/components/schemas/response' '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/badRequest' '401': description: Unauthorized content: application/json: schema: $ref: '#/components/schemas/unauthorized' '403': description: Access denied, the operation is not allowed '404': description: Not Found '500': description: Internal Server error content: application/json: schema: $ref: '#/components/schemas/internalServerError' '503': description: Service unavailable security: - APIKeyQueryParam: [] requestBody: content: application/json: schema: type: object required: - agent - bankContact properties: agent: $ref: '#/components/schemas/agent' additionalInformation: type: string description: Any message the FI wishes to have go to anyone who pulls any contact maxLength: 128 example: The Department contact number is 703 561 0000 option 1, option 3, option 3 bankContact: type: array items: $ref: '#/components/schemas/bankContact' description: Allow a FI to input data into the FI contact data base get: operationId: Expand Bank Contact V2 - Get tags: - Expand Bank Contact V2 summary: Allow a FI to retrieve data from the FI contact data base description: Expand Get Bank Contact parameters: - name: memberIdentification in: query required: true description: Identification of a member of a clearing system e.g., a U.S. transit routing number or Canadian Payments Association Routing Number schema: type: string - name: contactCategory in: query required: true description: Contact Category schema: type: string enum: - ACH Operations - ACH Fraud - Wire - Check - Credit Card - Debit Card - Compliance - Anti-Money Laundering - Legal - LOI Processing - Faster Payments - Treasury Management responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/response' '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/badRequest' '401': description: Unauthorized content: application/json: schema: $ref: '#/components/schemas/unauthorized' '403': description: Access denied, the operation is not allowed '404': description: Not Found '500': description: Internal Server error content: application/json: schema: $ref: '#/components/schemas/internalServerError' '503': description: Service unavailable security: - APIKeyQueryParam: [] components: schemas: unauthorized: title: Unauthorized type: object description: 401 - Unauthorized required: - details properties: details: description: error details type: array items: $ref: '#/components/schemas/unauthorizedErrorDetails' internalServerErrorDetails: title: Internal Server Error Details type: object required: - errorCode - message properties: errorCode: example: 3001 type: number enum: - 3001 description: "A programmatic error code:\n * `3001` - Internal Server error.\n" message: description: A human readable description of the problem example: Internal Server error type: string bankContact: title: Bank Contact type: object properties: contactType: $ref: '#/components/schemas/contactType' contactCategory: type: string description: Area of FI maxLength: 70 example: ACH Operations enum: - All - ACH Operations - ACH Fraud - Wire - Check - Credit Card - Debit Card - Compliance - Anti-Money Laundering - Legal - LOI Processing - Faster Payments - Treasury Management partyType: $ref: '#/components/schemas/partyType' identification: type: string description: Identification returned in input information response maxLength: 35 example: 84e232cc-12c8-4266-bcc1-9de2a1ca448c loginAccess: type: string example: true enum: - true - false contactDetails: type: array items: $ref: '#/components/schemas/contactDetails' other: type: object required: - channelType - identification properties: channelType: type: string example: EXT enum: - EXT description: "Name of the identification scheme:\n * `FNM` - First Name\n * `LNM` - Last Name\n * `DNM` - Department Name\n * `BH` - Business Hours\n * `TZ` - Time Zone\n * `EXT` - Phone Number Extension\n" identification: type: string maxLength: 128 example: Ext 1 partyType: type: string example: Individual enum: - Individual - Department unauthorizedErrorDetails: title: Unauthorized Error Details type: object required: - errorCode - message properties: errorCode: example: 1000 type: number enum: - 1000 - 1001 description: "A programmatic error code:\n * `1000` - API key is missing, invalid or expired. \n * `1001` - API token is invalid, expired, or account associated with key does not have access to that API.\n" message: description: A human readable description of the problem example: API key is missing, invalid or expired. type: string badRequestErrorDetails: title: Bad Request Error Details type: object required: - errorCode - message properties: errorCode: description: "A programmatic error code:\n * `2000` - Invalid JSON structure.\n * `2001` - '[Field name] is missing or invalid.'\n * `2002` - Invalid date.\n * `2003` - Invalid combination of fields submitted. Check the API specification for eligible combinations. \n * `2004` - '[Field name] cannot be more than [max number] characters.'\n" example: 2000 type: number enum: - 2000 - 2001 - 2002 - 2003 - 2004 message: description: A human readable description of the problem example: Invalid JSON structure. type: string internalServerError: title: Internal Server Error description: 500 - Internal Server Error type: object required: - details properties: detail: description: error details type: array items: $ref: '#/components/schemas/internalServerErrorDetails' response: title: Response type: object description: 200 - Response required: - bankContact properties: agent: $ref: '#/components/schemas/agent' additionalInformation: type: string description: Any message the FI wishes to have go to anyone who pulls any contact maxLength: 128 example: The Department contact number is 703 561 0000 option 1, option 3, option 3 bankContact: type: array items: $ref: '#/components/schemas/bankContact' badRequest: title: Bad Request type: object description: 400 - Bad Request required: - details properties: details: description: error details type: array items: $ref: '#/components/schemas/badRequestErrorDetails' agent: title: Agent description: Identification of a financial institution. type: object required: - clearingSystemIdentification - memberIdentification properties: clearingSystemIdentification: type: string example: USABA enum: - USABA description: "Specification of a pre-agreed offering between clearing agents or the channel through which the payment instruction is processed: \n * `USABA` - Routing Transit number assigned by the ABA for US financial Institutions. \n" memberIdentification: type: string maxLength: 35 example: 061103852 contactDetails: type: object required: - emailAddress - phoneNumber properties: phoneNumber: type: string maxLength: 30 example: +1-302-515-5000 faxNumber: type: string maxLength: 30 example: +1-302-515-6000 emailAddress: type: string maxLength: 2048 example: zachary.eastwood@ABCcorp.com jobTitle: type: string maxLength: 35 example: Accounts Receive Specialist other: type: array items: $ref: '#/components/schemas/other' contactType: type: string example: Primary enum: - Primary - Secondary - Other securitySchemes: APIKeyQueryParam: type: apiKey in: query name: apikey