Error 400.1027 - "The requested amount exceeds the parent transaction amount. Please check your input and try again", is returned by Wirecard.
This error is received due to multiple/contradiction requests sent for the same payment with different idempotency keys.
This error can be returned for authorization/capture/void/refund requests if one of the following occurred:
- A Void request was sent after a successfully captured payment.
- A Capture request was sent after a successfully captured payment.
- An Authorization request was sent after a successfully authorized request.
In order to avoid getting this error:
If you receive a 503/503 error when sending a request you should resend the request using the same idempotency key (during the 24-hour safe-retry window) until you get a response.
*** Sending another request using a different idempotency key, might result in double charges and/or data corruption and in Wirecard a 400.1027 error.