Refund API Error Reference
The following table contains descriptions for all error codes that may be returned by the secure/refunds API.
Error Message | Description | Code |
---|---|---|
Key_BatchedTransactionCanNotBeRefund | The payment transaction is part of a batch and cannot be refunded. | 400 |
Key_IPFSTransactionCanNotBeRefund | The payment transaction is a merchant payment made on behalf of IPFS and cannot be refunded. | 400 |
Key_CommerceBankTransactionCanNotBeRefund | Transactions processed by Commerce Bank cannot be refunded by this API. | 400 |
Key_InProgressTransactionCanNotBeRefunded | Transactions that are currently in progress cannot be refunded. | 400 |
Key_RejectedTransactionCanNotBeRefunded | Rejected transactions cannot be refunded. | 400 |
Key_ChargebackTransactionCanNotBeRefund | Transactions in a chargeback status cannot be refunded. | 400 |
Key_SetteledTransactionCanNotBeLessThanTwoBussinessDay | Transactions that have been settled within the last two business days cannot be refunded. | 400 |
Key_RefundAmountCanNotBeGreaterThanCapturedAmount | The refund amount cannot be greater than the captured amount for the transaction. | 400 |
Key_RefundDateCanNotLessThanOneBusinessDay | Transactions cannot be refunded if they have been settled within the last business day. | 400 |
Key_RefundAmountIsNotValid | The selected refund amount is invalid and cannot be processed. | 400 |
Key_TransactionIdCannotBeEmptyOrNULL | An invalid transaction has been selected for refund; the transaction ID cannot be empty or null. | 400 |
Key_RefundAmountAndCaptureAmountShouldBeEqual | Partial refunds are not permitted; the refund amount should be equal to the capture amount. | 400 |
Key_PlatFormAccountTransactionCanNotBeRefunded | Platform account transactions cannot be refunded. | 400 |