---
title: SKANTestPostbackResponseHandler
framework: storekittest
role: symbol
role_heading: Type Alias
path: storekittest/skantestpostbackresponsehandler
---

# SKANTestPostbackResponseHandler

A type that represents the test postback response handler.

## Declaration

```swift
typealias SKANTestPostbackResponseHandler = ([String : SKAdTestPostbackResponse]?, (any Error)?) -> Void
```

## Discussion

Discussion The system calls the response handler and provides one of two values: A dictionary with a key that identifies a test postback using its transactionIdentifier value, and the associated value of the response, SKAdTestPostbackResponse that you receive when calling flushPostbacks(responses:) An SKAdTestError error

## See Also

### Adding and sending postbacks

- [setPostbacks(_:)](storekittest/skadtestsession/setpostbacks(_:).md)
- [postbacks](storekittest/skadtestsession/postbacks.md)
- [flushPostbacks(responses:)](storekittest/skadtestsession/flushpostbacks(responses:).md)
