Return Codes

We us conventional HTTP response codes to indicate the success or failure of an API request.

General breakdown:

  • Codes in the 2xx range indicate success.
  • Codes in the 4xx range indicate an error that failed due to the information provided (e.g., a required parameter is missing, an authorization failed, etc.).
  • Codes in the 5xx range indicate an error with our servers

Besides a general HTTP response code, you will also receive a more detailed code that gives more indication on what has exactly happened with your request.

For either a successful, pending or failed request, you will receive a code and its description.

The code answers is based on 6 digits structured as follows:

  • The first 4 digits give general information related to the kind of response and its origine
1st digit: order phase2nd digit: origin3rd digit: fallback4th digit: side
0possibleundetermined
1order creationtechnicalnot recommendedissuer side
2tokenizationprocessingacquirer side
3authenticationrisk assessmentACS
4authorizationaccount related
5capturerouting issue
6refundincomplete
7cancel
9success
  • The last 2 digits give detailed information related to the reason code.

Example:

CodeDescription
420230risk rejection

We are in the authorization phase (1st digit = 4), it's a processing return code (2nd digit = 2), a fallback is possible (3rd digit = 0), the decision comes from the acquirer side (4th digit = 2), and it's a risk related decision (last 2 digits = 30)


CodeDescription
100301session creation unsuccessful
111011missing required parameter
111012invalid parameter
111013an error occurred
111022invalid API key
111023request forbidden due to limited credential rights - internal
111034max attempts reached
111035order is already being processed
131010blacklist
131011blocked by PLACEHOLDER
131020mismatch
131030external check (AVS, missing 3D, device fingerprint, etc.)
131040country not supported
131050velocity
131051card velocity
131052email velocity
131053IP velocity
131054verified info
131055bin velocity
131056billing address velocity
131057shipping address velocity
131058cardholder name velocity
131059custom data velocity
131088risk blocked transaction
133333risk approved
151021invalid psp credentials
151023request forbidden due to limited credential rights - external
151040no route available for the requested payment method
151041no route available for the requested currency
151042no route available for the requested channel
151043no route available for the requested partner
161000client dropped off
221420tokenization failed
240020invalid account
240021invalid account - card number
240022invalid account - card expired
241021token expired
241031invalid card information
261000client dropped off
310070Authentication declined
3200013DS timeout
320120card not enrolled
320310ACS server unavailable
341000incorrect authentication
361000client dropped off
404000route does not exist
410070integration error
420030risk rejection
420040unsupported currency
420041unsupported payment method
4200503DS required
420088declined
420100insufficient funds
420110issuer server unavailable
420111max invalid attempts reached
420130risk rejection
420150soft decline - 3DS required
420188declined by issuer
420210acquirer server unavailable
420230risk rejection
420240invalid merchant ID configuration
420241unsupported currency
420242unsupported payment method
420248error in merchant configuration
4202503DS required
420260invalid amount
420288declined by acquirer
420410PSP server unavailable
421080pending authorization
421081declined
421101threshold limit
421110issuer server unavailable
421120unsupported currency
421125card expired
421126restricted card
421127operation not allowed
421130risk rejection
421131stolen card
421132lost card
440120invalid card - updated card available
441120invalid card
511030authorization already captured
511031capture amount exceeding authorization
511032duplicated capture request
511033too many capture requests
520120authorization expired
520220capture unavailable
521080pending capture request
521088capture declined
521100order cancelled by customer
521188capture declined
521260invalid amount
521270amount exceeding authorization
521271authorization already captured
521272duplicated capture request
521273too many capture requests
521288capture declined
611030refund amount exceeding captured amount
611031capture already refunded
611032duplicated refund request
611033too many refund requests
620210refund unavailable
621080pending refund request
621088refund declined
621120refund period expired
621260invalid amount
621261refund amount exceeding captured amount
621270capture already refunded
621271duplicated refund request
621272too many refund requests
621288refund declined
711030authorization expired
711031authorization already captured
711032authorization already cancelled
711033duplicated cancel request
720010authorization cancellation unavailable
721080pending cancel request
721088authorization cancellation declined
721170authorization expired
721171authorization already captured
721172authorization already cancelled
721188authorization cancellation declined
721288authorization cancellation declined
900000session created successfully
922222tokenization successful
944444authorization successful
955555capture successful
966666refund successful
977777cancel successful
988888settlement successful

Example:

{
 "result": {
    "code": "944444",
    "description": "Authorization successful"
    }
}

You can find the result code for each of your transactions in your merchant account as well. This is to be found in the transactions section. To see the result code, please add the "result code" column into your view. To do so, click on "Display" in the top right corner and select the columns "result code" and "result description" to be added.

ℹ️

To find out more customization options, navigate to the YOUR ACCOUNT - CUSTOMIZATION section in this documentation.