[POST] Abort a Remote Payment
Aborts an eligible payment that has not completed. Check payment.isAbortable before requesting the action.
curl -X POST -H "Authorization: Bearer LOCATION_API_KEY" \
-H "Content-Type: application/json" \
-d '{"deviceId":125}' \
"https://sylqone-stg.sylq.io/remote_api/v1/remote_payments/PAYMENT_REFERENCE/abort"
deviceId is camelCase. The endpoint returns the updated remote-payment representation.
Main errors: 401 invalid token, 404 payment/device not found, 409 expired transaction or payment-method cancellation window, 422 payment not abortable or remote operations disallowed by terminal mode.