Wizard API

Navigate through the Wizard without xs2a.js

Note that this endpoint uses the v1.1 prefix, so the URL is https://api.xs2a.com/v1.1/wizard.

Validations rules

Rule NameDescription
alpha_numOnly alpha-numeric characters are allowed.
between:min,maxThe field must have a size between min and max.
digits:valueThe field must be numeric and must have an exact length of value.
in:value1,value2,...The field must be included in the given list of values.
min:valueThe field must have a minimum value.
max:valueThe field must have a maximum value.
requiredThe field must be present and not empty.
size:valueThe field must have a size matching the value.
post/wizard

Request body

keystring required

The wizard session key.

action'switch-login-tabs' | 'back' | 'poll' | 'change-language' | 'abort' | 'complete-bankcodes'

Valid values are: back (go back one step), switch-login-tabs (switch to another transport), poll (status polling), change-language (change the language) and abort (abort the transaction).

Example request

{
  "key": "ws_xxxxxxxxxxxxxxxx",
  "action": "back"
}

Response

Request successfully processed

OR

Changes