Skip to content

Instantly share code, notes, and snippets.

@mjallday
Created November 1, 2012 19:01
Show Gist options
  • Save mjallday/3995736 to your computer and use it in GitHub Desktop.
Save mjallday/3995736 to your computer and use it in GitHub Desktop.
Balanced Payments Card Error Map
response_codes = {
'201': 'Invalid CC Account Number',
'202': 'Bad Amount, Non-Numeric Amount',
'203': 'Zero Amount',
'204': 'Other Error',
'205': 'Bad Total Auth Amount',
'218': 'Invalid SKU Number',
'219': 'Invalid Credit Plan',
'220': 'Invalid Store Number',
'225': 'Invalid Field Data',
'227': 'Missing Companion Data',
'229': 'Percents Do Not Total 100',
'230': 'Payments Do Not Total Order',
'231': 'Invalid Division Number',
'233': 'Does Not Match MOP',
'234': 'Duplicate Order Number',
'235': 'FPO Locked',
'236': 'Auth Recycle Host System Down',
'237': 'FPO Not Allowed',
'238': 'Invalid Currency',
'239': 'Invalid MOP for Division',
'240': 'Auth Amount Wrong',
'241': 'Illegal Action',
'243': 'Invalid Purchase Level III',
'244': 'Invalid Encryption Format',
'245': 'Missing or Invalid Secure Payment Data.',
'246': 'Merchant Not MasterCard SecureCode Enabled',
'247': 'Check Conversion Data Error',
'248': 'Blanks Not Passed in Reserved Field',
'249': 'Invalid MCC.',
'251': 'Invalid Start Date',
'252': 'Invalid Issue Number',
'253': 'Invalid Transaction Type',
'257': 'Missing Customer Service Phone',
'258': 'Not Authorized to Send Record',
'260': 'Soft AVS',
'261': 'Account Not Eligible For Division`s Set Up',
'262': 'Authorization Code/Response Date Invalid',
'263': 'Partial Auth Not Allowed or Partial Auth Request Not Valid',
'264': 'Duplicate Deposit Transaction',
'265': 'Missing QHP amount.',
'266': 'Invalid QHP Amount',
'267': 'Merchant Not IIAS Enabled.',
'268': 'Invalid Cash Back Amount',
'269': 'Bin Blocked',
'270': 'Card Number Is Stopped.',
'271': 'Country Is Blocked.',
'273': 'Cash Over Not Allowed on MCC',
'274': 'Invalid MOP for Voice Auth IVR',
'275': 'Ceiling Limit',
'301': 'Issuer Unavailable',
'302': 'Credit Floor',
'303': 'Processor Decline',
'304': 'Not on File',
'305': 'Already Reversed',
'306': 'Amount Mismatch',
'307': 'Authorization Not Found',
'401': 'Call',
'401': 'Decline',
'452': 'Account Already Redeemed',
'456': 'Invalid Refund Amount',
'457': 'Verification Denied',
'458': 'Verification Error',
'461': 'Account Is Not Redeemed',
'465': 'Account Already Refunded',
'468': 'Number of Agreements Exceeded',
'469': 'More Than One Agreement',
'470': 'Agreement Types Cannot be Mixed',
'471': 'Invalid Agreement Type',
'472': 'Buyer Did Not Accept Agreement',
'473': 'Agreement for Transaction Already Created',
'474': 'Billing Address Does Not Exist',
'501': 'Pickup',
'502': 'Lost/Stolen',
'503': 'Fraud/Security Violation.',
'505': 'Negative File',
'508': 'Excessive PIN Try',
'509': 'Over Limit',
'510': 'Over Frequency Limit',
'519': 'On Negative File',
'521': 'Insufficient Funds',
'522': 'Card is Expired',
'523': 'Encryption Data Bad',
'524': 'Altered Data',
'530': 'Do Not Honor',
'531': 'CVV2/CVC2 Failure',
'534': 'Do Not Honor High Fraud',
'540': 'Under 18 Years Old',
'541': 'Possible Compromise',
'542': 'Bill To Not Equal Ship To',
'543': 'Invalid Pre-approval Number',
'544': 'Invalid Email Address',
'545': 'PA ITA Number Inactive',
'546': 'Blocked Agreement',
'547': 'Address Verification Failed',
'548': 'Not on Credit Bureau',
'549': 'Previously Declined',
'550': 'Closed Account, New Account Issued',
'551': 'Duplicate Transaction',
'560': 'Re-authorization',
'561': 'Re-authorization - No Match',
'562': 'Re-authorization Amount Exceeded',
'563': 'Re-authorization - Timeframes Exceeded',
'564': 'Counter Offer',
'567': 'Pending Review',
'570': 'Stop Payment Order - One Time Recurring/Installment',
'571': 'Revocation of Authorization - All Recurring/Installments',
'572': 'Revocation of all Authorizations - Closed Account',
'580': 'Account Previously Activated',
'581': 'Unable to Void',
'582': 'Block Activation Failed',
'583': 'Block Activation Failed',
'584': 'Issuance Does Not Meet Minimum Amount',
'585': 'No Original Authorization Found',
'586': 'Outstanding Authorization, Funds on Hold',
'587': 'Activation Amount Incorrect',
'588': 'Block Activation Failed',
'589': 'CVD Value Failure',
'590': 'Maximum Redemption Limit Met',
'591': 'Invalid CC Number',
'592': 'Bad Amount',
'594': 'Other Error',
'595': 'New Card Issued',
'596': 'Suspected Fraud',
'597': 'Account Lookup Not Allowed For Merchant',
'599': 'Refund not allowed',
'602': 'Invalid Institution Code',
'603': 'Invalid Institution',
'605': 'Invalid Expiration Date',
'606': 'Invalid Tran Type',
'607': 'Invalid Amount',
'610': 'BIN Block',
'704': 'FPO Accepted',
'719': 'On Negative File',
'740': 'Match Failed',
'741': 'Validation Failed',
'750': 'Invalid Transit Routing Number',
'751': 'Transit Routing Number Unknown',
'752': 'Missing Name',
'753': 'Invalid Account Type',
'754': 'Account Closed',
'755': 'No Account/ Unable to Locate',
'756': 'Account-Holder Deceased',
'757': 'Beneficiary Deceased',
'758': 'Account Frozen',
'759': 'Customer Op-out',
'760': 'ACH Non-Participant',
'762': 'No Address',
'763': 'Invalid Account Number',
'764': 'Authorization Revoked by Consumer',
'765': 'Customer Advises Not Authorized',
'766': 'Invalid CECP Action Code',
'767': 'Invalid Account Number Format',
'768': 'Bad Account Number Data',
'802': 'Positive ID',
'806': 'Restraint',
'811': 'Invalid Security Code',
'813': 'Invalid PIN/User id',
'825': 'No Account',
'833': 'Invalid Merchant',
'834': 'Invalid MOP/ Unauthorized user',
'834': 'Invalid MOP/Unauthorized User',
'902': 'Process Unavailable',
'903': 'Invalid Expiration',
'904': 'Invalid Effective Date',
'905': 'Stand-In Rules',
'910': 'PayPal Agreement has expired',
'911': 'Funding Source to expire',
'912': 'Account/Agreement Updated',
'913': 'Previous Agreement in effect',
'914': 'Buyer removed final funding source',
}
response_descriptions = {
'201': 'Bad check digit, length, or other credit card problem',
'202': 'Amount sent was zero, unreadable, or exceeds maximum allowable '
'amount',
'203': 'Amount sent was zero',
'204': 'Unidentifiable error',
'205': 'Sum of the authorization amount from extended data information '
'does not equal detail record authorization amount.',
'218': 'Non-numeric value sent',
'219': 'Non-numeric value sent',
'220': 'Non-numeric value sent',
'225': 'Data within transaction is incorrect',
'227': 'Specific and relevant data within transaction is absent',
'229': 'FPO monthly payments do not total 100%',
'230': 'FPO monthly payments do not total order.',
'231': 'Division number incorrect',
'233': 'Credit card number does not match method of payment type or '
'invalid BIN.',
'234': 'Unique to Authorization Recycle transactions. Order number '
'already exists in system',
'235': 'FPO change not allowed',
'236': 'Authorization Recycle host system temporarily unavailable',
'237': 'Division does not participate in FPO.',
'238': 'Currency does not match Chase Paymentech merchant setup for '
'division.',
'239': 'Method of payment is invalid for the division',
'240': 'Used By FPO',
'241': 'Invalid action attempted',
'243': 'Data is inaccurate or missing, or the BIN is ineligible for '
'P-card',
'244': 'Invalid encryption flag. Data is inaccurate',
'245': 'Visa, MasterCard or UK Domestic Maestro authentication data not '
'in appropriate Base 64 encoding format or data provided on a '
'non-e-Commerce transaction.',
'246': 'Division does not participate in MasterCard or UK Domestic '
'Maestro Secure Code. Contact your Chase Paymentech '
'Representative for information on getting setup for MasterCard '
'or UK Domestic Maestro SecureCode.',
'247': 'Proper data elements were not sent for POP/ARC transactions',
'248': 'Blanks not passed in Reserved Field',
'249': 'Invalid Merchant Category Code (MCC) sent',
'251': 'Incorrect Start Date or card may require an Issue Number, but a '
'start date was submitted',
'252': 'Issue number invalid for this BIN',
'253': 'Invalid transaction type for this order',
'257': 'Customer Service Phone Number required on Transaction Types',
'258': 'Division is not authorized to send record',
'261': 'Account number not eligible for division`s Account Updater '
'Program setup',
'262': 'Authorization code and/or response date are invalid',
'263': 'Action code or division does not allow partial authorizations or '
'partial authorization request is not valid.',
'264': 'Transaction is a duplicate of a previously deposited transaction. '
'Transaction will not be processed',
'265': 'Missing QHP amount.',
'266': 'QHP amount greater than transaction amount.',
'267': 'Division does not participate in Healthcare IIAS.',
'268': 'Cash back amount is not between $20 and $100 and is not an '
'increment of $20',
'269': 'Bin number is in a blocked bin listing.',
'270': 'Card number is in a stop card number listing',
'271': 'Issuing country of the card is in a blocked country listing',
'272': 'Data is inaccurate or missing, or the BIN is ineligible for '
'P-card.',
'273': 'Cash Over cannot be processed under this MCC.',
'274': 'Stratus will reject any transctions related to a MOP that is not '
'supported by the Voice Auth IVR-The supported MOPS are '
'VI/MC/DI/JC',
'275': 'The transaction amount exceeds the merchant transaction amount '
'limit (ceiling limit) as established by the merchants setup '
'instructions.',
'740': 'B - Unable to find a match for Debit authorization record-based '
'on trace number, account number, and division number MP - Unable '
'to find a match for MoneyPak authorization record - based on '
'division number, amount, confirmation ID and accountnumber RC - '
'Unable to find a match for RC Authorization Record - based on '
'trace number, account number, and division number',
'741': 'Unable to validate the RC Authorization Record - based on amount, '
'action code, and MOP',
'750': 'ECP - ABA Transit routing number is invalid, fails check digit '
'ED - Bank Sort Code is invalid',
'751': 'Transit routing number not on list of curent acceptable numbers',
'752': 'Pertains to deposit transactions only',
'753': 'Pertains to deposit transactions only',
'754': 'Bank account has been closed For PayPal - the customer\'s PayPal '
'account was closed/restricted',
'755': 'Does not match any account for the customer at the bank',
'756': 'Customer or account holder has died',
'757': 'Beneficiary on account has died',
'758': 'Transaction posting to account prohibited',
'759': 'Customer has refused to allow transaction For PayPal - the '
'customer\'s billing agreement was cancelled',
'760': 'ECP - Banking institution does not accept ACH transactions ED - '
'Bank does not allow direct debit',
'762': 'Pertains to deposit transactions only',
'763': 'Account number is incorrect',
'764': 'Customer has notified their bank not to accept these transactions',
'765': 'Customer has not authorized bank to accept these transactions',
'766': 'Canadian ECP only',
'767': 'Formatting of account number is incorrect',
'768': 'Invalid characters in account number',
'769': 'Account is not eligible for ACH conversion and would include IAT '
'account numbers',
'834': 'R - Method of payment is invalid for the division D - BML - '
'unauthorized user',
'835': 'Customer does not have permission to refund the transaction',
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment