# Generated by ShowAPI OpenAPI generator # source: market/1520 # generated-at: 2026-09-04T17:08:57.006Z openapi: 3.0.3 info: title: 银行卡OCR识别 description: 识别银行卡图像,输出卡号、所属银行、卡片类型及银行邮编,支持国内主要银行。 termsOfService: https://www.showapi.com/helpcenter/view#/4019/2 version: 1.0.0 servers: - url: https://route.showapi.com paths: /1520-2: x-pointCode: 2 x-mode: mapping x-read-timeout: 30 x-connect-timeout: 15 post: summary: 银行卡OCR识别 description: 该功能可识别银行卡上的卡号、发卡银行、卡片种类及银行邮编等信息。 responses: "200": description: 成功响应 content: application/json: schema: allOf: - $ref: "#/components/schemas/ShowapiResEnvelope" - type: object properties: showapi_res_body: type: object properties: ret_code: type: string description: 接口调用是否成功 flag: type: string description: "数据是否获取成功 " msg: type: string description: 提示信息 kh: type: string description: 银行卡号 yhklx: type: string description: 银行卡类型 yhkmc: type: string description: 银行卡名称 yhmc: type: string description: 银行名称 yhbh: type: string description: 银行编号 description: 业务返回体 operationId: 1520_2_POST parameters: [] requestBody: content: application/x-www-form-urlencoded: schema: type: object properties: imgData: type: string minLength: 1 maxLength: 1000000 description: 银行卡的base64信息 required: - imgData components: securitySchemes: AppKeyAuth: type: apiKey in: query name: appKey description: 从 ShowAPI 控制台获取的 appKey,管理地址:https://www.showapi.com/console#/myApp schemas: ShowapiResEnvelope: type: object description: ShowAPI 统一返回包裹(业务数据位于 showapi_res_body) properties: showapi_res_code: type: integer description: API 返回的状态码 showapi_res_error: type: string description: API 返回的错误信息 showapi_res_id: type: string description: API 请求的唯一标识 showapi_fee_num: type: integer description: API 调用计费次数 security: - AppKeyAuth: [] externalDocs: url: https://www.showapi.com/apiGateway/view/1520?tab=book x-apiCode: "1520" x-is-own: false x-is-op: false