Overview
Entities
Legal Entity
Account Authorization Webhooks
Virtual Account
Transaction
Card
Card Group
Transaction
Get transaction fee details
Fetch breakdown of a fee transaction
GET
/
transaction
/
{transactionId}
/
fee-details
Copy
Ask AI
curl --request GET \
--url https://api.joinslash.com/transaction/{transactionId}/fee-details \
--header 'X-API-Key: <api-key>'
Copy
Ask AI
{
"items": [
{
"id": "<string>",
"dateCharged": "<string>",
"feeAmountCents": 123,
"feeType": "<string>",
"accountId": "<string>",
"originalTransaction": {
"id": "<string>",
"date": "<string>",
"description": "<string>",
"memo": "<string>",
"merchantDescription": "<string>",
"merchantData": {
"description": "<string>",
"categoryCode": "<string>",
"location": {
"city": "<string>",
"state": "<string>",
"country": "<string>",
"zip": "<string>"
}
},
"amountCents": 123,
"status": "pending",
"detailedStatus": "pending",
"accountId": "<string>",
"accountSubtype": "cash",
"cardId": "<string>",
"originalCurrency": {
"code": "<string>",
"amountCents": 123,
"conversionRate": 123
},
"orderId": "<string>",
"referenceNumber": "<string>",
"authorizedAt": "<string>",
"declineReason": "<string>",
"wireInfo": {
"counterpartyBank": "<string>",
"typeCode": "<string>",
"subtypeCode": "<string>",
"omad": "<string>",
"imad": "<string>",
"senderReference": "<string>",
"businessFunctionCode": "<string>"
},
"achInfo": {
"counterpartyBank": "<string>",
"receiverId": "<string>",
"companyId": "<string>",
"companyDiscretionaryData": "<string>",
"companyEntryDescription": "<string>",
"traceNumber": "<string>",
"entryClassCode": "<string>",
"paymentRelatedInfo": "<string>"
}
},
"card": {
"id": "<string>",
"accountId": "<string>",
"virtualAccountId": "<string>",
"last4": "<string>",
"name": "<string>",
"expiryMonth": "<string>",
"expiryYear": "<string>",
"status": "active",
"isPhysical": true,
"isSingleUse": true,
"pan": "<string>",
"cvv": "<string>",
"cardGroupId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"spendingConstraint": {
"merchantCategoryRule": {
"merchantCategories": [
"<string>"
],
"restriction": "allowlist"
},
"merchantRule": {
"merchants": [
"<string>"
],
"restriction": "allowlist"
},
"spendingRule": {
"utilizationLimit": {
"timezone": "<string>",
"limitAmount": {
"amountCents": 123
},
"preset": "daily",
"startDate": "<string>"
},
"utilizationLimitV2": [
{
"timezone": "<string>",
"limitAmount": {
"amountCents": 123
},
"preset": "daily",
"startDate": "<string>"
}
],
"transactionSizeLimit": {
"minimum": {
"amountCents": 123
},
"maximum": {
"amountCents": 123
}
}
},
"countryRule": {
"countries": [
"<string>"
],
"restriction": "allowlist"
},
"merchantCategoryCodeRule": {
"merchantCategoryCodes": [
"<string>"
],
"restriction": "allowlist"
}
},
"userData": {},
"cardProductId": "<string>"
}
}
]
}
Authorizations
Authentication from public API requests
Path Parameters
Response
200
application/json
OK
The response is of type object
.
Copy
Ask AI
curl --request GET \
--url https://api.joinslash.com/transaction/{transactionId}/fee-details \
--header 'X-API-Key: <api-key>'
Copy
Ask AI
{
"items": [
{
"id": "<string>",
"dateCharged": "<string>",
"feeAmountCents": 123,
"feeType": "<string>",
"accountId": "<string>",
"originalTransaction": {
"id": "<string>",
"date": "<string>",
"description": "<string>",
"memo": "<string>",
"merchantDescription": "<string>",
"merchantData": {
"description": "<string>",
"categoryCode": "<string>",
"location": {
"city": "<string>",
"state": "<string>",
"country": "<string>",
"zip": "<string>"
}
},
"amountCents": 123,
"status": "pending",
"detailedStatus": "pending",
"accountId": "<string>",
"accountSubtype": "cash",
"cardId": "<string>",
"originalCurrency": {
"code": "<string>",
"amountCents": 123,
"conversionRate": 123
},
"orderId": "<string>",
"referenceNumber": "<string>",
"authorizedAt": "<string>",
"declineReason": "<string>",
"wireInfo": {
"counterpartyBank": "<string>",
"typeCode": "<string>",
"subtypeCode": "<string>",
"omad": "<string>",
"imad": "<string>",
"senderReference": "<string>",
"businessFunctionCode": "<string>"
},
"achInfo": {
"counterpartyBank": "<string>",
"receiverId": "<string>",
"companyId": "<string>",
"companyDiscretionaryData": "<string>",
"companyEntryDescription": "<string>",
"traceNumber": "<string>",
"entryClassCode": "<string>",
"paymentRelatedInfo": "<string>"
}
},
"card": {
"id": "<string>",
"accountId": "<string>",
"virtualAccountId": "<string>",
"last4": "<string>",
"name": "<string>",
"expiryMonth": "<string>",
"expiryYear": "<string>",
"status": "active",
"isPhysical": true,
"isSingleUse": true,
"pan": "<string>",
"cvv": "<string>",
"cardGroupId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"spendingConstraint": {
"merchantCategoryRule": {
"merchantCategories": [
"<string>"
],
"restriction": "allowlist"
},
"merchantRule": {
"merchants": [
"<string>"
],
"restriction": "allowlist"
},
"spendingRule": {
"utilizationLimit": {
"timezone": "<string>",
"limitAmount": {
"amountCents": 123
},
"preset": "daily",
"startDate": "<string>"
},
"utilizationLimitV2": [
{
"timezone": "<string>",
"limitAmount": {
"amountCents": 123
},
"preset": "daily",
"startDate": "<string>"
}
],
"transactionSizeLimit": {
"minimum": {
"amountCents": 123
},
"maximum": {
"amountCents": 123
}
}
},
"countryRule": {
"countries": [
"<string>"
],
"restriction": "allowlist"
},
"merchantCategoryCodeRule": {
"merchantCategoryCodes": [
"<string>"
],
"restriction": "allowlist"
}
},
"userData": {},
"cardProductId": "<string>"
}
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.