Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

code

description

REFUND_LIMIT_EXCEEDED

Refund limit for an order was exceeded. Refund limit is compared against sum of all order’s refunds, which are not FAILED, WITHDRAWN or EXIPRED plus the amount of requested refund.

If the requested sum of refunds is higher than the limit specified and calculated in the order (see refundLimitPercentage), this error is thrown.

To change the refund limit for an order, call Update Order endpoint and set the refundLimitPercentage to a higher value (or 0, if the limit should not be checked)

REFUND_CANNOT_BE_CREATED

Refund can not be created for an order at this moment. Possible reason is that no payment was initialized for the order, yet.

Refunds can be only initialized for orders, whose payment’s processing was started.

REFUND_DUPLICATED

The same refund was already created. To prevent duplicated refunds, it is not possible to create two identical refunds for a single order.

To create a refund with the same payment data (amount, reference etc.), change at least instructionId (which should be unique) or reason.

NOT_AUTHORIZED

Client is not authorized to create refund. Refunds scope might be missing.

...