Get Transaction Details

Use the Get Transaction Details API endpoint to retrieve detailed information for a specific transaction associated with a customer's line of credit account.

📘

Early Access

Credit API endpoints are currently being finalised as part of ongoing product development. While we do not anticipate significant changes, some interfaces, behaviours, and documentation may be refined before general availability.

The Get Transaction Details endpoint enables you to retrieve detailed information for a specific transaction associated with a customer's line of credit account. Use this endpoint when you need to display the full details of an individual transaction, such as merchant information, billing cycle, and authorization amounts.

📘

More Information

For more information about the Explorer endpoints, see: Credit Explorer.

Example Request

Retrieve transaction details by making a GET request to the Get Transaction Details endpoint.

GET {{baseUrl}}/api/v1/credit/explorer/accounts/{account_id}/transactions/{transaction_id}

Path Parameters

ParameterDescription
account_idstring. Required. The unique identifier of the account.
transaction_idstring. Required. The unique identifier of the transaction.

Query Parameters

ParameterDescription
transactionTypestring. Required. The type of the transaction, as returned by Get Account Transactions. Possible values: spend, credit, payment, fee. interest is not supported yet and returns a 422 error.
rewardTypestring. Optional. Which reward points transactions to include in the reward fields. Possible values: all (default), earned, redeemed.

Example Response

A successful request returns a 200 HTTP status code with the transaction details.

{
  "transactionId": "txn_123456",
  "accountId": "acc_123456",
  "clientAssignedId": "acc_123456",
  "amount": "49.99",
  "currency": "USD",
  "created": "2025-01-15T10:30:00Z",
  "valueDate": "2025-01-15",
  "cardId": "card_123456",
  "addressId": "addr_123456",
  "publicToken": "pub_123456",
  "panLastDigits": "1234",
  "billingCycle": "2025-01",
  "description": "Coffee Shop",
  "merchantName": "The Coffee Shop",
  "merchantCategoryCode": "5812",
  "rawTransactionFeed": null,
  "status": "settled",
  "transactionType": "spend",
  "creditCategory": null,
  "originalAuthAmount": "49.99",
  "rewardPoints": 50,
  "rewardDollarValue": "0.50",
  "rewardsEarnRate": "1.50%",
  "rewardsModifierDescription": "Base Rate"
}

Response Fields

AttributeDescription
transactionIdstring or null. The unique identifier of the transaction.
accountIdstring or null. The unique identifier of the account associated with the transaction.
clientAssignedIdstring or null. The parent line of credit account ID.
amountstring or null. The transaction amount.
currencystring or null. ISO 4217 alphabetic currency code.
createdstring or null. The date and time the transaction was created.
valueDatestring or null. The date the transaction was applied to the account, in OData date format: /Date(unix_epoch_seconds)/.
cardIdstring or null. The unique identifier of the card used for the transaction.
addressIdstring or null. The unique identifier of the address associated with the transaction.
publicTokenstring or null. The public token of the card that originated the transaction, when known.
panLastDigitsstring or null. The last digits of the originating card's PAN.
billingCyclestring or null. The billing cycle in which the transaction occurred.
descriptionstring or null. A description of the transaction.
merchantNamestring or null. The name of the merchant associated with the transaction.
merchantCategoryCodestring or null. The merchant category code (MCC) that classifies the type of business.
rawTransactionFeedstring or null. The raw transaction feed data.
statusstring or null. The current status of the transaction.
transactionTypestring or null. The type of the transaction. Possible values: fee, spend, payment, credit.
creditCategorystring or null. The credit category of a credit transaction, for example a rewards redemption. Only returned for credit transactions.
originalAuthAmountstring or null. The original authorized amount of the transaction.
rewardPointsnumber or null. The net reward points for this transaction. Positive when earned, negative when redeemed or clawed back.
rewardDollarValuestring or null. The net reward points for this transaction, converted to a dollar value.
rewardsEarnRatestring or null. The rewards earn rate of a spend transaction: the product's base rate plus any modifier, e.g. 1.50%. Null when the transaction is reversed.
rewardsModifierDescriptionstring or null. The modifier applied to the rewards earn rate of a spend transaction, or Base Rate when there is none. Null when the transaction is reversed.


Did this page help you?