Cancel a payment within a payment run.
Note that a payment can be cancelled when it is in the state PENDING_CONFIRMATION.
Required user roles: CONTROLLER OR CREATOR
Security
apiKey and authToken
- Sandboxhttps://sandbox.weavr.io/payment-run/v1/payment_runs/{payment_run_id}/cancel/payments
- Mock serverhttps://api.weavr.io/_mock/products/payment-run/openapi/v1/payment_runs/{payment_run_id}/cancel/payments
curl -i -X PUT \
'https://sandbox.weavr.io/payment-run/v1/payment_runs/{payment_run_id}/cancel/payments' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-H 'api-key: YOUR_API_KEY_HERE' \
-H 'idempotency-ref: string' \
-d '{
"paymentIds": [
"string"
]
}'Response
No content