SEP08PostActionNextUrl
extends SEP08PostActionResponse
in package
Response indicating further action is required via browser interaction.
This response means the POST action request was processed but additional user action is still required. The wallet must open the provided next_url in a browser for the user to complete the necessary steps (e.g., KYC form, document upload, identity verification).
The next_url typically includes pre-filled information from the POST action request, reducing the amount of data the user needs to enter manually.
Workflow after receiving this response:
- Open next_url in system browser or in-app browser
- Wait for user to complete the action
- Resubmit the original transaction to the approval server
This indicates that programmatic submission of action fields was not sufficient and manual user interaction is required to complete the compliance workflow.
HTTP Status Code: 200
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
- Constructor.
- fromJson() : SEP08PostActionResponse
- Factory method to construct an action response object from JSON data.
Properties
$message
public
string|null
$message
= null
$nextUrl
public
string
$nextUrl
Methods
__construct()
Constructor.
public
__construct(string $nextUrl[, string|null $message = null ]) : mixed
Parameters
- $nextUrl : string
-
A URL where the user can complete the required actions with all the parameters included in the original POST pre-filled or already accepted.
- $message : string|null = null
-
A human-readable string containing information regarding the further action required.
fromJson()
Factory method to construct an action response object from JSON data.
public
static fromJson(array<string|int, mixed> $json) : SEP08PostActionResponse
Parses the JSON response after posting action fields and instantiates the appropriate concrete response class based on the 'result' field value.
Result Mapping:
- "no_further_action_required" -> SEP08PostActionDone
- "follow_next_url" -> SEP08PostActionNextUrl
Parameters
- $json : array<string|int, mixed>
-
Decoded JSON response from action URL
Tags
Return values
SEP08PostActionResponse —Concrete subclass instance based on result field