Read a clearing file exception and its resolutions
/cards/clearing/exceptions/{id}Verified staff on the card clearing desk's narrow scopes only: cards:clearing:read for reads, cards:clearing:write with a step-up within five minutes for writes; cards:write does not reach these routes and no service token or API key does. The file formats are bank-defined approximations of the proprietary Visa BASE II, Mastercard IPM and Discover clearing specifications (services/cards/clearing/README.md); a file from the card clearing simulator is simulated, not network traffic. Reads one exception: kind (unknown_card, card_mismatch, refused, duplicate, duplicate_conflict, unmatched_reversal, over_reversal, unmatched_return), direction, amount, the record and its resolutions.
Path parameters
idstringRequiredReturns
200 OK
amount_minorintegerRequiredcreated_atstring · date-timeRequireddetailstringRequireddirectionstringRequiredfile_idstringRequiredExample achf_2tVh8nqLxq4GbDe0K1F6S9zRcWm
idstringRequiredkindstringRequirednetworkstringRequiredrecordobjectRequiredRecord is one transaction in a clearing file.
24 child attributes
amount_minorintegerRequiredThe cardholder billing and settlement amount in USD
approval_codestringOptionalarnstringRequiredauthorization_refstringOptionalThe network reference the authorisation carried; empty for an offline presentment
channelstringOptionalclearing_countintegerOptionalMultiple clearing: how many presentments the authorisation will have
clearing_sequenceintegerOptionalMultiple clearing: this presentment's number
conversionobject or nullOptionalConversion is the currency conversion a presentment carries when the merchant's currency is not the cardholder's: the amount in the transaction currency and the rate the network applied. Rate is eight digits: the first is the number of decimal places, the other seven the rate (the ISO 8583 conversion-rate representation).
3 child attributes
ratestringRequiredsource_amount_minorintegerRequiredsource_currencystringRequiredcurrencystringRequiredfee_reasonstringOptionalinterchange_minorintegerRequiredSigned: positive is paid to the issuer
mccstringOptionalmerchant_citystringOptionalmerchant_countrystringOptionalmerchant_idstringOptionalmerchant_namestringOptionalmerchant_postal_codestringOptionalmerchant_regionstringOptionaloriginal_arnstringOptionalA reversal, a refund naming its purchase, or a return: the record it refers to
pan_tokenstringOptionalscheme_fee_minorintegerRequiredSigned: positive is paid by the issuer
sequenceintegerRequiredtransaction_datestring · dateRequiredA business date, YYYY-MM-DD
typestringRequiredrecord_idstringRequiredresolutionsarray of objectsRequired15 child attributes
amount_minorintegerRequiredcard_account_idstringOptionalExample acct_2tVh8nqLxq4GbDe0K1F6S9zRcWm
content_sha256stringRequiredcreated_atstring · date-timeRequireddirectionstringRequiredexception_idstringRequiredexception_kindstringRequiredidstringRequiredordinalintegerRequiredproposed_bystringRequiredrecord_sha256stringRequiredrequestobjectRequiredResolutionRequest proposes how an exception ends.
4 child attributes
actionstringRequiredcard_idstringOptionalPost: the card the record belongs to
Example card_2tVh8nqLxq4GbDe0K1F6S9zRcWm
evidencearray of objectsRequired2 child attributes
referencestringRequiredsha256stringRequiredreasonstringRequiredresultobject or nullOptionalResolutionResult is what applying a resolution did.
7 child attributes
actorstringRequiredauthorization_idstringOptionalExample auth_2tVh8nqLxq4GbDe0K1F6S9zRcWm
completed_atstring · date-timeRequireddetailstringOptionaljournal_idsarray of stringsRequiredoutcomestringRequiredPosted, returned, written_off, refused
returnobject or nullOptionalReturnReceipt is the network's acknowledgement of a return instruction. An acknowledgement is not the money: the later return credit or debit in a clearing file is.
3 child attributes
accepted_atstring · date-timeRequiredreferencestringRequiredsourcestringRequiredreviewobject or nullOptionalReview is a retained independent decision.
5 child attributes
actorstringRequiredcontent_sha256stringRequiredcreated_atstring · date-timeRequireddecisionstringRequiredreasonstringRequiredsettled_at_proposalbooleanRequiredstatusstringRequiredOpen, returned (awaiting the network's return credit or debit), resolved
Errors
Every error is a problem document with a stable code. See Errors.
400401403404409412413422424429500503