SumUp · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for SumUp REST Roles API

6 actions 6 updates phrasing extends openapi/sumup-roles-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for SumUp's API. It is a proposal applied on top of the contract, not a document SumUp publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 6

$.info
$.paths['/v0.1/merchants/{merchant_code}/roles'].get
$.paths['/v0.1/merchants/{merchant_code}/roles'].post
$.paths['/v0.1/merchants/{merchant_code}/roles/{role_id}'].get
$.paths['/v0.1/merchants/{merchant_code}/roles/{role_id}'].delete
$.paths['/v0.1/merchants/{merchant_code}/roles/{role_id}'].patch

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for SumUp REST Roles API
  version: 1.0.0
extends: openapi/sumup-roles-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-17'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 5
- target: $.paths['/v0.1/merchants/{merchant_code}/roles'].get
  update:
    x-apievangelist-phrasing:
      intent: List a merchant's custom roles
      effect: read
      questions:
      - Which custom roles have been defined for my merchant?
      - Can I see every user role set up on a merchant account?
      instructions:
      - text: List the custom roles for merchant {merchant_code}.
        slots:
          merchant_code: path.merchant_code
      - text: Show all user-defined roles on merchant {merchant_code}.
        slots:
          merchant_code: path.merchant_code
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v0.1/merchants/{merchant_code}/roles'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a custom role
      effect: write
      questions:
      - How do I create a custom role with specific permissions for my staff?
      - Can I give a new role a description and metadata?
      instructions:
      - text: Create a role named {name} with permissions {permissions} for merchant {merchant_code}.
        slots:
          name: requestBody.name
          permissions: requestBody.permissions
          merchant_code: path.merchant_code
      - text: Add role {name} described as {description} to merchant {merchant_code} with permissions {permissions}.
        slots:
          name: requestBody.name
          description: requestBody.description
          merchant_code: path.merchant_code
          permissions: requestBody.permissions
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v0.1/merchants/{merchant_code}/roles/{role_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Retrieve a custom role
      effect: read
      questions:
      - What permissions does a particular role grant?
      - Can I look up one custom role by its ID?
      instructions:
      - text: Get role {role_id} for merchant {merchant_code}.
        slots:
          role_id: path.role_id
          merchant_code: path.merchant_code
      - text: Show the permissions of role {role_id} on merchant {merchant_code}.
        slots:
          role_id: path.role_id
          merchant_code: path.merchant_code
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v0.1/merchants/{merchant_code}/roles/{role_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a custom role
      effect: destructive
      questions:
      - Can I remove a custom role I no longer use?
      - What happens to members assigned to a role I delete?
      instructions:
      - text: Delete role {role_id} from merchant {merchant_code}.
        slots:
          role_id: path.role_id
          merchant_code: path.merchant_code
      - text: Remove the custom role {role_id} on merchant {merchant_code}.
        slots:
          role_id: path.role_id
          merchant_code: path.merchant_code
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v0.1/merchants/{merchant_code}/roles/{role_id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a custom role
      effect: write
      questions:
      - Can I change the permissions on an existing role?
      - Is it possible to rename a role or add a description?
      instructions:
      - text: Update role {role_id} on merchant {merchant_code} with permissions {permissions}.
        slots:
          role_id: path.role_id
          merchant_code: path.merchant_code
          permissions: requestBody.permissions
      - text: Rename role {role_id} on merchant {merchant_code} to {name}.
        slots:
          role_id: path.role_id
          merchant_code: path.merchant_code
          name: requestBody.name
      method: generated
      generated: '2026-11-17'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/sumup-roles-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.