@sumup/sdk
    Preparing search index...

    Class MemberDeletedEvent

    A members.deleted notification. Call fetchObject() to retrieve the latest Member.

    Hierarchy

    • EventBase<Member>
      • MemberDeletedEvent
    Index
    • Internal

      Events are created by the client's parsing methods.

      Parameters

      • payload: EventPayload
      • client: HTTPClient

      Returns MemberDeletedEvent

    createdAt: Date

    When the event was created, converted with Date; distinct from the signing timestamp.

    id: string

    Event identifier. Use it to deduplicate repeated deliveries.

    object: EventObject

    Reference to the affected resource, rather than a snapshot of its data.

    type: "members.deleted"

    Event type, such as members.updated.

    • Retrieve the affected resource using the client that parsed this notification. Returns current state, which may differ from the state when the event occurred. URLs must match the client host origin. Credentials and fragments in the URL are ignored; its path and query use the client's configured host.

      Parameters

      • options: RequestOptions = {}

        Per-request authentication, timeout, retry, and cancellation options.

      Returns Promise<Member>

      APIError for API failures, including 404 if the resource was deleted.

      SumUpError if the object URL is invalid or its origin does not match the client host.