SessionRequestBody

data class SessionRequestBody(val fingerprint_visitor_id: String? = null, val account_id: String? = null, val sealed_result: String? = null)

Request body for creating or updating a Sonar session.

accountId is required for any session that will back a payment: the server resolves a payment's session through the account, so one created without it is invisible to risk checks. sealedResult is sent only when Fingerprint provides one; omitted rather than null so the request looks the same as before sealed results existed.

Constructors

Link copied to clipboard
constructor(fingerprint_visitor_id: String? = null, account_id: String? = null, sealed_result: String? = null)

Properties

Link copied to clipboard
val account_id: String? = null
Link copied to clipboard
Link copied to clipboard
val sealed_result: String? = null