Initiate a Wero (VR Payment) payment. On success returns the bank's landing page the customer must be redirected to for consent.
| HTTP Status | Error Code | Description |
|---|---|---|
| 409 | ERROR | Wero authorization could not be initiated (not configured, invalid session/order state, or upstream error) |
| 401 | not_auth | No associated shop order could be resolved, and the caller lacks the API_WERO_ACCESS permission required to create an orderless transaction |
Result of starting a Wero (VR Payment) authorization. On success carries the bank's landing page for consent.
| # | Field | Type | Description |
|---|---|---|---|
| 0 | action | string | the action that was performed |
| 1 | result | string | exit code: wero (success - redirectUrl is set) or ERROR (could not initiate) |
| 2 | redirectUrl | string | the bank's landing page the customer must be redirected to for consent (full-page redirect, not an overlay) |
| 3 | paymentId | string | the Wero payment id - callers with no associated shop order (see /api/wero/confirm1) must record this themselves and pass it back explicitly, since there is no shop session to track it for them |
Data (1 record)
| action | result | redirectUrl | paymentId |
|---|---|---|---|
| DoWero | ERROR |