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 AccessCredit 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 InformationFor 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
| Parameter | Description |
|---|---|
account_id | string. Required. The unique identifier of the account. |
transaction_id | string. Required. The unique identifier of the transaction. |
Query Parameters
| Parameter | Description |
|---|---|
transactionType | string. 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. |
rewardType | string. 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
| Attribute | Description |
|---|---|
transactionId | string or null. The unique identifier of the transaction. |
accountId | string or null. The unique identifier of the account associated with the transaction. |
clientAssignedId | string or null. The parent line of credit account ID. |
amount | string or null. The transaction amount. |
currency | string or null. ISO 4217 alphabetic currency code. |
created | string or null. The date and time the transaction was created. |
valueDate | string or null. The date the transaction was applied to the account, in OData date format: /Date(unix_epoch_seconds)/. |
cardId | string or null. The unique identifier of the card used for the transaction. |
addressId | string or null. The unique identifier of the address associated with the transaction. |
publicToken | string or null. The public token of the card that originated the transaction, when known. |
panLastDigits | string or null. The last digits of the originating card's PAN. |
billingCycle | string or null. The billing cycle in which the transaction occurred. |
description | string or null. A description of the transaction. |
merchantName | string or null. The name of the merchant associated with the transaction. |
merchantCategoryCode | string or null. The merchant category code (MCC) that classifies the type of business. |
rawTransactionFeed | string or null. The raw transaction feed data. |
status | string or null. The current status of the transaction. |
transactionType | string or null. The type of the transaction. Possible values: fee, spend, payment, credit. |
creditCategory | string or null. The credit category of a credit transaction, for example a rewards redemption. Only returned for credit transactions. |
originalAuthAmount | string or null. The original authorized amount of the transaction. |
rewardPoints | number or null. The net reward points for this transaction. Positive when earned, negative when redeemed or clawed back. |
rewardDollarValue | string or null. The net reward points for this transaction, converted to a dollar value. |
rewardsEarnRate | string 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. |
rewardsModifierDescription | string 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. |
Updated 3 days ago
