> ## Documentation Index
> Fetch the complete documentation index at: https://docs-payment-merchant.keysecure.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Card Consumption Details

Retrieves details of a single consumption record.

## Request Headers

<ParamField header="Api-Key" type="string" required placeholder="your_api_key">
  apiKey (merchant credential, bound to IP whitelist)
</ParamField>

<ParamField header="Timestamp" type="string" required>
  Unix timestamp in milliseconds. The deviation from the server time must be within 60 seconds, and future timestamps are not accepted.
</ParamField>

<ParamField header="Access-Token" type="string" required placeholder="your_access_token">
  Login token (required for all interfaces except Get Token).
</ParamField>

<ParamField header="Content-Type" type="string" default="application/json">
  Fixed to `application/json`
</ParamField>

## Path Parameters

<ParamField path="consume_no" type="string" required>
  Consumption order number.
</ParamField>

## Response Parameters

<ResponseField name="code" type="number">
  Response status code. `0` indicates success.
</ResponseField>

<ResponseField name="msg" type="string">
  Response message.
</ResponseField>

<ResponseField name="data" type="object">
  Response data.

  <Expandable title="data">
    <ResponseField name="consume_no" type="string">Consumption order number</ResponseField>
    <ResponseField name="consume_relate_no" type="string">Consumption related order number</ResponseField>
    <ResponseField name="card_no" type="string">Card order number</ResponseField>
    <ResponseField name="cardholder_no" type="string">Cardholder order number</ResponseField>
    <ResponseField name="type" type="string">Consumption type, see \[Appendix - Constants]</ResponseField>
    <ResponseField name="amount" type="string">Amount</ResponseField>
    <ResponseField name="local_amount" type="string">Original amount</ResponseField>
    <ResponseField name="local_currency" type="string">Original currency</ResponseField>
    <ResponseField name="fee" type="string">Fee (sum of `fee_list`)</ResponseField>

    <ResponseField name="fee_list" type="object[]">
      Fee detail list.

      <Expandable title="fee_list">
        <ResponseField name="fee_type" type="string">Fee type, see \[Appendix - Constants]</ResponseField>
        <ResponseField name="amount" type="string">Fee amount</ResponseField>
      </Expandable>
    </ResponseField>

    <ResponseField name="merchant_info" type="object">
      Merchant information.

      <Expandable title="merchant_info">
        <ResponseField name="merchant_name" type="string">Merchant name</ResponseField>
        <ResponseField name="merchant_mcc" type="string">Merchant MCC</ResponseField>
        <ResponseField name="city" type="string">Merchant city</ResponseField>
        <ResponseField name="country" type="string">Merchant country</ResponseField>
      </Expandable>
    </ResponseField>

    <ResponseField name="status" type="string">Status, see \[Appendix - Constants] Common Status</ResponseField>
    <ResponseField name="time" type="number">Consumption time (Unix milliseconds)</ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```bash Request theme={null}
  curl --request GET \
    --url https://sandbox-openplatform.keysecure.io/open-api/v1/card/consume/CONSUME202605220001/info \
    --header 'Content-Type: application/json' \
    --header 'Api-Key: your_api_key' \
    --header 'Timestamp: 1716307200000' \
    --header 'Access-Token: your_access_token'
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  {
    "code": 0,
    "msg": "Success",
    "data": {
      "consume_no": "",
      "card_no": "",
      "type": "Consumption",
      "amount": "100.00",
      "local_currency": "USD",
      "fee": "1.00",
      "status": "Success",
      "time": 1716307200000
    }
  }
  ```
</ResponseExample>
