Skip to main content

Onboarding Result

This is a diagnostic or status check endpoint. This endpoint provides a status check for account creation. It retrieves processing status, backend validations, and submitted values after a new account request. Status details include mailing address, trusted contact, and electronic delivery setup. It confirms successful execution of related APIs and account creation with input data.

POST
/account-api/v1/onboarding-result

Required Attributes

The user must send the following attributes whenever using the onboarding-result endpoint. These are not changeable or erasable:

Field NameTypeDescriptionValidationsValues Accepted
accountNumberStringStoneX Account Number.Must not be empty.Must be 8 digit or Alphanumeric.a-Z, 0-9. Exact 8 digits or aplha numeric characters.

Responses

This endpoint will return a standard response with the data below for the account status.

Success Response

Data returned to a successful API call. The onboarding result endpoint retrieves the status of non-synchronous new-account API calls and does not support accounts created outside the new-account endpoint.

NameData TypeDefinition
dataObjectThe data returned from the API Data Field.
accountNumberStringThe account number requested.
stateArrayArray of objects that has three parts properties state.code , state.status , state.reason.
codeStringStages on account creation process."AccountCreation", "MailingAddress", "TrustedContact", "ElectronicDelivery".
reasonStringProvides additional failure details.(Optional).
statusStringThe result of the process (Success or Failed).
traceIdStringId for each API transaction that can be used for tracking & debugging.
requestobjectThe request that the client has submitted to create the account.
correlationIdStringInternal tracking ID.
currentStateStringThe state of completion.
createdOnStringDatetime account creation request accepetd.
lastUpdatedStringDatetime of account updated.
remarksStringRemarks confirm the completion of key account creation processes, including Mailing address, Trusted contact and Electronic delivery setup.