sumup-sumup-agent-toolkit

v0.10.0
@iflow-mcp/sumup-sumup-agent-toolkit Checked 15 hours ago Published 9 months ago

MCP 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.

ParameterTypeDescription
operatorId *integerThe 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.

ParameterTypeDescription
amount *numberAmount of the payment.
checkout_reference *stringUnique ID of the payment checkout specified by the client application when creating the checkout resource.
currency *stringThree-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 *stringUnique identifying code of the merchant profile.
customer_idstringUnique identification of a customer. If specified, the checkout session and payment instrument are associated with the referenced customer.
datestringDate and time of the creation of the payment checkout. Response format expressed according to [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) code.
descriptionstringShort description of the checkout visible in the SumUp dashboard. The description can contribute to reporting, allowing easier identification of a checkout.
idstringUnique ID of the checkout resource.
purposestringPurpose of the checkout.
redirect_urlstring__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_urlstringURL to which the SumUp platform sends the processing status of the payment checkout.
statusstringCurrent status of the checkout.
transactionsarrayList of transactions related to the payment.
valid_untilstring | nullDate 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.

ParameterTypeDescription
customer_id *stringUnique ID of the customer.
personal_detailsobjectPersonal details for the customer.

create_merchant_member Create a member

Create a merchant member.

ParameterTypeDescription
email *stringEmail address of the member to add.
merchantCode *stringShort unique identifier for the merchant.
roles *arrayList of roles to assign to the new member.
attributesobjectObject attributes that are modifiable only by SumUp applications.
is_managed_userbooleanTrue if the user is managed by the merchant. In this case, we'll created a virtual user with the provided password and nickname.
metadataobjectSet 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.
nicknamestringNickname of the member to add. Only used if `is_managed_user` is true. Used for display purposes only.
passwordstringPassword 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.

ParameterTypeDescription
merchantCode *stringShort unique identifier for the merchant.
name *stringUser-defined name of the role.
permissions *arrayUser's permissions.
descriptionstringUser-defined description of the role.
metadataobjectSet 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.

ParameterTypeDescription
merchantCode *stringShort unique identifier for the merchant.
name *stringCustom human-readable, user-defined name for easier identification of the reader.
pairing_code *stringThe 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.
metadataobjectSet 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.

ParameterTypeDescription
merchantCode *stringMerchant Code
readerId *stringThe unique identifier of the Reader
total_amount *objectAmount 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.
affiliateAffiliate metadata for the transaction. It is a field that allow for integrators to track the source of the transaction.
card_typestringThe card type of the card used for the transaction. Is is required only for some countries (e.g: Brazil).
descriptionstringDescription of the checkout to be shown in the Merchant Sales
installmentsNumber 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_urlstringWebhook URL to which the payment result will be sent. It must be a HTTPS url.
tip_ratesarrayList 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_timeoutintegerTime 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…

ParameterTypeDescription
merchantCode *stringMerchant Code
readerId *stringThe unique identifier of the Reader

create_sub_account Create an operator

Creates new operator for currently authorized users' merchant.

ParameterTypeDescription
password *string
username *string
nicknamestring
permissionsobject

deactivate_checkout Deactivate a checkout

Deactivates an identified checkout resource. If the checkout has already been processed it can not be deactivated.

ParameterTypeDescription
id *stringUnique ID of the checkout resource.

deactivate_payment_instrument Deactivate a payment instrument

Deactivates an identified card payment instrument resource for a customer.

ParameterTypeDescription
customerId *stringUnique ID of the saved customer resource.
token *stringUnique token identifying the card saved as a payment instrument resource.

deactivate_sub_account Disable an operator.

Disable the specified operator for the merchant account.

ParameterTypeDescription
operatorId *integerThe unique identifier for the operator.

delete_merchant_member Delete a member

Deletes a merchant member.

ParameterTypeDescription
memberId *stringThe ID of the member to retrieve.
merchantCode *stringShort unique identifier for the merchant.

delete_merchant_role Delete a role

Delete a custom role.

ParameterTypeDescription
merchantCode *stringShort unique identifier for the merchant.
roleId *stringThe ID of the role to retrieve.

delete_reader Delete a reader

Delete a reader.

ParameterTypeDescription
id *stringUnique 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 *stringShort unique identifier for the merchant.

get_account Retrieve a profile

Returns user profile information.

ParameterTypeDescription
include[]arrayA 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.

ParameterTypeDescription
id *stringUnique 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.

ParameterTypeDescription
customerId *stringUnique 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.

ParameterTypeDescription
merchantCode *stringShort unique identifier for the merchant.
versionstringThe 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.

ParameterTypeDescription
memberId *stringThe ID of the member to retrieve.
merchantCode *stringShort 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.

ParameterTypeDescription
merchantCode *stringShort unique identifier for the merchant.
roleId *stringThe 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.

ParameterTypeDescription
merchantCode *stringThe SumUp merchant code.
amountnumberThe amount for which the payment methods should be eligible, in major units. Note that currency must also be provided when filtering by amount.
currencystringThe currency for which the payment methods should be eligible.

get_person Retrieve a Person

Returns a single person related to the merchant.

ParameterTypeDescription
merchantCode *stringShort unique identifier for the merchant.
personId *stringPerson ID
versionstringThe 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.

ParameterTypeDescription
id *stringUnique 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 *stringShort unique identifier for the merchant.

get_receipt Retrieve receipt details

Retrieves receipt specific data for a transaction.

ParameterTypeDescription
id *stringSumUp unique transaction ID or transaction code, e.g. TS7HDYLSKD.
mid *stringMerchant code.
tx_event_idintegerThe 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`

ParameterTypeDescription
merchantCode *string
client_transaction_idstringClient transaction id.
foreign_transaction_idstringExternal/foreign transaction id (passed by clients).
idstringRetrieves the transaction resource with the specified transaction ID (the `id` parameter in the transaction resource).
internal_idstringRetrieves the transaction resource with the specified internal transaction ID (the `internal_id` parameter in the transaction resource).
transaction_codestringRetrieves the transaction resource with the specified transaction code.

list_checkouts List checkouts

Lists created checkout resources according to the applied `checkout_reference`.

ParameterTypeDescription
checkout_referencestringFilters the list of checkout resources by the unique ID of the checkout.

list_memberships List memberships

List memberships of the current user.

ParameterTypeDescription
kindstringThe type of the membership resource. Possible values are: * `merchant` - merchant account(s) * `organization` - organization(s)
limitintegerMaximum number of members to return.
offsetintegerOffset of the first member to return.
resource.attributes.sandboxbooleanFilter memberships by the sandbox status of the resource the membership is in.
resource.namestringFilter memberships by the name of the resource the membership is in.
resource.parent.idstring | nullFilter 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.typestring | nullFilter 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.typestringThe type of the membership resource. Possible values are: * `merchant` - merchant account(s) * `organization` - organization(s)
rolesarrayFilter the returned memberships by role.
statusstringThe status of the membership.

list_merchant_members List members

Lists merchant members.

ParameterTypeDescription
merchantCode *stringShort unique identifier for the merchant.
emailstringFilter the returned members by email address prefix.
limitintegerMaximum number of members to return.
offsetintegerOffset of the first member to return.
rolesarrayFilter the returned members by role.
scrollbooleanIndicates to skip count query.
statusstringThe status of the membership.
user.idstringSearch for a member by user id.

list_merchant_roles List roles

List merchant's custom roles.

ParameterTypeDescription
merchantCode *stringShort unique identifier for the merchant.

list_payment_instruments List payment instruments

Lists all payment instrument resources that are saved for an identified customer.

ParameterTypeDescription
customerId *stringUnique ID of the saved customer resource.

list_payouts_v1 List payouts

Lists ordered payouts for the merchant profile.

ParameterTypeDescription
end_date *stringEnd date (in [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) format).
merchantCode *string
start_date *stringStart date (in [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) format).
formatstring
limitinteger
orderstring

list_persons List Persons

Returns a list of persons related to the merchant.

ParameterTypeDescription
merchantCode *stringShort unique identifier for the merchant.
versionstringThe 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.

ParameterTypeDescription
merchantCode *stringShort unique identifier for the merchant.

list_sub_accounts List operators

Returns list of operators for currently authorized user's merchant.

ParameterTypeDescription
include_primarybooleanIf true the list of operators will include also the primary user.
querystringSearch 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.

ParameterTypeDescription
merchantCode *string
changes_sincestringFilters 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[]arrayFilters the returned results by the specified list of entry modes.
limitintegerSpecifies the maximum number of results per page. Value must be a positive integer and if not specified, will return 10 results.
newest_refstringFilters 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_timestringFilters 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_refstringFilters 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_timestringFilters 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)…
orderstringSpecifies the order in which the returned results are displayed.
payment_typesarrayFilters the returned results by the specified list of payment types used for the transactions.
statusesarrayFilters the returned results by the specified list of final statuses of the transactions.
transaction_codestringRetrieves the transaction resource with the specified transaction code.
typesarrayFilters the returned results by the specified list of transaction types.
usersarrayFilters the returned results by user email.

refund_transaction Refund a transaction

Refunds an identified transaction either in full or partially.

ParameterTypeDescription
txnId *stringUnique ID of the transaction.
amountnumberAmount 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.

ParameterTypeDescription
customerId *stringUnique ID of the saved customer resource.
personal_detailsobjectPersonal details for the customer.

update_merchant_member Update a member

Update the merchant member.

ParameterTypeDescription
memberId *stringThe ID of the member to retrieve.
merchantCode *stringShort unique identifier for the merchant.
attributesobjectObject attributes that are modifiable only by SumUp applications.
metadataobjectSet 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.
rolesarray
userobjectAllows you to update user data of managed users.

update_merchant_role Update a role

Update a custom role.

ParameterTypeDescription
merchantCode *stringShort unique identifier for the merchant.
roleId *stringThe ID of the role to retrieve.
descriptionstringUser-defined description of the role.
namestringUser-defined name of the role.
permissionsarrayUser's permissions.

update_reader Update a Reader

Update a Reader.

ParameterTypeDescription
id *stringUnique 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 *stringShort unique identifier for the merchant.
metadataobjectSet 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.
namestringCustom 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.

ParameterTypeDescription
operatorId *integerThe unique identifier for the operator.
disabledboolean
nicknamestring
passwordstring
permissionsobject
usernamestring