{"openapi": "3.1.0", "info": {"title": "Storemate KYC \u2014 in-house engine", "version": "1.0.0", "description": ""}, "paths": {"/api/v1/engine/applicant": {"get": {"operationId": "kyc_engine_api_get_applicant", "summary": "Get Applicant", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EngineStatusOut"}}}}}, "security": [{"EngineTokenAuth": []}]}}, "/api/v1/engine/applicant/documents": {"post": {"operationId": "kyc_engine_api_add_document", "summary": "Add Document", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EngineStatusOut"}}}}}, "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/DocumentIn"}}}, "required": true}, "security": [{"EngineTokenAuth": []}]}}, "/api/v1/engine/applicant/data": {"post": {"operationId": "kyc_engine_api_set_identity_data", "summary": "Set Identity Data", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EngineStatusOut"}}}}}, "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/IdentityDataIn"}}}, "required": true}, "security": [{"EngineTokenAuth": []}]}}, "/api/v1/engine/applicant/submit": {"post": {"operationId": "kyc_engine_api_submit", "summary": "Submit", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EngineStatusOut"}}}}}, "security": [{"EngineTokenAuth": []}]}}}, "components": {"schemas": {"EngineStatusOut": {"properties": {"applicant_id": {"title": "Applicant Id", "type": "string"}, "external_user_id": {"title": "External User Id", "type": "string"}, "status": {"title": "Status", "type": "string"}, "review_answer": {"default": "", "title": "Review Answer", "type": "string"}, "reject_type": {"default": "", "title": "Reject Type", "type": "string"}, "reject_labels": {"default": [], "items": {"type": "string"}, "title": "Reject Labels", "type": "array"}, "moderation_comment": {"default": "", "title": "Moderation Comment", "type": "string"}, "documents": {"default": [], "items": {"type": "string"}, "title": "Documents", "type": "array"}, "submitted_at": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Submitted At"}}, "required": ["applicant_id", "external_user_id", "status"], "title": "EngineStatusOut", "type": "object"}, "DocumentIn": {"properties": {"type": {"title": "Type", "type": "string"}, "images": {"default": [], "items": {"type": "string"}, "title": "Images", "type": "array"}, "country": {"default": "", "title": "Country", "type": "string"}, "number": {"default": "", "title": "Number", "type": "string"}}, "required": ["type"], "title": "DocumentIn", "type": "object"}, "IdentityDataIn": {"properties": {"first_name": {"default": "", "title": "First Name", "type": "string"}, "last_name": {"default": "", "title": "Last Name", "type": "string"}, "dob": {"default": "", "title": "Dob", "type": "string"}, "country": {"default": "", "title": "Country", "type": "string"}, "address": {"default": "", "title": "Address", "type": "string"}}, "title": "IdentityDataIn", "type": "object"}}, "securitySchemes": {"EngineTokenAuth": {"type": "http", "scheme": "bearer"}}}, "servers": []}