Confirm consent and capture a Wero payment that has no associated shop order (see /api/client/wero/transaction1's orderless path). Requires an API-role executor with the API_WERO_ACCESS permission.
| HTTP Status | Error Code | Description |
|---|---|---|
| 401 | not_auth | Caller is not an API-role executor, or lacks the API_WERO_ACCESS permission |
| 400 | parameter_error | paymentId missing |
| 404 | not_found | No Wero payment found for the given paymentId |
| 409 | wero_pending | Consent is still pending at the bank - retry shortly |
| 409 | wero_denied | Consent was explicitly denied/failed at the bank |
| 409 | wero_error | Could not verify consent or capture the payment (network/upstream failure) |
Result of confirming consent and capturing a Wero payment that has no associated shop order.
| # | Field | Type | Description |
|---|---|---|---|
| 0 | action | string | the action that was performed |
| 1 | result | string | the exit/result code of the action |
| 2 | captureId | string | the bank's capture id - only set when result is "captured" |
Data (1 record)
| action | result | captureId |
|---|---|---|
| ConfirmWeroTransaction | not_auth |