diff --git a/api.yaml b/api.yaml index 4b64806..1799aea 100644 --- a/api.yaml +++ b/api.yaml @@ -24304,6 +24304,42 @@ paths: application/json: schema: $ref: '#/components/schemas/PlatformError' + /api/v2/internal/enterprise/{enterpriseId}/points/verifyRetail: + post: + summary: Verifies if a given enterpise is a retail enterprise + operationId: v2.internal.enterprise.points.verifyRetail + tags: + - Enterprise + parameters: + - name: enterpriseId + in: path + required: true + schema: + $ref: '#/components/schemas/EnterpriseIdString' + - name: authorization + description: The authorization header + in: header + schema: + type: string + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/IsRetailEnterprise' + '400': + description: Bad Request + content: + application/json: + schema: + $ref: '#/components/schemas/PlatformError' + '404': + description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/PlatformError' /api/v2/organization/{organizationId}/enterprise: get: summary: List enterprises for an organization @@ -50899,6 +50935,14 @@ components: - claimTransactionByVasp - rejectTransactionByVasp - freezeKey + IsRetailEnterprise: + title: IsRetailEnterprise + type: object + properties: + isRetail: + type: boolean + required: + - isRetail parameters: Base: name: base