SEP08PostActionDone
extends SEP08PostActionResponse
in package
Response indicating no further action is required after posting action fields.
This response means the approval server received sufficient information from the POST action request and the wallet can now resubmit the original transaction to the approval server for final evaluation.
Workflow after receiving this response:
- Call postTransaction() again with the original transaction
- Handle the new response (likely success or revised)
This represents the successful completion of the action_required workflow when the wallet was able to provide the requested SEP-9 fields programmatically.
HTTP Status Code: 200
Tags
Table of Contents
Methods
- fromJson() : SEP08PostActionResponse
- Factory method to construct an action response object from JSON data.
Methods
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