OptionalapiAccess the Customers API endpoints.
Access the Members API endpoints.
Access the Memberships API endpoints.
Access the Merchants API endpoints.
Access the Payouts API endpoints.
Access the Readers API endpoints.
Access the Receipts API endpoints.
Access the Roles API endpoints.
Access the Transactions API endpoints.
ProtecteddoCreate an event handler bound to this API client. Register typed callbacks with on(); events without a callback reach fallback.
Your event signing secret, not an API key.
Required callback for unregistered or unrecognized event types.
Verify an incoming event's signature and timestamp, then parse it without running callbacks. For already verified, trusted payloads, use SumUp.parseEventNotificationWithoutVerification.
Your event signing secret, not an API key.
Unchanged request body, read before JSON parsing.
Complete value of the SIGNATURE_HEADER header.
A typed notification, or UnknownEvent for an unrecognized type.
EventSignatureError If verification fails, including the five-minute timestamp check.
EventPayloadError If the body cannot be decoded as a JSON object.
Parse an event without checking its signature or signing timestamp. Use only for fixtures or trusted payloads verified before being queued. Use SumUp.parseEventNotification for incoming HTTP deliveries.
The stored event payload.
A typed notification, or UnknownEvent for an unrecognized type.
EventPayloadError If the body cannot be decoded as a JSON object.
Protectedstringify
Access the Checkouts API endpoints.