422 - Unprocessable Operation

Description

Ratepay declines requests which would lead to an invalid transaction state or inconsistent transaction.

Error Handling

The sender receives information about the cause of the decline and can retry after correcting.

Example

Capture request contains a higher amount than authorized.

Possible API Calls

  • Authorization
  • Incremental Authorization
  • Cancellation
  • Capture
  • Refund

Reasons

  • BASKET _ WITH _ UNKNOWN _ SHOP
  • CANCELLATION _ AMOUNT _ TOO _ HIGH
  • CAPTURE _ AMOUNT _ TOO _ HIGH
  • MULTIPLE _ RETURN _ FEES _ NOT _ ALLOWED
  • MULTIPLE _ SHOP _ BASKETS _ WITH _ SAME _ SHOP _ NOT _ ALLOWED
  • MULTIPLE _ VAT _ OBJECTS _ PER _ TAX _ RATE _ NOT _ ALLOWED
  • NOT _ ALLOWED _ FOR _ DECLINED _ TRANSACTION
  • NOT _ ALLOWED _ FOR _ EXPIRED _ TRANSACTION
  • PARTNER _ SHOP _ ID _ MUST _ BE _ GIVEN _ FOR _ MARKETPLACE _ TRANSACTIONS
  • REFUND _ AMOUNT _ TOO _ HIGH
  • SUM_OF_ITEM_AMOUNTS_NOT_MATCHING_OPERATION_AMOUNT
  • SUM_OF_ITEM_AMOUNTS_NOT_MATCHING_TRANSACTION_AMOUNT