Skip to main content

Authorization report

Whether you want to review every authorization decision, check which transactions were approved or declined, or satisfy a regulatory requirement for end-to-end traceability of the authorization path, the daily authorization report gives you a complete, loadable snapshot of that day’s authorization decisions. As a licensed card issuer, DCS records every authorization decision, approvals and declines alike, as standardized fields and delivers them to you in a full daily settlement file. What the authorization report captures is the decision and the hold placed during the authorization stage, that is, whether the transaction was let through and how much was frozen, not where the money finally landed. It is delivered alongside the transaction report: the authorization report answers “was it approved”, the transaction report answers “how much was actually charged”.

Where it sits in the funds lifecycle

Under the Partner-Managed model, the authorization decision belongs to you and is made by you. DCS forwards the channel’s authorization request to you for an approve-or-decline verdict and records the outcome of each decision as an authorization record. Authorization, outstanding and transaction are chained together by IDs:
Where the authorization report sits in the funds lifecycleWhere the authorization report sits in the funds lifecycle
  • Every record in the authorization report is uniquely identified by authId and links to its outstanding record through outsId.
  • originalAuthId is used wherever a record must be traced back to an original authorization, such as multiple refunds or incremental authorizations.
  • For the full set of authorization and clearing combinations (plain clearing, incremental, reversal, over- and under-clearing, forced clearing, cash withdrawal and so on), see Authorization and clearing scenarios.

Authorization type (authType)

authType tells you how an authorization record came into being, so you can separate real-time authorizations from records the system created or released on its own. The authoritative definitions also appear in Authorization and clearing scenarios.

Transaction type (transactionType)

transactionType tells you what kind of transaction the cardholder initiated when the authorization was requested, so you can recognize the scenario at a glance during reconciliation.

Authorization outcome and decline reason (approveFlag / rejectReason)

Common rejectReason values:
Because the authorization decision sits on your side, a rejectReason may come from your own business logic or from a DCS or channel-side check or reconciliation correction, a timeout being the obvious example. For how each code is classified and handled, see Authorization declines and error codes.

How to retrieve the authorization report

Under the Partner-Managed model there is no real-time endpoint for querying an individual authorization; authorization records are delivered exclusively through the full daily settlement file. Each day DCS generates one file per partner (Enterprise) containing all of that day’s authorizations. Endpoint (to obtain the download link)
Note that the fileType value uses the British spelling authorisation, not authorization. Pass it exactly as shown.
Response: inside the standard response envelope { code, message, messageDetail, data }, data is the file’s download link as a string (a temporary AWS S3 link with a short validity, so download it promptly).
About the response envelope: judge success or failure from code. message is a short prompt, and messageDetail is a structured message object meant for end-user display (carrying title, type, action, linkUrl and so on). For the envelope and the rules for interpreting it, see API Reference overview. For error codes, see Authorization declines and error codes.
Who does what
  • DCS: generates the full authorization file for the day and stores it in S3, then issues a temporary download link on request.
  • Partner: calls this endpoint for a link, downloads the file while the link is valid, then loads it and checks the authorization decisions against your own records.
by default the previous day’s file is generated on T+1 and can be downloaded once the job finishes. The temporary download link is valid for a fixed 120 seconds; once it expires, call the endpoint again for a new one.
For the shared retrieval mechanism behind download links and the daily reconciliation cycle, see Reconciliation overview.

Fields in the authorization report file

One authorization record per line, fields delimited by >, in the following order: Sample line
The sample above shows a declined authorization: approveFlag=D with rejectReason=DAPI_AUTH_ENTERPRISE_TIMEOUT_REJECT (the partner did not answer in time, so the authorization was declined), transaction type R (card purchase), settlement currency 702 (SGD), merchant country 840 (United States).

Notes

Field extensions

New fields may be appended to the authorization file in the future. Field extensions follow these compatibility commitments:
  1. Existing column indexes stay stable: the columns already defined in this document never change their index or meaning; no column is removed and no new column is inserted in the middle;
  2. New fields are appended at the end of the line only: every addition is announced in advance through a change notice. Partners can read the new indexes as needed; until then, simply ignore the extra trailing columns — existing parsing is unaffected;
  3. Every column keeps its placeholder: every column (including empty ones) keeps its placeholder, so the number of separators per line always matches the column count.
We recommend parsing fields by column index and tolerating unknown trailing columns.

Next steps