ActionRequired

data class ActionRequired(val message: String, val actionUrl: String, val actionMethod: String = "GET", val actionFields: List<String>? = null) : Sep08PostTransactionResponse

The user must complete an action before the transaction can be approved.

The approval server requires additional information or verification from the user. The client should direct the user to the actionUrl to complete the required action (e.g., KYC verification, identity confirmation).

If actionMethod is "POST", the client should submit the actionFields to the actionUrl as form data. If "GET" (the default), the client should open the URL in a browser or webview.

Constructors

Link copied to clipboard
constructor(message: String, actionUrl: String, actionMethod: String = "GET", actionFields: List<String>? = null)

Properties

Link copied to clipboard

List of field names that should be submitted to the action URL when actionMethod is "POST"

Link copied to clipboard

HTTP method to use when accessing the action URL (default "GET")

Link copied to clipboard

URL where the user should complete the required action

Link copied to clipboard

Human-readable message explaining what action is required