openapi: 3.2.0 info: description: Javascript client to remove the PCI burden when taking payments online title: Connect-E Development Environment Revoke Access Token API version: 1.0.0 servers: - url: https://e.test.connect.paymentsense.cloud tags: - name: Revoke Access Token paths: /v1/access-tokens/{access-token}/revoke: post: tags: - Revoke Access Token description: Revoke an access token responses: '200': description: Access token successfully revoked '400': description: Access token either does not exist or has already been consumed content: text/plain: schema: type: string enum: - Invalid access token - unable to revoke access token with transaction in [state] state '401': description: Unauthorized - There is an issue authenticating the request. '500': description: Internal Server Error parameters: - description: Access token associated with the payment in: path name: access-token required: true schema: type: string components: securitySchemes: api_key: type: apiKey in: header name: Authorization access_token: type: apiKey in: header name: Authorization description: This authorization is deprecated and only used on the POST /v1/cross-reference-payments endpoint. Please only use the api_key for new integrations. jwt: type: http scheme: bearer bearerFormat: JWT