Fuel API - Status Codes

DOCS

Last updated: Aug 15th, 7:47am

Since a single perceivable action on the mobile wallet - e.g., making a payment - is actually made up of potentially hundreds of different steps, The WLW managed service uses a variety of different codes to communicate the status of a given transaction at any point in the process of its completion.

Payment Status Codes

The codes defined in this section are specific to the current state of any mobile transaction as it relates to an exchange of tender, either as a purchase or a refund.

Codes within each range have been reserved for use by the type specified for that range. However, there is not necessarily a status assigned to every code within the range.

The following tables list the payment status codes within their respective categories.

Authorization Status

CodeStatus MessageDescription
200Approved PaymentPayment for the transaction has been approved.
201Declined PaymentPayment for the transaction has been declined.
203Insufficient FundsThe account from which the payment is being drawn does not have enough money to cover the amount due.
210Auth_ApprovedThe authorization has been approved.
211Auth_FailedThe authorization has not succeeded.

Payment Status

CodeStatus MessageDescription
240Duplicate TransactionThe transaction has already been submitted.
241Processing ErrorApproval of the payment authorization has failed.
242Gateway Processing ErrorAn error has occurred in an external system while processing the payment.
243Transaction Not AllowedThis transaction cannot be processed at the customer’s financial institution.

Payment Input Failures

CodeStatus MessageDescription
250Invalid InputsThe transaction contains one or more invalid parameter entries.
251Invalid AmountThe amount entered is not a valid format (e.g., multiple decimal points may have been entered).
252Invalid Card NumberThe credit card number entered is not valid (e.g., too many or too few digits).
253Invalid Expiry DateThe credit card expiration date is not a valid date.
254Expired CardThe credit card expiration date has already passed.
255Invalid ABAThe ABA code is not valid for the card.
256Invalid Account NumberThe account number is invalid.
257AVS MismatchThe transaction resulted in an AVS mismatch. The address provided does not match billing address of card holder.
258Invalid Card CodeThe card code (CVV2/CVC2/CID) is invalid.
CodeStatus MessageDescription
500Invalid TransactionThe transaction request is not valid; contact Issuer.
501Suspected FraudA fraudulent transaction is suspected; contact Issuer.
CodeStatus MessageDescription
550Merchant ErrorThe data transmitting from the POS terminal has resulted in an error.

Method Status Codes

This section contains the possible status codes that can be returned by each method in the Fuel API.

retrieveSiteInformation Status Codes

Status CodeSample Status MessageConnector Response
200SucceededSUCCESS
242Message security error. Please contact Customer Care.GATEWAY_PROCESSING_ERROR
242Invalid request format/dateGATEWAY_PROCESSING_ERROR
242Server error occurred. Please try later.GATEWAY_PROCESSING_ERROR
250Invalid location ID. No data found for the given location.INVALID_INPUTS
250Require site data is not available or invalid format.INVALID_INPUTS
241Processing error.PROCESSING_ERROR

pumpAuthorization Status Codes

Status CodeStatus MessageConnector Response
200SUCCESSSUCCESS
401SITE_UNKNOWNFAILED
402MESSAGE_VALIDATION_FAILEDFAILED
403SERVICE_UNAVAILABLE_AT_THIS_SITEEXTERNAL GATEWAY ERROR
404RESERVE_FUEL_POINT_TIMEOUTEXTERNAL GATEWAY TIMEOUT
405RESERVE_FUEL_POINT_BAD_RESPONSEEXTERNAL GATEWAY ERROR
406RESERVE_FUEL_INTERNAL_SERVER_ERROREXTERNAL GATEWAY ERROR
407`RESERVE_FUEL_POINT_FAILEDEXTERNAL GATEWAY ERROR
408RESERVE_FUEL_POINT_PUMP_IN_USEEXTERNAL GATEWAY ERROR
409RESERVE_FUEL_POINT_PUMP_NOT_EXISTINGEXTERNAL GATEWAY ERROR
411RESERVE_FUEL_POINT_OTHEREXTERNAL GATEWAY ERROR
412RESERVE_FUEL_POINT_EPS_OFFLINE_MODEEXTERNAL GATEWAY ERROR

updateFuelEvent Status Codes

Status CodeDescription
200 (OK)Operation Successful
400 (BAD_REQUEST)The request is not correct.
404 (SERVICE_UNAVAILABLE)Gateway Down / Incorrect URL
500 (INTERNAL_SERVER_ERROR)Internal Server Error
503 (NOT_FOUND)Times out / Connection interrupted
Status CodeB2B Status Values
200 (OK)SUCCESS
FAILED
INVALID_DATA
REQUIRED_DATA_MISSING
TIMEOUT
FATAL_ERROR
TRANSACTION_EXPIRED
TRANSACTION_NOT_FOUND
TRANSACTION_CANCELED
INVALID_SECONDARY_ID

settlement Status Codes

Status CodeDescription
200 (OK)Operation Successful
400 (BAD_REQUEST)The request is not correct.
404 (SERVICE_UNAVAILABLE)Gateway Down / Incorrect URL
500 (INTERNAL_SERVER_ERROR)Internal Server Error