get https://api.mercury.com/api/v1/account//transaction/
Retrieve information about a specific transaction for a specific account
Response schema:
{
"amount": number,
"bankDescription": string | null,
"counterpartyId": string,
"counterpartyName": string,
"counterpartyNickname": string | null,
"createdAt": date-time,
"dashboardLink": string,
"details": {
"address": {
"address1": string,
"address2": string | null,
"city": string,
"state": 2-letter US state code | null,
"postalCode": string
} | null,
"domesticWireRoutingInfo": {
"bankName": string | null,
"accountNumber": string,
"routingNumber": string,
"address": {
"address1": string,
"address2": string | null,
"city": string,
"region": string,
"postalCode": string,
"country": iso3166Alpha2,
} | null
} | null,
"electronicRoutingInfo": {
"accountNumber": string,
"routingnumber": string,
"bankName": string | null
} | null,
"internationalWireRoutingInfo": {
"iban": string,
"swiftCode": string,
"correspondentInfo": {
"routingNumber": string | null,
"swiftCode": string | null,
"bankName": string | null
} | null,
"bankDetails": {
"bankName": string,
"cityState": string,
"country": iso3166Alpha2
} | null,
"address": {
"address1": string,
"address2": string | null,
"city": string,
"region": string,
"postalCode": string,
"country": iso3166Alpha2
} | null,
"phoneNumber": string | null,
"countrySpecific": {
"countrySpecificDataCanada": {
"bankCode": string,
"transitNumber": string
} | null,
"countrySpecificDataAustralia": {
"bsbCode": string
} | null,
"countrySpecificDataIndia": {
"ifscCode": string
} | null,
"countrySpecificDataRussia": {
"inn": string
} | null,
"countrySpecificDataPhilippines": {
"routingNumber": string
} | null,
"countrySpecificDataSouthAfrica": {
"branchCode"
} | null,
},
} | null,
"debitCardInfo": {
"id": string
} | null,
"creditCardInfo": {
"id": string
} | null
} | null,
"estimatedDeliveryDate": date-time,
"failedAt": date-time | null,
"id": string,
"kind": "externalTransfer" | "internalTransfer" | "outgoingPayment" | "creditCardCredit" | "creditCardTransaction" | "debitCardTransaction" | "incomingDomesticWire" | "checkDeposit" | "incomingInternationalWire" | "treasuryTransfer" | "wireFee" | "other",
"note": string | null,
"externalMemo": string | null,
"postedAt": date-time | null,
"reasonForFailure": string | null,
"status": "pending" | "sent" | "cancelled" | "failed",
"feeId": string | null,
"currencyExchangeInfo": {
"convertedFromCurrency": string,
"convertedToCurrency": string,
"convertedFromAmount": number,
"convertedToAmount": number,
"feeAmount": number,
"feePercentage": number,
"exchangeRate": number,
"feeTransactionId": string
} | null,
"compliantWithReceiptPolicy": boolean | null,
"hasGeneratedReceipt": boolean | null,
"creditAccountPeriodId": string | null,
"mercuryCategory": string | null,
"generalLedgerCodeName": string | null,
"attachments": [
{
"fileName": string,
"url": string, // Attachment urls expire after 12 hours
"attachmentType": "checkImage" | "receipt" | "other"
}
]
}