openapi: 3.0.3 info: title: Socure Account Intelligence Transactions API version: '3.0' description: 'Real-time validation of US bank accounts — verifying open/closed status, ownership (name match), and account-type signals. Powers funding-account checks for fintech onboarding, payroll, and ACH origination flows without requiring micro-deposits or end-user credentials. ' servers: - url: https://api.socure.com description: Production - url: https://sandbox.socure.com description: Sandbox security: - SocureToken: [] tags: - name: Transactions description: DocV session orchestration paths: /api/3.0/EmailAuthScore: post: tags: - Transactions operationId: createDocvTransaction summary: Create A DocV Transaction description: Create a DocV transaction by passing `docvTransaction` in the modules array. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateDocvTransactionRequest' responses: '200': description: DocV transaction created. content: application/json: schema: $ref: '#/components/schemas/DocvTransaction' /api/3.0/documents/verify: post: tags: - Transactions operationId: verifyDocvDocument summary: Verify A DocV Document description: Finalize a DocV transaction and trigger document/selfie verification. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/VerifyDocvRequest' responses: '200': description: Verification result. content: application/json: schema: $ref: '#/components/schemas/DocvDecision' /api/3.0/documents/{docvTransactionId}: parameters: - name: docvTransactionId in: path required: true schema: type: string get: tags: - Transactions operationId: getDocvTransaction summary: Get A DocV Transaction description: Retrieve the current state and result of a DocV transaction. responses: '200': description: DocV transaction. content: application/json: schema: $ref: '#/components/schemas/DocvDecision' components: schemas: CreateDocvTransactionRequest: type: object required: - modules properties: modules: type: array items: type: string enum: - docvtransaction documentType: type: string enum: - license - passport - residence_permit country: type: string redirectUrl: type: string format: uri webhookUrl: type: string format: uri DocvTransaction: type: object properties: docvTransactionId: type: string sessionUrl: type: string format: uri referenceId: type: string DocvDecision: type: object properties: docvTransactionId: type: string decision: type: object properties: value: type: string enum: - accept - reject - resubmit reasonCodes: type: array items: type: string documentData: type: object properties: firstName: type: string surName: type: string dob: type: string format: date documentNumber: type: string expirationDate: type: string format: date documentType: type: string issuingCountry: type: string selfieMatch: type: object properties: score: type: number decision: type: string liveness: type: object properties: decision: type: string VerifyDocvRequest: type: object required: - docvTransactionId properties: docvTransactionId: type: string securitySchemes: SocureToken: type: apiKey in: header name: Authorization