Skip to main content
GET
/
transaction
/
{transactionId}
/
fee-details
cURL
curl --request GET \
  --url https://api.slash.com/transaction/{transactionId}/fee-details \
  --header 'X-API-Key: <api-key>'
{
  "items": [
    {
      "id": "<string>",
      "dateCharged": "<string>",
      "feeAmountCents": 123,
      "feeType": "<string>",
      "accountId": "<string>",
      "originalTransaction": {
        "id": "<string>",
        "date": "<string>",
        "description": "<string>",
        "amountCents": 123,
        "status": "pending",
        "detailedStatus": "pending",
        "accountId": "<unknown>",
        "accountSubtype": "cash",
        "memo": "<string>",
        "merchantDescription": "<string>",
        "merchantData": {
          "description": "<string>",
          "categoryCode": "<string>",
          "location": {
            "city": "<string>",
            "state": "<string>",
            "country": "<string>",
            "zip": "<string>"
          }
        },
        "virtualAccountId": "<string>",
        "cardId": "<string>",
        "originalCurrency": {
          "code": "<string>",
          "amountCents": 123,
          "conversionRate": 123
        },
        "orderId": "<string>",
        "referenceNumber": "<string>",
        "authorizedAt": "<string>",
        "declineReason": "<string>",
        "approvalReason": "<string>",
        "providerAuthorizationId": "<string>",
        "wireInfo": {
          "typeCode": "<string>",
          "subtypeCode": "<string>",
          "omad": "<string>",
          "imad": "<string>",
          "senderReference": "<string>",
          "businessFunctionCode": "<string>",
          "counterpartyBank": "<string>"
        },
        "achInfo": {
          "receiverId": "<string>",
          "companyId": "<string>",
          "companyDiscretionaryData": "<string>",
          "traceNumber": "<string>",
          "entryClassCode": "<string>",
          "paymentRelatedInfo": "<string>",
          "counterpartyBank": "<string>",
          "companyEntryDescription": "<string>"
        },
        "rtpInfo": {
          "counterpartyBank": "<string>",
          "endToEndId": "<string>",
          "routingNumber": "<string>",
          "originatorName": "<string>",
          "description": "<string>"
        },
        "feeInfo": {
          "relatedTransaction": {
            "id": "<string>",
            "amount": 123
          }
        },
        "cryptoInfo": {
          "txHash": "<string>",
          "senderAddress": "<string>"
        }
      },
      "card": {
        "id": "<string>",
        "accountId": "<string>",
        "last4": "<string>",
        "name": "<string>",
        "expiryMonth": "<string>",
        "expiryYear": "<string>",
        "status": "active",
        "isPhysical": true,
        "virtualAccountId": "<string>",
        "isSingleUse": true,
        "pan": "<string>",
        "cvv": "<string>",
        "cardGroupId": "<string>",
        "cardGroupName": "<string>",
        "createdAt": "2023-11-07T05:31:56Z",
        "spendingConstraint": {
          "merchantCategoryRule": {
            "merchantCategories": [
              "<string>"
            ],
            "restriction": "allowlist"
          },
          "merchantRule": {
            "merchants": [
              "<string>"
            ],
            "restriction": "allowlist"
          },
          "spendingRule": {
            "utilizationLimit": {
              "limitAmount": {
                "amountCents": 123
              },
              "preset": "daily",
              "timezone": "<string>",
              "startDate": "<string>"
            },
            "utilizationLimitV2": [
              {
                "limitAmount": {
                  "amountCents": 123
                },
                "preset": "daily",
                "timezone": "<string>",
                "startDate": "<string>"
              }
            ],
            "transactionSizeLimit": {
              "minimum": {
                "amountCents": 123
              },
              "maximum": {
                "amountCents": 123
              }
            }
          },
          "countryRule": {
            "countries": [
              "<string>"
            ],
            "restriction": "allowlist"
          },
          "merchantCategoryCodeRule": {
            "merchantCategoryCodes": [
              "<string>"
            ],
            "restriction": "allowlist"
          }
        },
        "userData": {},
        "cardProductId": "<string>",
        "modifiers": [
          {
            "name": "only_allow_recurring_payments",
            "value": true
          }
        ]
      }
    }
  ]
}

Authorizations

X-API-Key
string
header
required

API key authentication for public API requests.

Keys come in two flavors:

  • Legal-entity-scoped keys are pinned to a single legal entity. Minted via the dashboard under a specific entity; every request acts on that entity.
  • User-scoped keys are pinned to a user and span every legal entity that user has access to. Every request made with a user-scoped key (except GET /legal-entity, which lists the legal entities the user can access) must include an x-legal-entity header naming the legal entity the request is operating on. Requests without the header are rejected with 400. The authenticated user must have an active permission role on the supplied legal entity, otherwise the request is rejected with 403.

Path Parameters

transactionId
string
required

Response

OK

items
FeeTransaction · object[]
required