GET CorporateCards/CreditCardTransactions?statementId={statementId}

Gets the transactions for the supplied statementId id.


Parameters

NameDescriptionAdditional information
statementId
The statementId id.

Define this parameter in the request URI.

Response body formats

The CreditCardTransactions response

application/json, text/json

Sample:
{
  "List": [
    {
      "TransactionId": 1,
      "TransactionDateTime": "2025-01-26T07:00:08.4887693+00:00",
      "Description": "sample string 2",
      "CardNumber": "sample string 3",
      "TransactionAmount": 4.0,
      "OrginalAmount": 1.0,
      "Label": "sample string 5",
      "ExchangeRate": 1.0,
      "Country": "sample string 6",
      "AllocatedAmount": 1.0,
      "UnallocatedAmount": 1.0,
      "CurrencySymbol": "sample string 7",
      "CurrencyId": 8,
      "PrimaryCurrencySymbol": "sample string 9",
      "RemainingAmountToBeReconciled": 10.0
    },
    {
      "TransactionId": 1,
      "TransactionDateTime": "2025-01-26T07:00:08.4887693+00:00",
      "Description": "sample string 2",
      "CardNumber": "sample string 3",
      "TransactionAmount": 4.0,
      "OrginalAmount": 1.0,
      "Label": "sample string 5",
      "ExchangeRate": 1.0,
      "Country": "sample string 6",
      "AllocatedAmount": 1.0,
      "UnallocatedAmount": 1.0,
      "CurrencySymbol": "sample string 7",
      "CurrencyId": 8,
      "PrimaryCurrencySymbol": "sample string 9",
      "RemainingAmountToBeReconciled": 10.0
    },
    {
      "TransactionId": 1,
      "TransactionDateTime": "2025-01-26T07:00:08.4887693+00:00",
      "Description": "sample string 2",
      "CardNumber": "sample string 3",
      "TransactionAmount": 4.0,
      "OrginalAmount": 1.0,
      "Label": "sample string 5",
      "ExchangeRate": 1.0,
      "Country": "sample string 6",
      "AllocatedAmount": 1.0,
      "UnallocatedAmount": 1.0,
      "CurrencySymbol": "sample string 7",
      "CurrencyId": 8,
      "PrimaryCurrencySymbol": "sample string 9",
      "RemainingAmountToBeReconciled": 10.0
    }
  ],
  "ResponseInformation": {
    "Errors": [
      {
        "ErrorCode": "sample string 1",
        "Message": "sample string 2"
      },
      {
        "ErrorCode": "sample string 1",
        "Message": "sample string 2"
      },
      {
        "ErrorCode": "sample string 1",
        "Message": "sample string 2"
      }
    ],
    "Status": 0,
    "Links": [
      {
        "Rel": "sample string 1",
        "Href": "sample string 2",
        "Title": "sample string 3",
        "IsTemplated": true
      },
      {
        "Rel": "sample string 1",
        "Href": "sample string 2",
        "Title": "sample string 3",
        "IsTemplated": true
      },
      {
        "Rel": "sample string 1",
        "Href": "sample string 2",
        "Title": "sample string 3",
        "IsTemplated": true
      }
    ]
  }
}

application/xml, text/xml

Sample:
<CreditCardTransactions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SpendManagementApi.Models.Responses">
  <ResponseInformation xmlns="http://schemas.datacontract.org/2004/07/SpendManagementApi.Models.Common">
    <Errors>
      <ApiErrorDetail>
        <ErrorCode>sample string 1</ErrorCode>
        <Message>sample string 2</Message>
      </ApiErrorDetail>
      <ApiErrorDetail>
        <ErrorCode>sample string 1</ErrorCode>
        <Message>sample string 2</Message>
      </ApiErrorDetail>
      <ApiErrorDetail>
        <ErrorCode>sample string 1</ErrorCode>
        <Message>sample string 2</Message>
      </ApiErrorDetail>
    </Errors>
    <Links>
      <Link>
        <Href>sample string 2</Href>
        <IsTemplated>true</IsTemplated>
        <Rel>sample string 1</Rel>
        <Title>sample string 3</Title>
      </Link>
      <Link>
        <Href>sample string 2</Href>
        <IsTemplated>true</IsTemplated>
        <Rel>sample string 1</Rel>
        <Title>sample string 3</Title>
      </Link>
      <Link>
        <Href>sample string 2</Href>
        <IsTemplated>true</IsTemplated>
        <Rel>sample string 1</Rel>
        <Title>sample string 3</Title>
      </Link>
    </Links>
    <Status>Failure</Status>
  </ResponseInformation>
  <List xmlns:d2p1="http://schemas.datacontract.org/2004/07/SpendManagementApi.Models.Types">
    <d2p1:CreditCardTransaction>
      <d2p1:AllocatedAmount>1</d2p1:AllocatedAmount>
      <d2p1:CardNumber>sample string 3</d2p1:CardNumber>
      <d2p1:Country>sample string 6</d2p1:Country>
      <d2p1:CurrencyId>8</d2p1:CurrencyId>
      <d2p1:CurrencySymbol>sample string 7</d2p1:CurrencySymbol>
      <d2p1:Description>sample string 2</d2p1:Description>
      <d2p1:ExchangeRate>1</d2p1:ExchangeRate>
      <d2p1:Label>sample string 5</d2p1:Label>
      <d2p1:OrginalAmount>1</d2p1:OrginalAmount>
      <d2p1:PrimaryCurrencySymbol>sample string 9</d2p1:PrimaryCurrencySymbol>
      <d2p1:RemainingAmountToBeReconciled>10</d2p1:RemainingAmountToBeReconciled>
      <d2p1:TransactionAmount>4</d2p1:TransactionAmount>
      <d2p1:TransactionDateTime>2025-01-26T07:00:08.4887693+00:00</d2p1:TransactionDateTime>
      <d2p1:TransactionId>1</d2p1:TransactionId>
      <d2p1:UnallocatedAmount>1</d2p1:UnallocatedAmount>
    </d2p1:CreditCardTransaction>
    <d2p1:CreditCardTransaction>
      <d2p1:AllocatedAmount>1</d2p1:AllocatedAmount>
      <d2p1:CardNumber>sample string 3</d2p1:CardNumber>
      <d2p1:Country>sample string 6</d2p1:Country>
      <d2p1:CurrencyId>8</d2p1:CurrencyId>
      <d2p1:CurrencySymbol>sample string 7</d2p1:CurrencySymbol>
      <d2p1:Description>sample string 2</d2p1:Description>
      <d2p1:ExchangeRate>1</d2p1:ExchangeRate>
      <d2p1:Label>sample string 5</d2p1:Label>
      <d2p1:OrginalAmount>1</d2p1:OrginalAmount>
      <d2p1:PrimaryCurrencySymbol>sample string 9</d2p1:PrimaryCurrencySymbol>
      <d2p1:RemainingAmountToBeReconciled>10</d2p1:RemainingAmountToBeReconciled>
      <d2p1:TransactionAmount>4</d2p1:TransactionAmount>
      <d2p1:TransactionDateTime>2025-01-26T07:00:08.4887693+00:00</d2p1:TransactionDateTime>
      <d2p1:TransactionId>1</d2p1:TransactionId>
      <d2p1:UnallocatedAmount>1</d2p1:UnallocatedAmount>
    </d2p1:CreditCardTransaction>
    <d2p1:CreditCardTransaction>
      <d2p1:AllocatedAmount>1</d2p1:AllocatedAmount>
      <d2p1:CardNumber>sample string 3</d2p1:CardNumber>
      <d2p1:Country>sample string 6</d2p1:Country>
      <d2p1:CurrencyId>8</d2p1:CurrencyId>
      <d2p1:CurrencySymbol>sample string 7</d2p1:CurrencySymbol>
      <d2p1:Description>sample string 2</d2p1:Description>
      <d2p1:ExchangeRate>1</d2p1:ExchangeRate>
      <d2p1:Label>sample string 5</d2p1:Label>
      <d2p1:OrginalAmount>1</d2p1:OrginalAmount>
      <d2p1:PrimaryCurrencySymbol>sample string 9</d2p1:PrimaryCurrencySymbol>
      <d2p1:RemainingAmountToBeReconciled>10</d2p1:RemainingAmountToBeReconciled>
      <d2p1:TransactionAmount>4</d2p1:TransactionAmount>
      <d2p1:TransactionDateTime>2025-01-26T07:00:08.4887693+00:00</d2p1:TransactionDateTime>
      <d2p1:TransactionId>1</d2p1:TransactionId>
      <d2p1:UnallocatedAmount>1</d2p1:UnallocatedAmount>
    </d2p1:CreditCardTransaction>
  </List>
</CreditCardTransactions>
URI parameters
=
Headers | Add header
: Delete
Body
Samples:
Status
Headers
Body