GET
/declined_transactions/{declined_transaction_id}Retrieve a declined transaction
Retrieves a single declined transaction by its identifier. Use this operation to inspect details about a refused addition or removal of money, including the account, amount, and network-level event information.
declined_transaction_idstringrequired
The identifier of the declined transaction to retrieve.
200Returns the declined transaction object, including its account, amount, currency, creation time, description, route, and source details.
account_idstringrequired
The identifier for the Account the Declined Transaction belongs to.
amountintegerrequired
The Declined Transaction amount in the minor unit of its currency. For dollars, for example, this is cents.
created_atstringrequired
The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the Transaction occurred.
currencystringrequired
The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the Declined Transaction's currency. This will match the currency on the Declined Transaction's Account.
descriptionstringrequired
This is the description the vendor provides.
idstringrequired
The Declined Transaction identifier.
route_idstringrequired
The identifier for the route this Declined Transaction came through. Routes are things like cards and ACH details.
route_typestringrequired
The type of the route this Declined Transaction came through.
sourceobjectrequired
This is an object giving more details on the network-level event that caused the Declined Transaction. For example, for a card transaction this lists the merchant's industry and location. Note that for backwards compatibility reasons, additional undocumented keys may appear in this object. These should be treated as deprecated and will be removed in the future.
typestringrequired
A constant representing the object's type. For this resource it will always be `declined_transaction`.
4XXReturned when the request results in a client error.
5XXReturned when the server encounters an error processing the request.
Error handling
The declined_transaction_id path parameter must identify an existing declined transaction. The transaction currency is USD.