WeroAuthorize (v1)
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 |