Protected_Retrieves the full details of an identified transaction. The transaction resource is identified by a query parameter and one of following parameters is required:
idtransaction_codeforeign_transaction_idclient_transaction_idOptionalquery: GetTransactionV2_1QueryParamsOptionaloptions: RequestOptionsOptionalquery: GetTransactionV2_1QueryParamsOptionaloptions: RequestOptionsLists transaction history for the merchant, with optional filters for payment type, status, and date range. The response contains the current page in items and pagination query strings in links.
To request another page, use the query string from the relevant link's href with this history endpoint. Use changes_since when retrieving transactions modified since a previous synchronization, including transactions created earlier whose status has changed.
Optionalquery: ListTransactionsV2_1QueryParamsOptionaloptions: RequestOptionsOptionalquery: ListTransactionsV2_1QueryParamsOptionaloptions: RequestOptionsRefunds a transaction identified by its SumUp transaction ID. Omit the request body to request a full refund, or provide amount for a partial refund in the transaction's currency.
Retrieve the transaction afterwards to inspect its refunded amount and refund events. The transaction must be eligible for a refund; see the error responses for invalid amounts, permissions, and processing failures.
Optionalbody: RefundTransactionParamsOptionaloptions: RequestOptionsOptionalbody: RefundTransactionParamsOptionaloptions: RequestOptions
API resource for the Transactions endpoints.
Transactions represent completed or attempted payment operations processed for a merchant account. A transaction contains the core payment result, such as the amount, currency, payment method, creation time, and current high-level status.
In addition to the main payment outcome, a transaction can contain related events that describe what happened after the original payment attempt. These events provide visibility into the financial lifecycle of the transaction, for example:
PAYOUT: the payment being prepared for payout or included in a payout to the merchantREFUND: money returned to the payerCHARGE_BACK: money reversed after the original paymentPAYOUT_DEDUCTION: an amount deducted from a payout to cover a refund or chargebackFrom an integrator's perspective, transactions are the authoritative record of payment outcomes. Use this tag to:
simple_statusfor the current merchant-facing outcome of the paymenteventsortransaction_eventswhen you need refund, payout, or chargeback historyTypical workflow: