SumUp
App · 20 actions
Read merchant transactions, payouts, checkouts, sales, and card readers.
Actions
| Action | What it does |
|---|---|
| Get checkout | Get checkout. |
| Get member | Get member. |
| Get merchant | Get merchant. |
| Get person | Get person. |
| Get reader | Get reader. |
| Get reader settings | Get reader settings. |
| Get reader status | Get reader status. |
| Get role | Get role. |
| Get sale | Get sale. |
| Get transaction | Get transaction. |
| List checkouts | List checkouts. |
| List members | List members. |
| List memberships | List memberships. |
| List payment methods | List payment methods. |
| List payouts | List payouts. |
| List persons | List persons. |
| List readers | List readers. |
| List roles | List roles. |
| List sales | List sales. |
| List transactions | List transactions. |
Get checkout
Get checkout.
Inputs
- Checkout ID
checkout_idtextRequired - SumUp-generated `id` returned when creating a checkout. Use this value to retrieve, update, process, or deactivate the checkout.
Outputs
dataobject- The response from SumUp.
Example output
{
"data": {
"amount": 1,
"checkout_reference": "example",
"currency": "BRL",
"customer_id": "example",
"date": "example",
"description": "example",
"hosted_checkout_url": "example",
"id": "example",
"mandate": {
"merchant_code": "example",
"status": "active",
"type": "example"
},
"merchant_code": "example",
"merchant_name": "example",
"payment_instrument": {
"token": "example"
},
"redirect_url": "example",
"return_url": "example",
"status": "PENDING",
"transaction_code": "example",
"transaction_id": "example",
"transactions": [
{
"amount": 1,
"auth_code": "example",
"currency": "BRL",
"entry_mode": "CUSTOMER_ENTRY",
"id": "example",
"installments_count": 1,
"merchant_code": "example",
"payment_type": "CASH",
"status": "SUCCESSFUL",
"timestamp": "example",
"tip_amount": 1,
"transaction_code": "example",
"vat_amount": 1
}
],
"valid_until": "example"
}
}Get member
Get member.
Inputs
- Member ID
member_idtextRequired - The ID of the member to retrieve.
Outputs
dataobject- The response from SumUp.
Example output
{
"data": {
"attributes": {},
"created_at": "example",
"id": "example",
"invite": {
"email": "example",
"expires_at": "example"
},
"metadata": {},
"permissions": [
"example"
],
"roles": [
"example"
],
"status": "accepted",
"updated_at": "example",
"user": {
"classic": {
"user_id": 1
},
"disabled_at": "example",
"email": "example",
"id": "example",
"mfa_on_login_enabled": true,
"nickname": "example",
"picture": "example",
"service_account_user": true,
"type": "user",
"virtual_user": true
}
}
}Get merchant
Get merchant.
Inputs
None.
Outputs
dataobject- The response from SumUp.
Example output
{
"data": {
"alias": "example",
"avatar": "example",
"business_profile": {
"address": {
"autonomous_community": "example",
"city": "example",
"commune": "example",
"country": "example",
"county": "example",
"department": "example",
"district": "example",
"eircode": "example",
"municipality": "example",
"neighborhood": "example",
"post_code": "example",
"post_town": "example",
"province": "example",
"region": "example",
"state": "example",
"street_address": [
"example"
],
"zip_code": "example"
},
"branding": {
"background_color": "example",
"footer_text": "example",
"hero": "example",
"icon": "example",
"logo": "example",
"primary_color": "example",
"primary_color_fg": "example",
"secondary_color": "example",
"secondary_color_fg": "example"
},
"dynamic_descriptor": "example",
"email": "example",
"name": "example",
"phone_number": "example",
"website": "example"
},
"business_type": "example",
"change_status": "example",
"classic": {
"id": 1
},
"company": {
"address": {
"autonomous_community": "example",
"city": "example",
"commune": "example",
"county": "example",
"department": "example",
"district": "example",
"eircode": "example",
"municipality": "example",
"neighborhood": "example",
"post_code": "example",
"post_town": "example",
"province": "example",
"region": "example",
"state": "example",
"street_address": [
{}
],
"zip_code": "example"
},
"attributes": {},
"identifiers": [
{
"ref": "example",
"value": "example"
}
],
"legal_type": "example",
"merchant_category_code": "example",
"name": "example",
"phone_number": "example",
"trading_address": {
"autonomous_community": "example",
"city": "example",
"commune": "example",
"county": "example",
"department": "example",
"district": "example",
"eircode": "example",
"municipality": "example",
"neighborhood": "example",
"post_code": "example",
"post_town": "example",
"province": "example",
"region": "example",
"state": "example",
"street_address": [
{}
],
"zip_code": "example"
},
"website": "example"
},
"country": "example",
"created_at": "example",
"default_currency": "example",
"default_locale": "example",
"merchant_code": "example",
"meta": {},
"organization_id": "example",
"sandbox": true,
"updated_at": "example",
"version": "example"
}
}Get person
Get person.
Inputs
- Person ID
person_idtextRequired - Person ID
Outputs
dataobject- The response from SumUp.
Example output
{
"data": {
"address": {
"autonomous_community": "example",
"city": "example",
"commune": "example",
"country": "example",
"county": "example",
"department": "example",
"district": "example",
"eircode": "example",
"municipality": "example",
"neighborhood": "example",
"post_code": "example",
"post_town": "example",
"province": "example",
"region": "example",
"state": "example",
"street_address": [
"example"
],
"zip_code": "example"
},
"birthdate": "example",
"change_status": "example",
"citizenship": "example",
"country_of_residence": "example",
"family_name": "example",
"given_name": "example",
"id": "example",
"identifiers": [
{
"ref": "example",
"value": "example"
}
],
"nationality": "example",
"ownership": {
"share": 1
},
"phone_number": "example",
"relationships": [
"example"
],
"user_id": "example",
"version": "example"
}
}Get reader
Get reader.
Inputs
- Reader ID
reader_idtextRequired - The unique identifier of the reader.
Outputs
dataobject- The response from SumUp.
Example output
{
"data": {
"created_at": "example",
"device": {
"identifier": "example",
"model": "solo"
},
"id": "example",
"metadata": {},
"name": "example",
"service_account_id": "example",
"status": "unknown",
"updated_at": "example"
}
}Get reader settings
Get reader settings.
Inputs
- Reader ID
reader_idtextRequired - The unique identifier of the reader.
Outputs
dataobject- The response from SumUp.
Example output
{
"data": {
"data": {
"menu_lock": {
"enabled": true,
"passcode": "example"
}
}
}
}Get reader status
Get reader status.
Inputs
- Reader ID
reader_idtextRequired - The unique identifier of the Reader
Outputs
dataobject- The response from SumUp.
Example output
{
"data": {
"data": {
"battery_level": 1,
"battery_temperature": 1,
"connection_type": "btle",
"firmware_version": "example",
"last_activity": "example",
"state": "IDLE",
"status": "ONLINE"
}
}
}Get role
Get role.
Inputs
- Role ID
role_idtextRequired - The ID of the role to retrieve.
Outputs
dataobject- The response from SumUp.
Example output
{
"data": {
"created_at": "example",
"description": "example",
"id": "example",
"is_predefined": true,
"metadata": {},
"name": "example",
"permissions": [
"example"
],
"updated_at": "example"
}
}Get sale
Get sale.
Inputs
- Sale ID
sale_idtextRequired - The sale ID.
Outputs
dataobject- The response from SumUp.
Example output
{
"data": {
"closed_at": "example",
"created_at": "example",
"currency": {
"code": "example",
"scale": 1
},
"id": "example",
"items": [
{
"categories": [
{}
],
"features": [
{}
],
"id": "example",
"modifiers": [
{}
],
"name": "example",
"note": "example",
"price": {
"discounts": [
{}
],
"taxes": [
{}
],
"taxes_final": [
{}
],
"total_gross_amount": 1,
"total_gross_amount_final": 1,
"total_net_amount": 1,
"total_net_amount_final": 1,
"unit_amount": 1
},
"quantity": 1,
"references": {
"catalog_reference": "example",
"catalog_source": "SUMUP",
"external_id": "example",
"sku": "example"
},
"service_type": "IN_HOUSE",
"type": "example",
"unit_of_measure": {
"group_id": "example",
"unit_id": "example",
"unit_ratio": 1
}
}
],
"name": "example",
"note": "example",
"payments": [
{
"amount": 1,
"apm_type": "example",
"card": {
"brand": "example",
"last_4_digits": "example",
"type": "credit"
},
"gift_card": {
"id": "example"
},
"method": "example",
"processed_at": "example",
"reference": "example",
"status": "FAILED",
"type": "example"
}
],
"price": {
"cart_discounts": [
{
"description": "example",
"gross_amount": 1,
"id": "example",
"level": "example",
"net_amount": 1,
"source": {},
"tax_amount": 1,
"value": {}
}
],
"gross_amount": 1,
"net_amount": 1,
"taxes": [
{
"gross_amount": 1,
"id": "example",
"name": "example",
"net_amount": 1,
"percentage": 1,
"tax_amount": 1
}
]
},
"source": {
"channel": "example",
"external_id": "example",
"external_sub_channel_id": "example",
"sub_channel": "example"
},
"state": "CLOSED",
"tax_mode": "NO_TAX",
"user_id": "example"
}
}Get transaction
Get transaction.
Inputs
- Transaction ID
transaction_idtextRequired - Retrieves the transaction resource with the specified transaction ID (the `id` parameter in the transaction resource).
Outputs
dataobject- The response from SumUp.
Example output
{
"data": {
"amount": 1,
"auth_code": "example",
"card": {
"last_4_digits": "example",
"payment_account_reference": "example",
"type": "ALELO"
},
"client_transaction_id": "example",
"currency": "BRL",
"device_info": {
"model": "example",
"name": "example",
"system_name": "example",
"system_version": "example",
"uuid": "example"
},
"elv_account": {
"iban": "example",
"last_4_digits": "example",
"sequence_no": 1,
"sort_code": "example"
},
"entry_mode": "none",
"events": [
{
"amount": 1,
"deducted_amount": 1,
"deducted_fee_amount": 1,
"fee_amount": 1,
"id": 1,
"installment_number": 1,
"status": "FAILED",
"timestamp": "example",
"transaction_id": "example",
"type": "PAYOUT"
}
],
"fee_amount": 1,
"foreign_transaction_id": "example",
"horizontal_accuracy": 1,
"id": "example",
"installments_count": 1,
"lat": 1,
"links": [
{
"href": "example",
"max_amount": 1,
"min_amount": 1,
"rel": "example",
"type": "example"
}
],
"local_time": "example",
"location": {
"horizontal_accuracy": 1,
"lat": 1,
"lon": 1
},
"lon": 1,
"merchant_code": "example",
"merchant_id": 1,
"payment_type": "CASH",
"payout_date": "example",
"payout_plan": "SINGLE_PAYMENT",
"payout_type": "BANK_ACCOUNT",
"payouts_received": 1,
"payouts_total": 1,
"process_as": "CREDIT",
"product_summary": "example",
"products": [
{
"name": "example",
"price": 1,
"price_label": "example",
"price_with_vat": 1,
"quantity": 1,
"single_vat_amount": 1,
"total_price": 1,
"total_with_vat": 1,
"vat_amount": 1,
"vat_rate": 1
}
],
"simple_payment_type": "CASH",
"simple_status": "SUCCESSFUL",
"status": "SUCCESSFUL",
"tax_enabled": true,
"timestamp": "example",
"tip_amount": 1,
"transaction_code": "example",
"transaction_events": [
{
"amount": 1,
"date": "example",
"due_date": "example",
"event_type": "PAYOUT",
"id": 1,
"installment_number": 1,
"status": "FAILED",
"timestamp": "example"
}
],
"username": "example",
"vat_amount": 1,
"vat_rates": [
{
"gross": 1,
"net": 1,
"rate": 1,
"vat": 1
}
],
"verification_method": "none"
}
}List checkouts
List checkouts.
Inputs
- Checkout reference
checkout_referencetext - Filters checkouts by the merchant-defined `checkout_reference` supplied when creating the checkout. This is separate from the SumUp-generated checkout `id`.
Outputs
datalist- The response from SumUp.
Example output
{
"data": [
{
"amount": 1,
"checkout_reference": "example",
"currency": "BRL",
"customer_id": "example",
"date": "example",
"description": "example",
"hosted_checkout_url": "example",
"id": "example",
"mandate": {
"merchant_code": "example",
"status": "active",
"type": "example"
},
"merchant_code": "example",
"merchant_name": "example",
"payment_instrument": {
"token": "example"
},
"redirect_url": "example",
"return_url": "example",
"status": "PENDING",
"transaction_code": "example",
"transaction_id": "example",
"transactions": [
{}
],
"valid_until": "example"
}
]
}List members
List members.
Inputs
- Offset
offsetnumber - Offset of the first member to return.At least 0.
- Limit
limitnumber - Maximum number of members to return.From 1 to 25.
Outputs
dataobject- The response from SumUp.
Example output
{
"data": {
"items": [
{
"attributes": {},
"created_at": "example",
"id": "example",
"invite": {
"email": "example",
"expires_at": "example"
},
"metadata": {},
"permissions": [
"example"
],
"roles": [
"example"
],
"status": "accepted",
"updated_at": "example",
"user": {
"classic": {},
"disabled_at": "example",
"email": "example",
"id": "example",
"mfa_on_login_enabled": true,
"nickname": "example",
"picture": "example",
"service_account_user": true,
"type": "user",
"virtual_user": true
}
}
],
"total_count": 1
}
}List memberships
List memberships.
Inputs
- Offset
offsetnumber - Offset of the first member to return.At least 0.
- Limit
limitnumber - Maximum number of members to return.From 1 to 25.
Outputs
dataobject- The response from SumUp.
Example output
{
"data": {
"items": [
{
"attributes": {},
"created_at": "example",
"id": "example",
"invite": {
"email": "example",
"expires_at": "example"
},
"metadata": {},
"permissions": [
"example"
],
"resource": {
"attributes": {},
"created_at": "example",
"id": "example",
"logo": "example",
"name": "example",
"type": "example",
"updated_at": "example"
},
"resource_id": "example",
"roles": [
"example"
],
"status": "accepted",
"type": "example",
"updated_at": "example"
}
],
"total_count": 1
}
}List payment methods
List payment methods.
Inputs
- Amount
amountnumber - Payment amount in major units, for example `9.99` for EUR 9.99. When filtering by `amount`, also provide `currency`.
- Currency
currencytext - Three-letter ISO 4217 currency code for which the payment methods should be eligible, for example `EUR`.
Outputs
dataobject- The response from SumUp.
Example output
{
"data": {
"available_payment_methods": [
{
"id": "example"
}
]
}
}List payouts
List payouts.
Inputs
- Start date
start_datedateRequired - Start date of the payout period filter, inclusive, in [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) `date` format (`YYYY-MM-DD`).
- End date
end_datedateRequired - End date of the payout period filter, inclusive, in [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) `date` format (`YYYY-MM-DD`). Must be greater than or equal to `start_date`.
- Limit
limitnumber - Maximum number of payout records to return.From 1 to 9999.
- Order
ordertext - Sort direction for the returned payouts.One of:
asc,desc.
Outputs
datalist- The response from SumUp.
Example output
{
"data": [
{
"amount": 1,
"currency": "example",
"date": "example",
"fee": 1,
"id": 1,
"reference": "example",
"status": "SUCCESSFUL",
"transaction_code": "example",
"type": "PAYOUT"
}
]
}List persons
List persons.
Inputs
None.
Outputs
dataobject- The response from SumUp.
Example output
{
"data": {
"items": [
{
"address": {
"autonomous_community": "example",
"city": "example",
"commune": "example",
"county": "example",
"department": "example",
"district": "example",
"eircode": "example",
"municipality": "example",
"neighborhood": "example",
"post_code": "example",
"post_town": "example",
"province": "example",
"region": "example",
"state": "example",
"street_address": [
{}
],
"zip_code": "example"
},
"birthdate": "example",
"change_status": "example",
"citizenship": "example",
"country_of_residence": "example",
"family_name": "example",
"given_name": "example",
"id": "example",
"identifiers": [
{}
],
"nationality": "example",
"ownership": {
"share": 1
},
"phone_number": "example",
"relationships": [
"example"
],
"user_id": "example",
"version": "example"
}
]
}
}List readers
List readers.
Inputs
None.
Outputs
dataobject- The response from SumUp.
Example output
{
"data": {
"items": [
{
"created_at": "example",
"device": {
"identifier": "example",
"model": "solo"
},
"id": "example",
"metadata": {},
"name": "example",
"service_account_id": "example",
"status": "unknown",
"updated_at": "example"
}
]
}
}List roles
List roles.
Inputs
None.
Outputs
dataobject- The response from SumUp.
Example output
{
"data": {
"items": [
{
"created_at": "example",
"description": "example",
"id": "example",
"is_predefined": true,
"metadata": {},
"name": "example",
"permissions": [
"example"
],
"updated_at": "example"
}
]
}
}List sales
List sales.
Inputs
- Pagination token
pagination_tokentext - Pagination token.
- Pagination limit
pagination_limitnumber - Maximum number of results per page.From 1 to 25.
Outputs
dataobject- The response from SumUp.
Example output
{
"data": {
"items": [
{
"closed_at": "example",
"created_at": "example",
"currency": {
"code": "example",
"scale": 1
},
"id": "example",
"items": [
{}
],
"name": "example",
"note": "example",
"payments": [
{}
],
"price": {
"cart_discounts": [
{}
],
"gross_amount": 1,
"net_amount": 1,
"taxes": [
{}
]
},
"source": {
"channel": "example",
"external_id": "example",
"external_sub_channel_id": "example",
"sub_channel": "example"
},
"state": "CLOSED",
"tax_mode": "NO_TAX",
"user_id": "example"
}
],
"pagination_token": "example"
}
}List transactions
List transactions.
Inputs
- Order
ordertext - Sort direction for the transaction history. Use `ascending` or `descending`; the default is `ascending`.One of:
ascending,descending. - Limit
limitnumber - Maximum number of transactions per page. Must be a positive integer. Defaults to `10` when omitted; a page can contain fewer results.
- Statuses
statuseslist - Filters transactions by the listed final statuses. For multiple values, repeat the query parameter, for example `statuses[]=SUCCESSFUL&statuses[]=REFUNDED`.One or more of:
SUCCESSFUL,CANCELLED,FAILED,REFUNDED,CHARGE_BACK(Charge back). - Payment types
payment_typeslist - Filters the returned results by the specified list of payment types used for the transactions.One or more of:
CASH,POS,ECOM,RECURRING,BITCOIN,BALANCE,MOTO,BOLETO,DIRECT_DEBIT(Direct debit),APM,UNKNOWN. - Changes since
changes_sincedate and time - Changes since.
- Newest time
newest_timedate and time - Newest time.
- Newest ref
newest_reftext - Newest ref.
- Oldest time
oldest_timedate and time - Oldest time.
- Oldest ref
oldest_reftext - Oldest ref.
Outputs
dataobject- The response from SumUp.
Example output
{
"data": {
"items": [
{
"amount": 1,
"card_type": "ALELO",
"client_transaction_id": "example",
"currency": "BRL",
"entry_mode": "none",
"id": "example",
"installments_count": 1,
"payment_type": "CASH",
"payout_date": "example",
"payout_plan": "SINGLE_PAYMENT",
"payout_type": "BANK_ACCOUNT",
"payouts_received": 1,
"payouts_total": 1,
"product_summary": "example",
"refunded_amount": 1,
"status": "SUCCESSFUL",
"timestamp": "example",
"transaction_code": "example",
"transaction_id": "example",
"type": "PAYMENT",
"user": "example"
}
],
"links": [
{
"href": "example",
"rel": "example"
}
]
}
}