Error Codes

Overview

When using Jupico's APIs, you might encounter various error codes. Understanding these codes is essential to diagnose and resolve issues promptly. This guide provides an overview of the most common error codes and their meanings.


Error Codes

General Errors

Error Type

HTTP Code

Error Code

Error Message

Test Conditions

General

400

invalid_payload

Invalid payload.

General

404

wrong_url

Requested resource not found.

General

403

forbidden

Forbidden

General

503

service_unavailable

External service unavailable, try again later.

token: "b0a67cc8-d78e-4e71-afc3-2e8b00646973" amount: 101.10

General

500

internal_server_error

Internal server error.

token: "b0a67cc8-d78e-4e71-afc3-2e8b00646973" amount: 101.11

Authorization Errors

Error TypeHTTP CodeError CodeError Message
Authorization401auth_invalid_submerchantSubMerchant not found or inactive
Authorization401auth_invalid_roleApiUser not required permissions.
Authorization401auth_header_not_presentAuthorization header missing.
Authorization401auth_invalid_api_tokenInvalid api token.
Authorization401auth_invalid_api_userApiUser not active.
Authorization401auth_invalid_facilitatorFacilitator not found or inactive.
Authorization401auth_invalid_productProduct not found or inactive.
Authorization401auth_invalid_content_typeInvalid content type (expected: application/json)

Transaction Errors

Error Type

HTTP Code

Error Code

Error Message

Test Conditions

Transaction

200

tx_cc_declined

The card is declined.

token: "b0a67cc8-d78e-4e71-afc3-2e8b00646973" amount: 90.20

Transaction

200

tx_cc_declined_insufficient_funds

The card has insufficient funds.

token: "b0a67cc8-d78e-4e71-afc3-2e8b00646973" amount: 90.23

Transaction

200

tx_cc_declined_do_not_honor

The card is declined for an unknown reason.

token: "b0a67cc8-d78e-4e71-afc3-2e8b00646973" amount: 90.24

Transaction

200

tx_cc_declined_transaction_not_allowed

The card is declined to execute this type of transaction.

token: "b0a67cc8-d78e-4e71-afc3-2e8b00646973" amount: 90.25

Transaction

200

tx_cc_declined_stolen_card

The card is declined because it has been reported as stolen.

token: "b0a67cc8-d78e-4e71-afc3-2e8b00646973" amount: 90.26

Transaction

200

tx_cc_declined_fraudulent

The payment was declined because it is suspected as fraudulent.

token: "b0a67cc8-d78e-4e71-afc3-2e8b00646973" amount: 90.27

Transaction

200

tx_cc_declined_incorrect_cvc

The card security code is incorrect.

token: "b0a67cc8-d78e-4e71-afc3-2e8b00646973" amount: 90.22

Transaction

200

tx_cc_declined_incorrect_zip

The card postal code is incorrect.

token: "b0a67cc8-d78e-4e71-afc3-2e8b00646973" amount: 90.29

Transaction

200

tx_cc_declined_incorrect_number

The card number is incorrect.

token: "b0a67cc8-d78e-4e71-afc3-2e8b00646973" amount: 90.30

Transaction

200

tx_cc_declined_amount_exeeded

Amount exceeded sub-merchant limit.

token: "b0a67cc8-d78e-4e71-afc3-2e8b00646973" amount: 90.32

Transaction

200

tx_cc_declined_expired_card

The card is expired.

token: "b0a67cc8-d78e-4e71-afc3-2e8b00646973" amount: 90.31

Transaction

200

tx_cc_declined_pick_up_card

The cardholder bank has declined the transaction as the issuer wants to retrieve the card.

token: "b0a67cc8-d78e-4e71-afc3-2e8b00646973" amount: 90.28

Transaction

200

tx_cc_declined_referral_call_issuer

Transaction has been declined and cardholder should contact issuer for assistance.

token: "b0a67cc8-d78e-4e71-afc3-2e8b00646973" amount: 90.21

Transaction

200

tx_cc_declined_incorrect_address

The card address is incorrect.

token: "b0a67cc8-d78e-4e71-afc3-2e8b00646973" amount: 90.33

Transaction

200

tx_cc_declined_risk_profile

Transaction has been declined due to high risk.

token: "b0a67cc8-d78e-4e71-afc3-2e8b00646973" amount: 90.34

Transaction

200

tx_cc_declined_lost_card

The card is declined because the card is reported lost.

token: "b0a67cc8-d78e-4e71-afc3-2e8b00646973" amount: 90.35

Transaction

200

tx_cc_declined_restricted_card

This card is restricted and cannot be used for this transaction.

token: "b0a67cc8-d78e-4e71-afc3-2e8b00646973" amount: 90.36

Transaction

400

tx_cc_invalid_avs

AVS failed.

Transaction

400

tx_cc_duplicate

Transaction duplicated.

token: "b0a67cc8-d78e-4e71-afc3-2e8b00646973" amount: 100.12

Transaction

400

tx_cc_invalid_data

Invalid credit card data sent.

Transaction

400

tx_cc_not_auth

transaction was not authorized and therefore rejected.

Transaction

400

tx_cc_invalid_account

account is invalid or inactive

Transaction

400

tx_cc_token_corrupted

Credit card token corrupted, requires to be tokenized again.

token: "b0a67cc8-d78e-4e71-afc3-2e8b00646973" amount: 100.21

Transaction

400

tx_cc_token_not_found

Credit card token not found.

token: "b0a67cc8-d78e-4e71-afc3-2e8b00646973" amount: 100.22

Transaction

400

tx_cc_already_voided

Transaction already voided.

  1. Create a transaction (sale/authorization) 2. Void it. 3. Try to void again.

Transaction

400

tx_cc_not_found

Transaction not found.

Provide an invalid "transactionId" for void, refund, capture operations

Transaction

400

tx_cc_reversal_failed

Reversal for the transaction has failed.

No additional information required

Transaction

400

tx_cc_error

Generic: (concat message error)

token: "b0a67cc8-d78e-4e71-afc3-2e8b00646973" amount: 100.17

Transaction

400

tx_cc_invalid_status

Invalid transaction status.

token: "b0a67cc8-d78e-4e71-afc3-2e8b00646973" amount: 100.18

Transaction

400

tx_cc_invalid_amount

Invalid amount for related transaction.

token: "b0a67cc8-d78e-4e71-afc3-2e8b00646973" amount: 100.19

Transaction

400

tx_cc_invalid_operation

This operation is invalid for related transaction.

  1. Create an authorization
  2. Void the before transaction
  3. Try to capture the voided transaction (authorization)
    OR Try to refund an authorization

Transaction

400

tx_cc_already_refunded

Transaction already refunded.

  1. Create a sale
  2. Create a full refund (same amount) of the before transaction
  3. Try to refund again

Transaction

400

tx_cc_disputed

Transaction disputed.

Transaction

400

tx_cc_void_unavailable

Unable to void: related transaction expired after 25 minutes.

token: "b0a67cc8-d78e-4e71-afc3-2e8b00646973"
amount: 100.23

Transaction

400

tx_cc_invalid_taxWithHold

Parent and related transaction taxWithHold should match.

Transaction

400

tx_cc_invalid_refund_taxAmountRelease

Refund taxAmountRelease shouldn’t be greater than parent transaction taxAmount.

Transaction

400

tx_ach_declined_amount_exeeded

Amount exceeded sub-merchant limit.

Transaction

400

tx_ach_not_found

Amount exceeded sub-merchant limit.

Transaction

400

tx_ach_duplicate

Transaction duplicated.

Transaction

400

tx_ach_invalid_status

Invalid transaction status.

Transaction

400

tx_ach_invalid_amount

Invalid amount for related transaction.

Transaction

400

tx_ach_invalid_operation

This operation is invalid for related transaction.

Transaction

400

tx_ach_already_refunded

Transaction already refunded.

Transaction

400

tx_ach_reversal_failed

Reversal for the transaction has failed.

Transaction

400

tx_ach_token_not_found

Bank account token not found.

Transaction

400

tx_ach_token_corrupted

Bank account token corrupted, requires to be tokenized again.

Transaction

400

tx_ach_error

Generic

Transaction

400

tx_ach_invalid_taxWithHold

Parent and related transaction taxWithHold should match.

Transaction

400

tx_ach_invalid_refund_taxAmountRelease

Refund taxAmountRelease shouldn’t be greater than parent transaction taxAmount.

Transaction

400

tx_cc_taxAmount_exceeded

Tax amount exceeded.

Transaction

200

tx_cc_declined_unsupported_card

Unsupported card.

Transaction

400

tx_cc_retry

Please retry - possible reasons: format error, routing problem, system unavailable, or timeout.


Tokenization Errors

Error TypeHTTP CodeError CodeError Message
Tokenization200tkn_cc_expired_credit_cardThe card is expired.
Tokenization200tkn_cc_invalid_expiration_yearInvalid expiration year, expected either YY or YYYY.
Tokenization200tkn_cc_invalid_expiration_monthInvalid expiration month, expected either M or MM.
Tokenization200tkn_cc_invalid_expiration_dateThe card is expired.
Tokenization200tkn_cc_invalid_numberThe card number is invalid.
Tokenization200tkn_cc_invalid_security_codeThe security code is invalid.
Tokenization200tkn_cc_unsupported_card_typeUnsupported card type.
Tokenization200tkn_cc_live_mode_testYou are using a test card in live mode.
Tokenization200tkn_cc_insufficient_fundsThe card has insufficient funds.
Tokenization200tkn_cc_do_not_honorThe card was declined for an unknown reason.
Tokenization400tkn_invalid_public_keyInvalid SubMerchant public key.
Tokenization400tkn_cc_not_tokenizableCredit card not tokenizable.
Tokenization400tkn_errorTokenization error.
Tokenization401tkn_oneTimeToken_expiredOne time token expired
Tokenization429tkn_cc_too_many_requestsToo many requests.

Payout Errors

Error TypeHTTP CodeError CodeError Message
Payouts400payouts_invalid_statusInvalid payouts status.
Payouts400payouts_not_foundPayouts not found.
Payouts400payouts_insufficient_fundsPayouts funds insufficient.
Payouts400payouts_invalid_bank_accountBank account not found or inactive.
Payouts400payouts_invalid_modePayouts invalid mode, expected dynamic.
Payouts400payouts_debit_invalid_amountAmount in debit must be negative
Payouts400payouts_credit_invalid_amountAmount in credit must be positive

Provisioning

Error TypeHTTP CodeError CodeError Message
backend400provisioning_application_invalidSubMerchant applications not found or inactive.
backend400provisioning_application_missing_ownerThis application type must have at least one owner.
backend400provisioning_ownershiptype_single_ownerThis ownership type must have a single owner.
backend400provisioning_ownershiptype_invalid_ownerOwners are not valid for this type of application.
backend400provisioning_ownershiptype_invalid_identityInvalid ownership type for this identity type.
backend400provisioning_ownership_invalid_percentageThe sum of all ownership percentages must be between 76% and 100%.
backend400provisioning_bank_account_already_tokenizedBank account already tokenized.
backend400provisioning_bank_account_invalid_statusBank account invalid status.
backend400provisioning_bank_account_not_foundBank account not found.
backend400provisioning_invalid_identity_typeInvalid identity type.
backend400provisioning_invite_invalidInvite not found or inactive.

Hosted Session Errors

Error TypeHTTP CodeError CodeError Message
Hosted session400hosted_session_not_foundHosted session not found.
Hosted session400hosted_session_invalid_statusHosted session has invalid status.
Hosted session400hosted_session_payment_link_invalid_statusPayment link has invalid status.

Invoice Errors

Error TypeHTTP CodeError CodeError Message
Invoice400invoice_invalidInvoice not found or inactive.
Invoice400invoice_invalid_statusInvoice has invalid status.
Invoice400invoice_amount_exeededAmount exeeded SubMerchant limit.
Invoice400invoice_invalid_items_amountTotal amount of items is invalid.
Invoice400invoice_update_invalid_statusStatus can only change from 'Draft' to 'Created' upon update.

Product Errors

Error TypeHTTP CodeError CodeError Message
Product400product_invalidProduct not found or inactive.
Product400product_invalid_mccInvalid mccCode.
Product400product_invalid_ownershiptypeInvalid ownership type.

Customer Errors

Error TypeHTTP CodeError CodeError Message
Customer400customer_invalidCustomer not found or inactive.

User Errors

Error TypeHTTP CodeError CodeError Message
User400api_user_invalidApi user not found or inactive.

Subscription Errors

Error TypeHTTP CodeError CodeError Message
Subscription400subscription_errorError on subscription.
Subscription400subscription_plan_invalidPlan not found or inactive.
Subscription400subscription_plan_duplicated_namePlan name is already in use.
Subscription400subscription_invalidSubscription not found or inactive.
Subscription400subscription_schedule_not_foundSchedule does not exist on subscription.
Subscription400subscription_invalid_pricing_modelWrong schedule's pricing model type.
Subscription400subscription_invalid_pricing_model_paramsSubscription invalid pricing model params.
Subscription400subscription_active_subscribersPlan has active subscribers.

Bank Account Errors

Error TypeHTTP CodeError CodeError Message
bankaccount400bankaccount_invalid_routing_numberBank account routing number is invalid.
bankaccount400bankaccount_invalid_account_numberBank account account number is invalid.