openapi: 3.2.0 info: version: 1.3.0 title: Xe.Api.Payments Permission API tags: - name: Permission paths: /permissions: get: tags: - Permission summary: Gets all permissions for the current user. description: "Sample request:\n \n GET /permissions\n \n\\\n
**The complete set of permissions are**\n* OnlineCardSettlementEnabled\n* CanQuote\n* CanQuoteAndCreateTransaction\n* CanUseOnlineDealing\n* CanAccessRecipients\n* CanEditOwnAddress\n* CanAddRecipient\n* CanDeleteRecipient\n* ViewPaymentsAwaitingAuthorisation\n* CanSubmitPayment\n* AllowOnlineForwards\n
" operationId: Get responses: '200': description: Returns the list of permissions. content: text/plain: schema: $ref: '#/components/schemas/StringArrayResponse' application/json: schema: $ref: '#/components/schemas/StringArrayResponse' example: - CanQuote - CanQuoteAndCreateTransaction text/json: schema: $ref: '#/components/schemas/StringArrayResponse' '500': description: Error getting permissions. components: schemas: StringArrayResponse: description: "Generic response returned for each request.\n \n\"message\" - Result from the request.\n\"content\" - Data returned in the response.\n\"errors\" - Issues while processing the request.\n\"warnings\" - Potential issues while processing the request or with the response data.\n\"information\" - Extra details relating to the response data.\nThe type of the content." type: object properties: content: uniqueItems: false type: array items: type: string message: type: string errors: uniqueItems: false type: array items: $ref: '#/components/schemas/Message' warnings: uniqueItems: false type: array items: $ref: '#/components/schemas/Message' information: uniqueItems: false type: array items: $ref: '#/components/schemas/Message' Message: description: "Details for an error or warning that occured during the request or general information from it.\n \n\"code\" - Code that can be used to find full details for the message.\n\"data\" - Any relevant data that caused the message, if applicable." type: object properties: code: type: string data: uniqueItems: false type: array items: $ref: '#/components/schemas/StringStringKeyValuePair' StringStringKeyValuePair: type: object properties: key: type: string readOnly: true value: type: string readOnly: true