Returns a card transaction by ID
curl --request GET \
--url https://api.light.inc/v1/card-transactions/{cardTransactionId} \
--header 'Authorization: <api-key>'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"companyEntityId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"companyEntityName": "<string>",
"cardBalanceAccountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"cardBalanceAccountLabel": "<string>",
"cardId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"cardVendorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"cardVendorAvatarUrl": "<string>",
"cardVendorName": "<string>",
"cardOwnerName": "<string>",
"cardOwnerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"cardLastFour": "<string>",
"originalAmount": 123,
"originalCurrency": "USD",
"amount": 123,
"currency": "USD",
"direction": "DEBIT",
"transactionReason": "APPROVED",
"purchaseType": "ATM",
"status": "AUTHORIZED",
"type": "PAYMENT",
"merchant": {
"name": "<string>",
"cleanName": "<string>",
"country": "UNDEFINED",
"zipcode": "<string>",
"id": "<string>",
"mcc": "<string>",
"acquirerId": "<string>",
"logoUrl": "<string>"
},
"receiptDocumentKey": "<string>",
"lines": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transactionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"accountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"accountLabel": "<string>",
"taxCodeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"taxCodeLabel": "<string>",
"costCenterId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"costCenterName": "<string>",
"amount": 123,
"netAmount": 123,
"description": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"customProperties": [
{
"groupId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"groupInternalName": "<string>",
"values": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"groupId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"groupInternalName": "<string>",
"companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"internalName": "<string>",
"label": "<string>",
"context": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}
],
"amortizationTemplateId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amortizationStartDate": "2023-12-25",
"amortizationEndDate": "2023-12-25"
}
],
"failureContext": {
"name": "<string>",
"type": "BAD_REQUEST",
"errors": [
{
"type": "<string>",
"message": "<string>",
"path": [
"<string>"
],
"context": {}
}
]
},
"description": "<string>",
"performedAt": "2023-11-07T05:31:56Z",
"exportedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"customProperties": [
{
"groupId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"groupInternalName": "<string>",
"values": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"groupId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"groupInternalName": "<string>",
"companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"internalName": "<string>",
"label": "<string>",
"context": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}
]
}Basic authentication header of the form Basic <api_key>, where <api_key> is your api key.
default response
List of records for the current page
"USD"
"USD"
⚠️ This enum is not exhaustive; new values may be added in the future.
DEBIT, CREDIT ⚠️ This enum is not exhaustive; new values may be added in the future.
APPROVED, INSUFFICIENT_FUNDS, OTHER ⚠️ This enum is not exhaustive; new values may be added in the future.
ATM, BALANCE_INQUIRY, ECOMMERCE, POS, RECURRING, UNKNOWN, OTHER ⚠️ This enum is not exhaustive; new values may be added in the future.
AUTHORIZED, DECLINED, CAPTURED, REFUNDED, VOIDED, POSTED ⚠️ This enum is not exhaustive; new values may be added in the future.
PAYMENT, REFUND, OTHER Show child attributes
Show child attributes
Failure context when vendor onboarding fails.
Show child attributes
Custom properties set on the vendor.
Show child attributes
curl --request GET \
--url https://api.light.inc/v1/card-transactions/{cardTransactionId} \
--header 'Authorization: <api-key>'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"companyEntityId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"companyEntityName": "<string>",
"cardBalanceAccountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"cardBalanceAccountLabel": "<string>",
"cardId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"cardVendorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"cardVendorAvatarUrl": "<string>",
"cardVendorName": "<string>",
"cardOwnerName": "<string>",
"cardOwnerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"cardLastFour": "<string>",
"originalAmount": 123,
"originalCurrency": "USD",
"amount": 123,
"currency": "USD",
"direction": "DEBIT",
"transactionReason": "APPROVED",
"purchaseType": "ATM",
"status": "AUTHORIZED",
"type": "PAYMENT",
"merchant": {
"name": "<string>",
"cleanName": "<string>",
"country": "UNDEFINED",
"zipcode": "<string>",
"id": "<string>",
"mcc": "<string>",
"acquirerId": "<string>",
"logoUrl": "<string>"
},
"receiptDocumentKey": "<string>",
"lines": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transactionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"accountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"accountLabel": "<string>",
"taxCodeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"taxCodeLabel": "<string>",
"costCenterId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"costCenterName": "<string>",
"amount": 123,
"netAmount": 123,
"description": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"customProperties": [
{
"groupId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"groupInternalName": "<string>",
"values": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"groupId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"groupInternalName": "<string>",
"companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"internalName": "<string>",
"label": "<string>",
"context": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}
],
"amortizationTemplateId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amortizationStartDate": "2023-12-25",
"amortizationEndDate": "2023-12-25"
}
],
"failureContext": {
"name": "<string>",
"type": "BAD_REQUEST",
"errors": [
{
"type": "<string>",
"message": "<string>",
"path": [
"<string>"
],
"context": {}
}
]
},
"description": "<string>",
"performedAt": "2023-11-07T05:31:56Z",
"exportedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"customProperties": [
{
"groupId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"groupInternalName": "<string>",
"values": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"groupId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"groupInternalName": "<string>",
"companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"internalName": "<string>",
"label": "<string>",
"context": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}
]
}