Skip to main content

Refund Error Response

Error response returned by PaysafeCard refund operations.

Refund error codes

CodeNumberHTTP statusDescription
PRODUCT_NOT_AVAILABLE3100404Product not available.
DUPLICATE_ORDER_REQUEST3103400Duplicate order request.
FACEVALUE_FORMAT_ERROR3106400Invalid face value format.
MISSING_PARAMETER3150400Missing parameter.
INVALID_CURRENCY3151400Invalid currency.
MERCHANT_NOT_ALLOWED_FOR_PAYOUT3161400Merchant not allowed to perform this action.
CUSTOMER_NOT_FOUND3162404No customer account found using the provided credentials.
INVALID_PARAMETER3163400Invalid parameter.
duplicate_payout_request3164400Transaction already exists.
INVALID_AMOUNT3165400Invalid amount.
CUSTOMER_LIMIT_EXCEEDED3167400Customer limit exceeded.
KYC_INVALID_FOR_PAYOUT_CUSTOMER3168400Feature not activated in this country for this KYC level.
payout_id_collision3169400Payout ID collides with an existing disposition ID.
topup_limit_exceeded3170400Top-up limit exceeded.
payout_amount_below_minimum3171400Payout amount is below the merchant's minimum payout amount.
MERCHANT_REFUND_EXCEEDS_ORIGINAL_TRANSACTION3179400Merchant refund exceeds the original transaction.
MERCHANT_REFUND_ORIGINAL_TRANSACTION_INVALID_STATE3180400Original transaction is in an invalid state for a merchant refund.
MERCHANT_REFUND_CLIENT_ID_NOT_MATCHING3181400Merchant client ID does not match the original payment.
NO_UNLOAD_MERCHANT_CONFIGURED3182400Merchant client ID is missing.
MERCHANT_REFUND_MISSING_TRANSACTION3184404Original transaction was not found.
merchant_refund_customer_credentials_missing3185404PaysafeCard account was not found on the original transaction and no additional credentials were provided.
customer_inactive3193400Customer is not active.
customer_yearly_payout_limit_reached3194400Customer yearly payout limit exceeded.
customer_details_mismatch3195400Customer details from the request do not match the stored details.
max_amount_of_payout_merchants_reached3198400The maximum number of payout merchant clients is already assigned to this account.
payout_blocked3199400Payout blocked for security reasons.

Other errors may be communicated as a general technical error.

codestringrequired

Machine-readable refund error code.

Example: MERCHANT_REFUND_EXCEEDS_ORIGINAL_TRANSACTION
messagestringrequired

Human-readable description of the refund error.

Example: Merchant refund exceeds the original transaction.
numberintegerrequired

Numeric refund error identifier.

Example: 3179
paramstringnullable

Request parameter associated with the error, when applicable.

Example: amount
Refund Error Response
{
"code": "MERCHANT_REFUND_EXCEEDS_ORIGINAL_TRANSACTION",
"message": "Merchant refund exceeds the original transaction.",
"number": 3179,
"param": "amount"
}