sumup-sumup-agent-toolkit
v0.10.0MCP server for interacting with SumUp
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
compat_get_operator Retrieve an operator
Returns specific operator.
| Parameter | Type | Description |
|---|---|---|
operatorId * | integer | The unique identifier for the operator. |
create_checkout Create a checkout
Creates a new payment checkout resource. The unique `checkout_reference` created by this request, is used for further manipulation of the checkout. For 3DS checkouts, add the `redirect_url` parameter to your request body schema. Follow by processing a checkout to charge the provided payment instrument.
| Parameter | Type | Description |
|---|---|---|
amount * | number | Amount of the payment. |
checkout_reference * | string | Unique ID of the payment checkout specified by the client application when creating the checkout resource. |
currency * | string | Three-letter [ISO4217](https://en.wikipedia.org/wiki/ISO_4217) code of the currency for the amount. Currently supported currency values are enumerated above. |
merchant_code * | string | Unique identifying code of the merchant profile. |
customer_id | string | Unique identification of a customer. If specified, the checkout session and payment instrument are associated with the referenced customer. |
date | string | Date and time of the creation of the payment checkout. Response format expressed according to [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) code. |
description | string | Short description of the checkout visible in the SumUp dashboard. The description can contribute to reporting, allowing easier identification of a checkout. |
id | string | Unique ID of the checkout resource. |
purpose | string | Purpose of the checkout. |
redirect_url | string | __Required__ for [APMs](https://developer.sumup.com/online-payments/apm/introduction) and __recommended__ for card payments. Refers to a url where the end user is redirected once the payment processin… |
return_url | string | URL to which the SumUp platform sends the processing status of the payment checkout. |
status | string | Current status of the checkout. |
transactions | array | List of transactions related to the payment. |
valid_until | string | null | Date and time of the checkout expiration before which the client application needs to send a processing request. If no value is present, the checkout does not have an expiration time. |
create_customer Create a customer
Creates a new saved customer resource which you can later manipulate and save payment instruments to.
| Parameter | Type | Description |
|---|---|---|
customer_id * | string | Unique ID of the customer. |
personal_details | object | Personal details for the customer. |
create_merchant_member Create a member
Create a merchant member.
| Parameter | Type | Description |
|---|---|---|
email * | string | Email address of the member to add. |
merchantCode * | string | Short unique identifier for the merchant. |
roles * | array | List of roles to assign to the new member. |
attributes | object | Object attributes that are modifiable only by SumUp applications. |
is_managed_user | boolean | True if the user is managed by the merchant. In this case, we'll created a virtual user with the provided password and nickname. |
metadata | object | Set of user-defined key-value pairs attached to the object. Partial updates are not supported. When updating, always submit whole metadata. Maximum of 64 parameters are allowed in the object. |
nickname | string | Nickname of the member to add. Only used if `is_managed_user` is true. Used for display purposes only. |
password | string | Password of the member to add. Only used if `is_managed_user` is true. In the case of service accounts, the password is not used and can not be defined by the caller. |
create_merchant_role Create a role
Create a custom role for the merchant. Roles are defined by the set of permissions that they grant to the members that they are assigned to.
| Parameter | Type | Description |
|---|---|---|
merchantCode * | string | Short unique identifier for the merchant. |
name * | string | User-defined name of the role. |
permissions * | array | User's permissions. |
description | string | User-defined description of the role. |
metadata | object | Set of user-defined key-value pairs attached to the object. Partial updates are not supported. When updating, always submit whole metadata. Maximum of 64 parameters are allowed in the object. |
create_reader Create a Reader
Create a new Reader for the merchant account.
| Parameter | Type | Description |
|---|---|---|
merchantCode * | string | Short unique identifier for the merchant. |
name * | string | Custom human-readable, user-defined name for easier identification of the reader. |
pairing_code * | string | The pairing code is a 8 or 9 character alphanumeric string that is displayed on a SumUp Device after initiating the pairing. It is used to link the physical device to the created pairing. |
metadata | object | Set of user-defined key-value pairs attached to the object. Partial updates are not supported. When updating, always submit whole metadata. Maximum of 64 parameters are allowed in the object. |
create_reader_checkout Create a Reader Checkout
Creates a Checkout for a Reader. This process is asynchronous and the actual transaction may take some time to be stared on the device. There are some caveats when using this endpoint: * The target device must be online, otherwise checkout won't be accepted * After the checkout is accepted, the system has 60 seconds to start the payment on the target device. During this time, any other checkout for the same device will be rejected. **Note**: If the target device is a Solo, it must be in version 3.3.24.3 or higher.
| Parameter | Type | Description |
|---|---|---|
merchantCode * | string | Merchant Code |
readerId * | string | The unique identifier of the Reader |
total_amount * | object | Amount structure. The amount is represented as an integer value altogether with the currency and the minor unit. For example, EUR 1.00 is represented as value 100 with minor unit of 2. |
affiliate | Affiliate metadata for the transaction. It is a field that allow for integrators to track the source of the transaction. | |
card_type | string | The card type of the card used for the transaction. Is is required only for some countries (e.g: Brazil). |
description | string | Description of the checkout to be shown in the Merchant Sales |
installments | Number of installments for the transaction. It may vary according to the merchant country. For example, in Brazil, the maximum number of installments is 12. Omit if the merchant country does support… | |
return_url | string | Webhook URL to which the payment result will be sent. It must be a HTTPS url. |
tip_rates | array | List of tipping rates to be displayed to the cardholder. The rates are in percentage and should be between 0.01 and 0.99. The list should be sorted in ascending order. |
tip_timeout | integer | Time in seconds the cardholder has to select a tip rate. If not provided, the default value is 30 seconds. It can only be set if `tip_rates` is provided. **Note**: If the target device is a Solo, it… |
create_reader_terminate Terminate a Reader Checkout
Terminate a Reader Checkout stops the current transaction on the target device. This process is asynchronous and the actual termination may take some time to be performed on the device. There are some caveats when using this endpoint: * The target device must be online, otherwise terminate won't be accepted * The action will succeed only if the device is waiting for cardholder action: e.g: waiting for card, waiting for PIN, etc. * There is no confirmation of the termination. If a transaction is successfully terminated and `return_url` was provided on Checkout, the transaction status will b…
| Parameter | Type | Description |
|---|---|---|
merchantCode * | string | Merchant Code |
readerId * | string | The unique identifier of the Reader |
create_sub_account Create an operator
Creates new operator for currently authorized users' merchant.
| Parameter | Type | Description |
|---|---|---|
password * | string | |
username * | string | |
nickname | string | |
permissions | object |
deactivate_checkout Deactivate a checkout
Deactivates an identified checkout resource. If the checkout has already been processed it can not be deactivated.
| Parameter | Type | Description |
|---|---|---|
id * | string | Unique ID of the checkout resource. |
deactivate_payment_instrument Deactivate a payment instrument
Deactivates an identified card payment instrument resource for a customer.
| Parameter | Type | Description |
|---|---|---|
customerId * | string | Unique ID of the saved customer resource. |
token * | string | Unique token identifying the card saved as a payment instrument resource. |
deactivate_sub_account Disable an operator.
Disable the specified operator for the merchant account.
| Parameter | Type | Description |
|---|---|---|
operatorId * | integer | The unique identifier for the operator. |
delete_merchant_member Delete a member
Deletes a merchant member.
| Parameter | Type | Description |
|---|---|---|
memberId * | string | The ID of the member to retrieve. |
merchantCode * | string | Short unique identifier for the merchant. |
delete_merchant_role Delete a role
Delete a custom role.
| Parameter | Type | Description |
|---|---|---|
merchantCode * | string | Short unique identifier for the merchant. |
roleId * | string | The ID of the role to retrieve. |
delete_reader Delete a reader
Delete a reader.
| Parameter | Type | Description |
|---|---|---|
id * | string | Unique identifier of the object. Note that this identifies the instance of the physical devices pairing with your SumUp account. If you [delete](https://developer.sumup.com/api/readers/delete-reader)… |
merchantCode * | string | Short unique identifier for the merchant. |
get_account Retrieve a profile
Returns user profile information.
| Parameter | Type | Description |
|---|---|---|
include[] | array | A list of additional information you want to receive for the user. By default only personal and merchant profile information will be returned. |
get_checkout Retrieve a checkout
Retrieves an identified checkout resource. Use this request after processing a checkout to confirm its status and inform the end user respectively.
| Parameter | Type | Description |
|---|---|---|
id * | string | Unique ID of the checkout resource. |
get_customer Retrieve a customer
Retrieves an identified saved customer resource through the unique `customer_id` parameter, generated upon customer creation.
| Parameter | Type | Description |
|---|---|---|
customerId * | string | Unique ID of the saved customer resource. |
get_doing_business_as Retrieve DBA
Retrieves Doing Business As profile.
get_merchant Retrieve a Merchant
Retrieve a merchant.
| Parameter | Type | Description |
|---|---|---|
merchantCode * | string | Short unique identifier for the merchant. |
version | string | The version of the resource. At the moment, the only supported value is `latest`. When provided and the requested resource's `change_status` is pending, the resource will be returned with all pending… |
get_merchant_member Retrieve a member
Retrieve a merchant member.
| Parameter | Type | Description |
|---|---|---|
memberId * | string | The ID of the member to retrieve. |
merchantCode * | string | Short unique identifier for the merchant. |
get_merchant_profile Retrieve a merchant profile
Retrieves merchant profile data.
get_merchant_role Retrieve a role
Retrieve a custom role by ID.
| Parameter | Type | Description |
|---|---|---|
merchantCode * | string | Short unique identifier for the merchant. |
roleId * | string | The ID of the role to retrieve. |
get_payment_methods Get available payment methods
Get payment methods available for the given merchant to use with a checkout.
| Parameter | Type | Description |
|---|---|---|
merchantCode * | string | The SumUp merchant code. |
amount | number | The amount for which the payment methods should be eligible, in major units. Note that currency must also be provided when filtering by amount. |
currency | string | The currency for which the payment methods should be eligible. |
get_person Retrieve a Person
Returns a single person related to the merchant.
| Parameter | Type | Description |
|---|---|---|
merchantCode * | string | Short unique identifier for the merchant. |
personId * | string | Person ID |
version | string | The version of the resource. At the moment, the only supported value is `latest`. When provided and the requested resource's `change_status` is pending, the resource will be returned with all pending… |
get_personal_profile Retrieve a personal profile
Retrieves personal profile data.
get_reader Retrieve a Reader
Retrieve a Reader.
| Parameter | Type | Description |
|---|---|---|
id * | string | Unique identifier of the object. Note that this identifies the instance of the physical devices pairing with your SumUp account. If you [delete](https://developer.sumup.com/api/readers/delete-reader)… |
merchantCode * | string | Short unique identifier for the merchant. |
get_receipt Retrieve receipt details
Retrieves receipt specific data for a transaction.
| Parameter | Type | Description |
|---|---|---|
id * | string | SumUp unique transaction ID or transaction code, e.g. TS7HDYLSKD. |
mid * | string | Merchant code. |
tx_event_id | integer | The ID of the transaction event (refund). |
get_transaction_v2_1 Retrieve a transaction
Retrieves the full details of an identified transaction. The transaction resource is identified by a query parameter and *one* of following parameters is required: * `id` * `internal_id` * `transaction_code` * `foreign_transaction_id` * `client_transaction_id`
| Parameter | Type | Description |
|---|---|---|
merchantCode * | string | |
client_transaction_id | string | Client transaction id. |
foreign_transaction_id | string | External/foreign transaction id (passed by clients). |
id | string | Retrieves the transaction resource with the specified transaction ID (the `id` parameter in the transaction resource). |
internal_id | string | Retrieves the transaction resource with the specified internal transaction ID (the `internal_id` parameter in the transaction resource). |
transaction_code | string | Retrieves the transaction resource with the specified transaction code. |
list_checkouts List checkouts
Lists created checkout resources according to the applied `checkout_reference`.
| Parameter | Type | Description |
|---|---|---|
checkout_reference | string | Filters the list of checkout resources by the unique ID of the checkout. |
list_memberships List memberships
List memberships of the current user.
| Parameter | Type | Description |
|---|---|---|
kind | string | The type of the membership resource. Possible values are: * `merchant` - merchant account(s) * `organization` - organization(s) |
limit | integer | Maximum number of members to return. |
offset | integer | Offset of the first member to return. |
resource.attributes.sandbox | boolean | Filter memberships by the sandbox status of the resource the membership is in. |
resource.name | string | Filter memberships by the name of the resource the membership is in. |
resource.parent.id | string | null | Filter memberships by the parent of the resource the membership is in. When filtering by parent both `resource.parent.id` and `resource.parent.type` must be present. Pass explicit null to filter for r… |
resource.parent.type | string | null | Filter memberships by the parent of the resource the membership is in. When filtering by parent both `resource.parent.id` and `resource.parent.type` must be present. Pass explicit null to filter for r… |
resource.type | string | The type of the membership resource. Possible values are: * `merchant` - merchant account(s) * `organization` - organization(s) |
roles | array | Filter the returned memberships by role. |
status | string | The status of the membership. |
list_merchant_members List members
Lists merchant members.
| Parameter | Type | Description |
|---|---|---|
merchantCode * | string | Short unique identifier for the merchant. |
email | string | Filter the returned members by email address prefix. |
limit | integer | Maximum number of members to return. |
offset | integer | Offset of the first member to return. |
roles | array | Filter the returned members by role. |
scroll | boolean | Indicates to skip count query. |
status | string | The status of the membership. |
user.id | string | Search for a member by user id. |
list_merchant_roles List roles
List merchant's custom roles.
| Parameter | Type | Description |
|---|---|---|
merchantCode * | string | Short unique identifier for the merchant. |
list_payment_instruments List payment instruments
Lists all payment instrument resources that are saved for an identified customer.
| Parameter | Type | Description |
|---|---|---|
customerId * | string | Unique ID of the saved customer resource. |
list_payouts_v1 List payouts
Lists ordered payouts for the merchant profile.
| Parameter | Type | Description |
|---|---|---|
end_date * | string | End date (in [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) format). |
merchantCode * | string | |
start_date * | string | Start date (in [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) format). |
format | string | |
limit | integer | |
order | string |
list_persons List Persons
Returns a list of persons related to the merchant.
| Parameter | Type | Description |
|---|---|---|
merchantCode * | string | Short unique identifier for the merchant. |
version | string | The version of the resource. At the moment, the only supported value is `latest`. When provided and the requested resource's `change_status` is pending, the resource will be returned with all pending… |
list_readers List Readers
List all readers of the merchant.
| Parameter | Type | Description |
|---|---|---|
merchantCode * | string | Short unique identifier for the merchant. |
list_sub_accounts List operators
Returns list of operators for currently authorized user's merchant.
| Parameter | Type | Description |
|---|---|---|
include_primary | boolean | If true the list of operators will include also the primary user. |
query | string | Search query used to filter users that match given query term. Current implementation allow querying only over the email address. All operators whos email address contains the query string are return… |
list_transactions_v2_1 List transactions
Lists detailed history of all transactions associated with the merchant profile.
| Parameter | Type | Description |
|---|---|---|
merchantCode * | string | |
changes_since | string | Filters the results by the latest modification time of resources and returns only transactions that are modified *at or after* the specified timestamp (in [ISO8601](https://en.wikipedia.org/wiki/ISO_8… |
entry_modes[] | array | Filters the returned results by the specified list of entry modes. |
limit | integer | Specifies the maximum number of results per page. Value must be a positive integer and if not specified, will return 10 results. |
newest_ref | string | Filters the results by the reference ID of transaction events and returns only transactions with events whose IDs are *smaller* than the specified value. This parameters supersedes the `newest_time` p… |
newest_time | string | Filters the results by the creation time of resources and returns only transactions that are created *before* the specified timestamp (in [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) format). |
oldest_ref | string | Filters the results by the reference ID of transaction events and returns only transactions with events whose IDs are *greater* than the specified value. This parameters supersedes the `oldest_time` p… |
oldest_time | string | Filters the results by the creation time of resources and returns only transactions that are created *at or after* the specified timestamp (in [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) format)… |
order | string | Specifies the order in which the returned results are displayed. |
payment_types | array | Filters the returned results by the specified list of payment types used for the transactions. |
statuses | array | Filters the returned results by the specified list of final statuses of the transactions. |
transaction_code | string | Retrieves the transaction resource with the specified transaction code. |
types | array | Filters the returned results by the specified list of transaction types. |
users | array | Filters the returned results by user email. |
refund_transaction Refund a transaction
Refunds an identified transaction either in full or partially.
| Parameter | Type | Description |
|---|---|---|
txnId * | string | Unique ID of the transaction. |
amount | number | Amount to be refunded. Eligible amount can't exceed the amount of the transaction and varies based on country and currency. If you do not specify a value, the system performs a full refund of the tran… |
update_customer Update a customer
Updates an identified saved customer resource's personal details. The request only overwrites the parameters included in the request, all other parameters will remain with their initially assigned values.
| Parameter | Type | Description |
|---|---|---|
customerId * | string | Unique ID of the saved customer resource. |
personal_details | object | Personal details for the customer. |
update_merchant_member Update a member
Update the merchant member.
| Parameter | Type | Description |
|---|---|---|
memberId * | string | The ID of the member to retrieve. |
merchantCode * | string | Short unique identifier for the merchant. |
attributes | object | Object attributes that are modifiable only by SumUp applications. |
metadata | object | Set of user-defined key-value pairs attached to the object. Partial updates are not supported. When updating, always submit whole metadata. Maximum of 64 parameters are allowed in the object. |
roles | array | |
user | object | Allows you to update user data of managed users. |
update_merchant_role Update a role
Update a custom role.
| Parameter | Type | Description |
|---|---|---|
merchantCode * | string | Short unique identifier for the merchant. |
roleId * | string | The ID of the role to retrieve. |
description | string | User-defined description of the role. |
name | string | User-defined name of the role. |
permissions | array | User's permissions. |
update_reader Update a Reader
Update a Reader.
| Parameter | Type | Description |
|---|---|---|
id * | string | Unique identifier of the object. Note that this identifies the instance of the physical devices pairing with your SumUp account. If you [delete](https://developer.sumup.com/api/readers/delete-reader)… |
merchantCode * | string | Short unique identifier for the merchant. |
metadata | object | Set of user-defined key-value pairs attached to the object. Partial updates are not supported. When updating, always submit whole metadata. Maximum of 64 parameters are allowed in the object. |
name | string | Custom human-readable, user-defined name for easier identification of the reader. |
update_sub_account Update an operator
Updates operator. If the operator was disabled and their password is updated they will be unblocked.
| Parameter | Type | Description |
|---|---|---|
operatorId * | integer | The unique identifier for the operator. |
disabled | boolean | |
nickname | string | |
password | string | |
permissions | object | |
username | string |